#include <C4Startup.h>
Public Member Functions | |
bool | Init () |
bool | InitFonts () |
CStdFont & | GetBlackFontByHeight (int32_t iHgt, float *pfZoom) |
Definition at line 48 of file C4Startup.h.
CStdFont & C4StartupGraphics::GetBlackFontByHeight | ( | int32_t | iHgt, |
float * | pfZoom | ||
) |
Definition at line 98 of file C4Startup.cpp.
References BookFont, BookFontCapt, BookFontTitle, BookSmallFont, and CStdFont::GetLineHeight().
Referenced by C4MapFolderData::CreateGUIElements().
bool C4StartupGraphics::Init | ( | ) |
Definition at line 40 of file C4Startup.cpp.
References barMainButtons, barMainButtonsDown, C4StartupAboutTitleCount, fctAboutTitles, fctBookScroll, fctContext, fctDlgPaper, fctMainButtons, fctMainButtonsDown, fctNetGetRef, fctOptionsIcons, fctOptionsTabClip, fctPlrPropBG, fctScenSelIcons, fctScenSelTitleOverlay, fctStartupLogo, Game, GraphicsResource, C4Facet::Hgt, C4Surface::Hgt, InitFonts(), C4GraphicsResource::ProgressIncrement, C4GraphicsResource::ProgressStart, C4FacetSurface::Set(), C4GUI::ScrollBarFacets::Set(), C4GUI::DynBarFacet::SetHorizontal(), C4Game::SetInitProgress(), sfctBookScroll, sfctBookScrollB, sfctBookScrollG, sfctBookScrollR, C4Facet::Surface, C4Facet::Wdt, and C4Surface::Wdt.
Referenced by C4Startup::EnsureLoaded().
bool C4StartupGraphics::InitFonts | ( | ) |
Definition at line 80 of file C4Startup.cpp.
References BookFont, BookFontCapt, BookFontTitle, BookSmallFont, C4FontLoader::C4FT_Caption, C4FontLoader::C4FT_Main, C4FontLoader::C4FT_MainSmall, C4FontLoader::C4FT_Title, Config, C4GraphicsResource::Files, FontLoader, Game, C4Config::General, GraphicsResource, C4FontLoader::InitFont(), LogFatal(), C4ConfigGeneral::RXFontName, C4ConfigGeneral::RXFontSize, and C4Game::SetInitProgress().
Referenced by Init(), and C4Application::SetGameFont().
C4GUI::DynBarFacet C4StartupGraphics::barMainButtons |
Definition at line 63 of file C4Startup.h.
Referenced by Init().
C4GUI::DynBarFacet C4StartupGraphics::barMainButtonsDown |
Definition at line 63 of file C4Startup.h.
Referenced by C4StartupMainDlg::C4StartupMainDlg(), and Init().
CStdFont C4StartupGraphics::BookFont |
Definition at line 77 of file C4Startup.h.
Referenced by C4StartupModsDlg::C4StartupModsDlg(), C4StartupOptionsDlg::C4StartupOptionsDlg(), C4StartupPlrPropertiesDlg::C4StartupPlrPropertiesDlg(), GetBlackFontByHeight(), InitFonts(), C4StartupScenSelDlg::ScenListItem::ScenListItem(), and C4StartupPlrSelDlg::PlayerListItem::SetSelectionInfo().
CStdFont C4StartupGraphics::BookFontCapt |
Definition at line 77 of file C4Startup.h.
Referenced by C4StartupScenSelDlg::C4StartupScenSelDlg(), GetBlackFontByHeight(), InitFonts(), and C4StartupPlrSelDlg::PlayerListItem::SetSelectionInfo().
CStdFont C4StartupGraphics::BookFontTitle |
Definition at line 77 of file C4Startup.h.
Referenced by C4StartupScenSelDlg::C4StartupScenSelDlg(), GetBlackFontByHeight(), and InitFonts().
CStdFont C4StartupGraphics::BookSmallFont |
Definition at line 77 of file C4Startup.h.
Referenced by C4StartupOptionsDlg::C4StartupOptionsDlg(), C4StartupPlrPropertiesDlg::C4StartupPlrPropertiesDlg(), C4StartupScenSelDlg::C4StartupScenSelDlg(), GetBlackFontByHeight(), and InitFonts().
C4FacetID C4StartupGraphics::fctAboutTitles |
Definition at line 56 of file C4Startup.h.
Referenced by Init().
C4FacetID C4StartupGraphics::fctBookScroll |
Definition at line 66 of file C4Startup.h.
Referenced by Init().
C4FacetID C4StartupGraphics::fctContext |
Definition at line 80 of file C4Startup.h.
Referenced by Init().
C4FacetID C4StartupGraphics::fctCrew |
Definition at line 70 of file C4Startup.h.
C4FacetID C4StartupGraphics::fctCrewClr |
Definition at line 70 of file C4Startup.h.
C4FacetID C4StartupGraphics::fctDlgPaper |
Definition at line 57 of file C4Startup.h.
Referenced by Init().
C4FacetID C4StartupGraphics::fctMainButtons |
Definition at line 62 of file C4Startup.h.
Referenced by Init().
C4FacetID C4StartupGraphics::fctMainButtonsDown |
Definition at line 62 of file C4Startup.h.
Referenced by Init().
C4FacetID C4StartupGraphics::fctNetGetRef |
Definition at line 86 of file C4Startup.h.
Referenced by Init(), C4StartupModsListEntry::MakeInfoEntry(), and C4StartupNetListEntry::SetRefQuery().
C4FacetID C4StartupGraphics::fctOptionsIcons |
Definition at line 83 of file C4Startup.h.
Referenced by C4StartupOptionsDlg::C4StartupOptionsDlg(), C4StartupScenSelDlg::C4StartupScenSelDlg(), and Init().
C4FacetID C4StartupGraphics::fctOptionsTabClip |
Definition at line 83 of file C4Startup.h.
Referenced by C4StartupOptionsDlg::C4StartupOptionsDlg(), C4StartupScenSelDlg::C4StartupScenSelDlg(), and Init().
C4FacetID C4StartupGraphics::fctPlrPropBG |
Definition at line 55 of file C4Startup.h.
Referenced by C4StartupPlrPropertiesDlg::DrawElement(), and Init().
C4FacetID C4StartupGraphics::fctScenSelIcons |
Definition at line 73 of file C4Startup.h.
Referenced by Init(), and C4ScenarioListLoader::Entry::Load().
C4FacetID C4StartupGraphics::fctScenSelTitleOverlay |
Definition at line 75 of file C4Startup.h.
Referenced by Init().
C4FacetID C4StartupGraphics::fctStartupLogo |
Definition at line 59 of file C4Startup.h.
Referenced by C4StartupMainDlg::DrawElement(), and Init().
C4GUI::ScrollBarFacets C4StartupGraphics::sfctBookScroll |
Definition at line 67 of file C4Startup.h.
Referenced by Init().
C4GUI::ScrollBarFacets C4StartupGraphics::sfctBookScrollB |
Definition at line 67 of file C4Startup.h.
Referenced by Init().
C4GUI::ScrollBarFacets C4StartupGraphics::sfctBookScrollG |
Definition at line 67 of file C4Startup.h.
Referenced by Init().
C4GUI::ScrollBarFacets C4StartupGraphics::sfctBookScrollR |
Definition at line 67 of file C4Startup.h.
Referenced by Init().