#include "../Include/FlyLegacy.h"
#include "../Include/Utility.h"
#include "../Include/Globals.h"
#include <vector>
Go to the source code of this file.
Classes | |
| struct | SFontCharBit |
| class | CBitmappedFontChar |
| class | CBitmappedFont |
| struct | SDefaultFont |
Functions | |
| int | LoadFont (SFont *font) |
| void | FreeFont (SFont *font) |
| void | DrawChar (SSurface *surface, SFont *font, int x, int y, unsigned int rgbColour, char ascii) |
| void | DrawText (SSurface *surface, SFont *font, int x, int y, unsigned int rgbColour, const char *text) |
| void | DrawTextC (SSurface *surface, SFont *font, int x, int y, unsigned int rgbColour, const char *text) |
| void | DrawTextR (SSurface *surface, SFont *font, int x, int y, unsigned int rgbColour, const char *text) |
| int | TextHeight (SFont *font, const char *text) |
| int | TextWidth (SFont *font, const char *text) |
| int | CharHeight (SFont *font, char c) |
| int | CharWidth (SFont *font, char c) |
| int | MaxCharHeight (SFont *font) |
| int | MaxCharWidth (SFont *font) |
Variables | |
| SDefaultFont | defaultFonts [] |
Definition in file Fonts.cpp.
|
||||||||||||
|
Definition at line 635 of file Fonts.cpp. References CBitmappedFont::CharHeight(), and SFont::font. |
|
||||||||||||
|
Definition at line 652 of file Fonts.cpp. References CBitmappedFont::CharWidth(), and SFont::font. |
|
||||||||||||||||||||||||||||
|
Definition at line 522 of file Fonts.cpp. References CBitmappedFontChar::Draw(), SFont::font, and CBitmappedFont::GetAscii(). Referenced by CBKADFKR87Gauge::Draw(). |
|
||||||||||||||||||||||||||||
|
Definition at line 540 of file Fonts.cpp. References CBitmappedFontChar::Draw(), SFont::font, CBitmappedFont::GetAscii(), CBitmappedFontChar::GetWidth(), and CBitmappedFont::space. Referenced by CBKNavComKX155Gauge::Draw(), CBKXPDRKT76Gauge::Draw(), CBKADFKR87Gauge::Draw(), CFuiPopupMenu::Draw(), CFuiCheckbox::Draw(), CFuiRadioButton::Draw(), CFuiLabel::Draw(), CFuiTextField::Draw(), CFuiGroupBox::Draw(), DrawTextC(), and DrawTextR(). |
|
||||||||||||||||||||||||||||
|
Definition at line 566 of file Fonts.cpp. References DrawText(), SFont::font, and CBitmappedFont::TextWidth(). Referenced by CDefaultSuperTile::CDefaultSuperTile(), CQuarterGlobeTile::Create(), CDetailTile::CreateFanGeometry(), CDetailTile::CreateStripGeometry(), CBKADFKR87Gauge::Draw(), CFuiWindowTitle::Draw(), CFuiButton::Draw(), CFuiLabel::Draw(), InitExitScreen(), and InitSplashScreen(). |
|
||||||||||||||||||||||||||||
|
Definition at line 583 of file Fonts.cpp. References DrawText(), SFont::font, and CBitmappedFont::TextWidth(). Referenced by CBKNavComKX155Gauge::Draw(), CBKADFKR87Gauge::Draw(), and CFuiLabel::Draw(). |
|
|
Definition at line 514 of file Fonts.cpp. References SFont::font. Referenced by cleanup_fonts(). |
|
|
Definition at line 465 of file Fonts.cpp. References SDefaultFont::end, CBitmappedFont::end, SFont::font, SFont::fontName, SDefaultFont::h, CBitmappedFont::h, CBitmappedFont::LoadRaw(), CBitmappedFont::rawFilename, SDefaultFont::rawFilename, SDefaultFont::space, CBitmappedFont::space, SDefaultFont::start, CBitmappedFont::start, SDefaultFont::w, and CBitmappedFont::w. Referenced by InitFonts(). |
|
|
Definition at line 670 of file Fonts.cpp. References SFont::font, and CBitmappedFont::MaxCharHeight(). Referenced by CFuiLabel::Draw(). |
|
|
Definition at line 689 of file Fonts.cpp. References SFont::font, and CBitmappedFont::MaxCharWidth(). |
|
||||||||||||
|
Definition at line 601 of file Fonts.cpp. References SFont::font, and CBitmappedFont::TextHeight(). Referenced by CBKADFKR87Gauge::Draw(), CFuiWindowTitle::Draw(), and CFuiButton::Draw(). |
|
||||||||||||
|
Definition at line 619 of file Fonts.cpp. References SFont::font, and CBitmappedFont::TextWidth(). Referenced by CFuiCheckbox::Draw(), CFuiRadioButton::Draw(), and CFuiLabel::Draw(). |
|
|
Initial value:
{
{"ART\\FTASCI10.RAW", 272, 188, 33, 255, 5},
{"ART\\FTASCM10.RAW", 224, 224, 33, 255, 5},
{"ART\\FTDIGI9.RAW", 72, 110, 33, 133, 6},
{"ART\\FTDIGI9B.RAW", 69, 41, 45, 90, 6},
{"ART\\FTDIGI9D.RAW", 69, 41, 45, 90, 6},
{"ART\\FTDIGI13.RAW", 97, 130, 33, 134, 8},
{"ART\\FTDOS12.RAW", 221, 79, 33, 126, 7},
{"ART\\FTMICRO5.RAW", 100, 100, 33, 126, 4},
{"ART\\FTMNO14B.RAW", 193, 97, 33, 126, 12},
{"ART\\FTMONO12.RAW", 222, 79, 33, 126, 7},
{"ART\\FTNORM14.RAW", 275, 147, 33, 126, 14},
{"ART\\FTNORM28.RAW", 463, 238, 33, 126, 22},
{"ART\\FTSMAL10.RAW", 162, 73, 33, 127, 8},
{"ART\\FTTHIN24.RAW", 215, 151, 33, 126, 6},
{"ART\\FTTINY7.RAW", 126, 68, 33, 126, 5},
{"ART\\FTTINY7W.RAW", 126, 68, 33, 126, 5},
}
|
|
|
Documentation generated by
|