1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-10 03:55:20 +01:00

Formspec: remove gotText(wstr) remains

These functions are now unused (no caller).
This commit is contained in:
SmallJoker
2025-05-28 14:44:24 +02:00
committed by sfan5
parent fcddac6c07
commit 660b1cf9bf
3 changed files with 0 additions and 22 deletions

View File

@@ -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()
{

View File

@@ -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;