Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/core4/src/ceguilua/ceguilua-0.5.0/package/FontManager.pkg @ 5739

Last change on this file since 5739 was 2710, checked in by rgrieder, 16 years ago

Merged buildsystem3 containing buildsystem2 containing Adi's buildsystem branch back to the trunk.
Please update the media directory if you were not using buildsystem3 before.

  • 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.