GUIEngine specific implementation of TextDest used within guiFormSpecMenu. More...
#include <guiEngine.h>
Inheritance diagram for TextDestGuiEngine:
Collaboration diagram for TextDestGuiEngine:Public Member Functions | |
| TextDestGuiEngine (GUIEngine *engine) | |
| default constructor | |
| void | gotText (const StringMap &fields) |
| receive fields transmitted by guiFormSpecMenu | |
| void | gotText (const std::wstring &text) |
| receive text/events transmitted by guiFormSpecMenu | |
Public Member Functions inherited from TextDest | |
| virtual | ~TextDest ()=default |
Private Attributes | |
| GUIEngine * | m_engine = nullptr |
| target to transmit data to | |
Additional Inherited Members | |
Public Attributes inherited from TextDest | |
| std::string | m_formname |
|
inline |
default constructor
| engine | the engine data is transmitted for further processing |
|
virtual |
receive text/events transmitted by guiFormSpecMenu
| text | textual representation of event |
Reimplemented from TextDest.
References GUIEngine::getScriptIface(), ScriptApiMainMenu::handleMainMenuEvent(), m_engine, and wide_to_utf8().
Here is the call graph for this function:
|
virtual |
receive fields transmitted by guiFormSpecMenu
| fields | map containing formspec field elements currently active |
Implements TextDest.
References GUIEngine::getScriptIface(), ScriptApiMainMenu::handleMainMenuButtons(), and m_engine.
Here is the call graph for this function:
|
private |