| 1 | /*********************************************************************** | 
|---|
| 2 |         WindowManager | 
|---|
| 3 | ***********************************************************************/ | 
|---|
| 4 | class 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 |  | 
|---|
| 11 |     void writeWindowLayoutToStream(string window, OutStream& out, bool writeParent=false) const; | 
|---|
| 12 |     void writeWindowLayoutToStream(const Window& window, OutStream& out, bool writeParent=false) const; | 
|---|
| 13 |  | 
|---|
| 14 |         void destroyWindow(string name); | 
|---|
| 15 |         void destroyWindow(Window* window); | 
|---|
| 16 |         void destroyAllWindows(); | 
|---|
| 17 |  | 
|---|
| 18 |         tolua_throws|CEGUI::UnknownObjectException,nil| Window* getWindow(string name) const; | 
|---|
| 19 |         bool isWindowPresent(string name) const; | 
|---|
| 20 |  | 
|---|
| 21 |         bool isDeadPoolEmpty() const; | 
|---|
| 22 |         void cleanDeadPool(); | 
|---|
| 23 |  | 
|---|
| 24 |     void renameWindow(Window* window, string  new_name); | 
|---|
| 25 |     void renameWindow(string window, string new_name); | 
|---|
| 26 |  | 
|---|
| 27 |     WindowIterator getIterator() const; | 
|---|
| 28 |  | 
|---|
| 29 |     static void setDefaultResourceGroup(string resourceGroup); | 
|---|
| 30 |     static string& getDefaultResourceGroup(); | 
|---|
| 31 | }; | 
|---|