Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/ceguilua/ceguilua-0.6.0/package/WindowManager.pkg @ 2608

Last change on this file since 2608 was 2608, checked in by rgrieder, 15 years ago

Large cleanup in CEGUILua:

  • Removed the heavy 1.7MB bind files and added the small pkg files from the CEGUI source instead
  • Those pkg files get copied version incrementally (starting with 0.5.0) to the binary dir. That saves a lot of files when having 4 different versions.
  • Added support for CEGUI 0.6.0 and 0.6.2
  • Added library info files
  • CEGUILua 0.5.0 finally supports Lua 5.1 too That means all version support both Lua 5.0 and 5.1
  • Added unified diffs with the changes to the CEGUILua source
  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1/***********************************************************************
2        WindowManager
3***********************************************************************/
4class WindowManager
5{
6        static WindowManager& getSingleton();
7
8        tolua_throws|CEGUI::AlreadyExistsException,nil| Window* createWindow(string type, string name="");
9        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| Window* loadWindowLayout(string filename, string name_prefix="", string resourcegroup="");
10        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| Window* loadWindowLayout(string filename, bool generateRandomPrefix);
11
12    void writeWindowLayoutToStream(string window, OutStream& out, bool writeParent=false) const;
13    void writeWindowLayoutToStream(const Window& window, OutStream& out, bool writeParent=false) const;
14
15        void destroyWindow(string name);
16        void destroyWindow(Window* window);
17        void destroyAllWindows();
18
19        tolua_throws|CEGUI::UnknownObjectException,nil| Window* getWindow(string name) const;
20        bool isWindowPresent(string name) const;
21
22        bool isDeadPoolEmpty() const;
23        void cleanDeadPool();
24
25    void renameWindow(Window* window, string  new_name);
26    void renameWindow(string window, string new_name);
27
28    WindowIterator getIterator() const;
29
30    static void setDefaultResourceGroup(string resourceGroup);
31    static string& getDefaultResourceGroup();
32};
Note: See TracBrowser for help on using the repository browser.