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 | requestScreenshot () |
| Request a screenshot from the main menu. | |
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 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:
|
virtual |
Request a screenshot from the main menu.
Reimplemented from TextDest.
References m_engine, and GUIEngine::requestScreenshot().
Here is the call graph for this function:
|
private |
target to transmit data to
Referenced by gotText(), and requestScreenshot().