#include <C4StartupScenSelDlg.h>
Public Member Functions | |
C4MapFolderData ()=default | |
~C4MapFolderData () | |
void | Clear () |
bool | Load (C4Group &hGroup, C4ScenarioListLoader::Folder *pScenLoaderFolder) |
void | CompileFunc (StdCompiler *pComp) |
void | CreateGUIElements (C4StartupScenSelDlg *pMainDlg, C4GUI::Window &rContainer) |
void | ResetSelection () |
C4GUI::TextWindow * | GetSelectionInfoBox () const |
C4ScenarioListLoader::Entry * | GetSelectedEntry () const |
Protected Member Functions | |
void | OnButtonScenario (C4GUI::Control *pEl) |
Friends | |
class | C4StartupScenSelDlg |
Definition at line 277 of file C4StartupScenSelDlg.h.
|
default |
|
inline |
Definition at line 349 of file C4StartupScenSelDlg.h.
References Clear().
void C4MapFolderData::Clear | ( | ) |
Definition at line 91 of file C4StartupScenSelDlg.cpp.
References C4FacetSurface::Clear(), and C4Rect::Set().
Referenced by Load(), and ~C4MapFolderData().
void C4MapFolderData::CompileFunc | ( | StdCompiler * | pComp | ) |
Definition at line 184 of file C4StartupScenSelDlg.cpp.
References StdCompiler::isDeserializer(), mkArrayAdaptMap(), mkNamingAdapt(), mkNamingCountAdapt(), mkPtrAdaptNoNull(), and StdCompiler::Value().
void C4MapFolderData::CreateGUIElements | ( | C4StartupScenSelDlg * | pMainDlg, |
C4GUI::Window & | rContainer | ||
) |
Definition at line 300 of file C4StartupScenSelDlg.cpp.
References C4GUI::Container::AddElement(), C4StartupScenSel_TitleOverlayMargin, C4StartupScenSel_TitlePictureHgt, C4StartupScenSel_TitlePicturePadding, C4StartupScenSel_TitlePictureWdt, C4GUI::Element::ClientPos2ScreenPos(), Config, FormatString(), C4Config::General, C4Startup::Get(), C4StartupGraphics::GetBlackFontByHeight(), C4GUI::Element::GetBounds(), C4GUI::Window::GetClientRect(), StdStrBuf::getData(), C4GUI::Container::GetFirst(), C4GraphicsResource::GetFontByHeight(), C4Startup::Graphics, GraphicsResource, LoadResStr(), C4ConfigGeneral::MissionAccess, C4StartupScenSelDlg::OnButtonScenario(), C4StartupScenSelDlg::SetBackground(), C4GUI::TextWindow::SetDecoration(), C4GUI::Button::SetText(), C4GUI::Element::SetToolTip(), SIsModule(), C4Rect::x, and C4Rect::y.
|
inline |
Definition at line 369 of file C4StartupScenSelDlg.h.
|
inline |
Definition at line 368 of file C4StartupScenSelDlg.h.
bool C4MapFolderData::Load | ( | C4Group & | hGroup, |
C4ScenarioListLoader::Folder * | pScenLoaderFolder | ||
) |
Definition at line 111 of file C4StartupScenSelDlg.cpp.
References C4Draw::Blit(), C4CFN_MapFolderBG, C4CFN_MapFolderData, C4CFN_ScriptStringTbl, C4FCT_Full, Clear(), Config, C4FacetSurface::Create(), DebugLogF(), C4ScenarioListLoader::Folder::FindEntryByName(), C4Config::General, C4Group::GetName(), C4GUI::GetScreenHgt(), C4GUI::GetScreenWdt(), C4Facet::Hgt, C4ConfigGeneral::LanguageEx, C4FacetSurface::Load(), C4Language::LoadComponentHost(), C4Group::LoadEntryString(), mkNamingAdapt(), pDraw, C4LangStringTable::ReplaceStrings(), C4Surface::SavePNG(), C4Facet::Surface, C4Facet::Wdt, and C4Surface::Wdt.
|
protected |
Definition at line 378 of file C4StartupScenSelDlg.cpp.
Referenced by C4StartupScenSelDlg::OnButtonScenario().
void C4MapFolderData::ResetSelection | ( | ) |
Definition at line 390 of file C4StartupScenSelDlg.cpp.
Referenced by C4StartupScenSelDlg::DeselectAll().
|
friend |
Definition at line 359 of file C4StartupScenSelDlg.h.