#include <font.h>
Collaboration diagram for FONT:

Public Member Functions | |
| FONT () | |
| ~FONT () | |
| void | Load () |
| void | Print (float px, float py, const char *string, int set, int size, float opacity) |
| void | Print (float px, float py, const char *string, int set, int size, float r, float g, float b) |
| void | Print (float px, float py, const char *string, int set, int size, float r, float g, float b, float trans) |
| float | Width (const char *str, int set, int size) |
| float | Height (const char *str, int set, int size) |
Private Member Functions | |
| void | GetSizing (int size, int &sx, int &sy) |
Private Attributes | |
| GLuint | base |
| TEXTURE_HANDLE | texture |
| ofstream | error_log |
| int | spacing [2][128] |
| bool | loaded |
Definition at line 42 of file font.h.
|
|
Definition at line 19 of file font.cpp. References error_log, SETTINGS::GetSettingsDir(), loaded, and settings. |
|
|
Definition at line 26 of file font.cpp. References base, error_log, loaded, texture, TEXTURE_HANDLE::Unload(), and verbose_output. |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
Definition at line 397 of file font.cpp. References GetSizing(). Referenced by VGUI::Toggle::Draw(), VGUI::TextBox::Draw(), VGUI::Slider::Draw(), VGUI::Label::Draw(), VGUI::Button::Draw(), VGUI::Wheel2< wheel_t1, wheel_t2 >::Draw(), and VGUI::Wheel< wheel_t >::Draw(). |
|
|
Definition at line 45 of file font.cpp. References base, SETTINGS::GetFullDataPath(), loaded, settings, spacing, texture, and TEXTURE_HANDLE::Unload(). Referenced by ChangeDisplay(), and InitGL(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 220 of file font.cpp. References TEXTURE_HANDLE::Activate(), base, GetSizing(), and texture. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 215 of file font.cpp. References Print(). |
|
||||||||||||||||||||||||||||
|
||||||||||||||||
|
Definition at line 320 of file font.cpp. References GetSizing(), and spacing. Referenced by VGUI::Button::Button(), VGUI::Toggle::Draw(), VGUI::TextBox::Draw(), VGUI::Slider::Draw(), VGUI::Page::Draw(), VGUI::Label::Draw(), VGUI::Calibrate::Draw(), VGUI::Button::Draw(), VGUI::Wheel2< wheel_t1, wheel_t2 >::Draw(), VGUI::Wheel< wheel_t >::Draw(), VGUI::TextBox::MousePress(), VGUI::TextBox::MouseRelease(), VGUI::TextBox::SetSpacing(), and VGUI::TextBox::TextBox(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6