Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/ceguilua/ceguilua-0.5.0/package/FontManager.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: 793 bytes
Line 
1/***********************************************************************
2        FontManager
3***********************************************************************/
4class FontManager
5{
6        static FontManager& getSingleton();
7
8        tolua_throws|CEGUI::AlreadyExistsException,error|CEGUI::InvalidRequestException,error| Font* createFont(string type, string name, string fontname, string resourcegroup="");
9        tolua_throws|CEGUI::AlreadyExistsException,error|CEGUI::InvalidRequestException,error| Font* createFont(string filename, string resourcegroup="");
10
11        void destroyFont(string name);
12        void destroyFont(Font* font);
13        void destroyAllFonts();
14
15        bool isFontPresent(string name) const;
16        Font* getFont(string name) const;
17
18        void notifyScreenResolution(const Size& sz);
19
20    FontIterator getIterator() const;
21};
Note: See TracBrowser for help on using the repository browser.