1
0
Fork 0
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:
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;