~ubuntu-branches/debian/wheezy/cegui-mk2/wheezy

« back to all changes in this revision

Viewing changes to cegui/src/ScriptingModules/LuaScriptModule/package/WindowManager.pkg

  • Committer: Package Import Robot
  • Author(s): Muammar El Khatib
  • Date: 2011-10-13 12:43:12 UTC
  • mfrom: (10.1.5 experimental)
  • Revision ID: package-import@ubuntu.com-20111013124312-qch0o3fayloxgxu3
Tags: 0.7.5-7
Moved to unstable. (Closes: #645109)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***********************************************************************
 
2
        WindowManager
 
3
***********************************************************************/
 
4
class WindowManager : public EventSet
 
5
{
 
6
        static WindowManager& getSingleton();
 
7
 
 
8
        tolua_throws|CEGUI::AlreadyExistsException,nil|CEGUI::InvalidRequestException,nil| Window* createWindow(utf8string type, utf8string name="");
 
9
        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| Window* loadWindowLayout(utf8string filename, utf8string name_prefix="", utf8string resourcegroup="");
 
10
 
 
11
    void writeWindowLayoutToStream(utf8string window, OutStream& out, bool writeParent=false) const;
 
12
    void writeWindowLayoutToStream(const Window& window, OutStream& out, bool writeParent=false) const;
 
13
 
 
14
    void saveWindowLayout(utf8string window, utf8string filename, bool writeParent = false) const;
 
15
    void saveWindowLayout(const Window& window, utf8string filename, bool writeParent = false) const;
 
16
 
 
17
        void destroyWindow(utf8string name);
 
18
        void destroyWindow(Window* window);
 
19
        void destroyAllWindows();
 
20
 
 
21
        tolua_throws|CEGUI::UnknownObjectException,nil| Window* getWindow(utf8string name) const;
 
22
        bool isWindowPresent(utf8string name) const;
 
23
 
 
24
        bool isDeadPoolEmpty() const;
 
25
        void cleanDeadPool();
 
26
 
 
27
    void renameWindow(Window* window, utf8string  new_name);
 
28
    void renameWindow(utf8string window, utf8string new_name);
 
29
 
 
30
    WindowIterator getIterator() const;
 
31
 
 
32
    static void setDefaultResourceGroup(utf8string resourceGroup);
 
33
    static string& getDefaultResourceGroup();
 
34
 
 
35
    void lock();
 
36
    void unlock();
 
37
    bool isLocked() const;
 
38
 
 
39
    tolua_outside EventIterator ceguiLua_getEventIterator @ getEventIterator() const;
 
40
};