mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
Formspec: remove gotText(wstr) remains
These functions are now unused (no caller).
This commit is contained in:
parent
fcddac6c07
commit
660b1cf9bf
3 changed files with 0 additions and 22 deletions
|
@ -40,12 +40,6 @@ void TextDestGuiEngine::gotText(const StringMap &fields)
|
|||
m_engine->getScriptIface()->handleMainMenuButtons(fields);
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
void TextDestGuiEngine::gotText(const std::wstring &text)
|
||||
{
|
||||
m_engine->getScriptIface()->handleMainMenuEvent(wide_to_utf8(text));
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
MenuTextureSource::~MenuTextureSource()
|
||||
{
|
||||
|
|
|
@ -61,12 +61,6 @@ public:
|
|||
*/
|
||||
void gotText(const StringMap &fields);
|
||||
|
||||
/**
|
||||
* receive text/events transmitted by guiFormSpecMenu
|
||||
* @param text textual representation of event
|
||||
*/
|
||||
void gotText(const std::wstring &text);
|
||||
|
||||
private:
|
||||
/** target to transmit data to */
|
||||
GUIEngine *m_engine = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue