1 //////////////////////////////////////////////////////////////////////////////// 2 // Scorched3D (c) 2000-2011 3 // 4 // This file is part of Scorched3D. 5 // 6 // Scorched3D is free software; you can redistribute it and/or modify 7 // it under the terms of the GNU General Public License as published by 8 // the Free Software Foundation; either version 2 of the License, or 9 // (at your option) any later version. 10 // 11 // Scorched3D is distributed in the hope that it will be useful, 12 // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 // GNU General Public License for more details. 15 // 16 // You should have received a copy of the GNU General Public License along 17 // with this program; if not, write to the Free Software Foundation, Inc., 18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 19 //////////////////////////////////////////////////////////////////////////////// 20 21 #if !defined(AFX_GLWFONT_H__0BCF1F78_3D58_47EC_8B98_EB39AB3CADD4__INCLUDED_) 22 #define AFX_GLWFONT_H__0BCF1F78_3D58_47EC_8B98_EB39AB3CADD4__INCLUDED_ 23 24 #include <GLEXT/GLFont2d.h> 25 26 class GLWFont 27 { 28 public: 29 static GLWFont *instance(); 30 31 static Vector widgetFontColor; 32 static Vector disabledWidgetFontColor; 33 getGameFont()34 GLFont2d *getGameFont() { return gameFont_; } getGameShadowFont()35 GLFont2d *getGameShadowFont() { return gameShadowFont_; } getCourierFont()36 GLFont2d *getCourierFont() { return courierFont_; } getNormalFont()37 GLFont2d *getNormalFont() { return normalFont_; } getNormalShadowFont()38 GLFont2d *getNormalShadowFont() { return normalShadowFont_; } 39 40 void displayCharacterInfo(); 41 42 protected: 43 static GLWFont *instance_; 44 GLFont2d *gameFont_; 45 GLFont2d *gameShadowFont_; 46 GLFont2d *courierFont_; 47 GLFont2d *normalFont_; 48 GLFont2d *normalShadowFont_; 49 50 private: 51 GLWFont(); 52 virtual ~GLWFont(); 53 54 }; 55 56 #endif // !defined(AFX_GLWFONT_H__0BCF1F78_3D58_47EC_8B98_EB39AB3CADD4__INCLUDED_) 57