Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 3, 2010, 3:56:34 PM (14 years ago)
Author:
rgrieder
Message:

Added XML loadable wrapper class that can load GUI sheets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamestate/src/libraries/core/GUIManager.cc

    r6417 r6441  
    208208    }
    209209
     210    /** Loads a GUI sheet by Lua script
     211    @param name
     212        The name of the GUI (like the script name, but without the extension)
     213    */
     214    void GUIManager::loadGUI(const std::string& name)
     215    {
     216        this->executeCode("loadGUI(\"" + name + "\")");
     217    }
     218
    210219    /**
    211220    @brief
Note: See TracChangeset for help on using the changeset viewer.