Enumerations | |
enum | { Ico_Extended = 0x100 , Ico_Controller = 0x200 } |
enum | Icons { Ico_Empty = -2 , Ico_None = -1 , Ico_Clonk = 0 , Ico_Notify = 1 , Ico_Wait = 2 , Ico_NetWait = 3 , Ico_Host = 4 , Ico_Client = 5 , Ico_UnknownClient = 6 , Ico_UnknownPlayer = 7 , Ico_ObserverClient = 8 , Ico_Player = 9 , Ico_Resource = 10 , Ico_Error = 11 , Ico_SavegamePlayer = 12 , Ico_Save = 13 , Ico_Active = 14 , Ico_Options = 14 , Ico_Editor = 14 , Ico_Inactive = 15 , Ico_Kick = 16 , Ico_Loading = 17 , Ico_Confirm = 18 , Ico_Team = 19 , Ico_AddPlr = 20 , Ico_Record = 21 , Ico_Chart = 21 , Ico_Gfx = 22 , Ico_Sound = 23 , Ico_Keyboard = 24 , Ico_Gamepad = 25 , Ico_MouseOff = 26 , Ico_MouseOn = 27 , Ico_Help = 28 , Ico_Definition = 29 , Ico_GameRunning = 30 , Ico_Lobby = 31 , Ico_RuntimeJoin = 32 , Ico_Exit = 33 , Ico_Close = 34 , Ico_Rank1 = 35 , Ico_Rank2 = 36 , Ico_Rank3 = 37 , Ico_Rank4 = 38 , Ico_Rank5 = 39 , Ico_Rank6 = 40 , Ico_Rank7 = 41 , Ico_Rank8 = 42 , Ico_Rank9 = 43 , Ico_OfficialServer = 44 , Ico_Surrender = 45 , Ico_MeleeLeague = 46 , Ico_Ready = 47 , Ico_Star = 48 , Ico_Disconnect = 49 , Ico_View = 50 , Ico_Ignored = 52 , Ico_Ex_RecordOff = Ico_Extended + 0 , Ico_Ex_RecordOn = Ico_Extended + 1 , Ico_Ex_NormalCrew = Ico_Extended + 3 , Ico_Ex_LeagueOff = Ico_Extended + 4 , Ico_Ex_LeagueOn = Ico_Extended + 5 , Ico_Ex_InternetOff = Ico_Extended + 6 , Ico_Ex_InternetOn = Ico_Extended + 7 , Ico_Ex_League = Ico_Extended + 8 , Ico_Ex_NormalCrewGray = Ico_Extended + 10 , Ico_Ex_Locked = Ico_Extended + 11 , Ico_Ex_Unlocked = Ico_Extended + 12 , Ico_Ex_LockedFrontal = Ico_Extended + 13 , Ico_Ex_Update = Ico_Extended + 14 , Ico_Ex_Chat = Ico_Extended + 15 , Ico_Ex_GameList = Ico_Extended + 16 , Ico_Ex_Comment = Ico_Extended + 17 , Ico_Controller_A = Ico_Controller + 0 , Ico_Controller_B = Ico_Controller + 3 , Ico_Controller_X = Ico_Controller + 17 , Ico_Controller_Y = Ico_Controller + 18 , Ico_Controller_Back = Ico_Controller + 1 , Ico_Controller_Start = Ico_Controller + 16 , Ico_Controller_Dpad = Ico_Controller + 6 , Ico_Controller_DpadLeft = Ico_Controller + 5 , Ico_Controller_DpadRight = Ico_Controller + 7 , Ico_Controller_DpadDown = Ico_Controller + 4 , Ico_Controller_DpadUp = Ico_Controller + 8 , Ico_Controller_LeftShoulder = Ico_Controller + 9 , Ico_Controller_RightShoulder = Ico_Controller + 12 , Ico_Controller_LeftTrigger = Ico_Controller + 11 , Ico_Controller_RightTrigger = Ico_Controller + 14 , Ico_Controller_LeftStick = Ico_Controller + 10 , Ico_Controller_RightStick = Ico_Controller + 13 } |
Functions | |
bool | ExpandHotkeyMarkup (StdStrBuf &sText, uint32_t &rcHotkey, bool for_tooltip) |
DWORD | MakeColorReadableOnBlack (DWORD &rdwClr) |
void | GUISound (const char *szSound) |
bool | IsActive () |
bool | IsExclusive () |
int32_t | GetScreenWdt () |
int32_t | GetScreenHgt () |
float | GetZoom () |
void | MouseMove (int32_t iButton, int32_t iX, int32_t iY, DWORD dwKeyParam, class C4Viewport *pVP) |
bool | IsWholeWordSpacer (unsigned char c) |
Variables | |
Screen | TheScreen |
class C4GUI::DlgCallback |
Class Members | ||
---|---|---|
typedef bool(* | Bool2Func | |
typedef bool(* | BoolFunc | |
typedef void(* | ContextClickFunc | |
typedef ContextMenu *(* | ContextFunc | |
typedef void(* | Func |
class C4GUI::DlgCallbackEx |
enum C4GUI::Icons |
Definition at line 637 of file C4Gui.h.
bool C4GUI::ExpandHotkeyMarkup | ( | StdStrBuf & | sText, |
uint32_t & | rcHotkey, | ||
bool | for_tooltip | ||
) |
Definition at line 38 of file C4Gui.cpp.
References StdStrBuf::AppendChar(), StdStrBuf::AppendFormat(), StdStrBuf::getData(), GetNextCharacter(), Inside(), LoadResStr(), LogF(), and StdStrBuf::Take().
Referenced by C4GUI::CheckBox::CheckBox(), C4GUI::ContextMenu::Entry::Entry(), C4GUI::IconButton::IconButton(), C4GUI::Button::SetText(), C4GUI::Label::SetText(), C4GUI::Tabular::Sheet::SetTitle(), and C4GUI::Tabular::Sheet::Sheet().
|
inline |
Definition at line 2825 of file C4Gui.h.
References C4GUI::Element::GetBounds(), C4GUI::Screen::GetScreenS(), and C4Rect::Hgt.
Referenced by C4GraphicsSystem::DoSaveScreenshot(), C4Game::InitFullscreenComponents(), C4MapFolderData::Load(), C4Application::PreInit(), C4ViewportList::RecalculateViewports(), and C4Game::SaveGameTitle().
|
inline |
Definition at line 2824 of file C4Gui.h.
References C4GUI::Element::GetBounds(), C4GUI::Screen::GetScreenS(), and C4Rect::Wdt.
Referenced by C4GraphicsSystem::DoSaveScreenshot(), C4UpperBoard::Draw(), C4Game::InitFullscreenComponents(), IsSmallInputQuery(), C4MapFolderData::Load(), C4Application::PreInit(), C4ViewportList::RecalculateViewports(), and C4Game::SaveGameTitle().
|
inline |
Definition at line 2831 of file C4Gui.h.
References C4GUI::Screen::GetScreenS(), and C4GUI::Screen::GetZoom().
Referenced by C4GUI::Screen::SetMouseInGUI().
void C4GUI::GUISound | ( | const char * | szSound | ) |
Definition at line 1175 of file C4Gui.cpp.
References Config, C4ConfigSound::FESamples, C4Config::Sound, and StartSoundEffect().
Referenced by C4GUI::ContextMenu::Abort(), C4StartupScenSelDlg::DeselectAll(), C4GUI::ContextMenu::DoOK(), C4StartupNetDlg::DoRefresh(), C4GUI::ScrollBar::MouseInput(), C4GUI::Tabular::MouseInput(), C4GUI::Tabular::MouseLeaveCaptionArea(), C4GameLobby::MainDlg::OnChatInput(), C4GameOptionButtons::OnCommentSet(), C4GameOptionButtons::OnPasswordSet(), C4GUI::ContextMenu::Open(), C4GUI::ListBox::SelectionChanged(), C4GUI::ContextMenu::SelectionChanged(), C4GUI::Button::SetDown(), C4GUI::Button::SetUp(), and C4GUI::CheckBox::ToggleCheck().
|
inline |
Definition at line 2820 of file C4Gui.h.
References C4GUI::Screen::GetScreenS(), and C4GUI::Screen::IsActive().
Referenced by C4GraphicsSystem::Execute().
|
inline |
Definition at line 2821 of file C4Gui.h.
References C4GUI::Screen::GetScreenS(), and C4GUI::Screen::IsExclusive().
bool C4GUI::IsWholeWordSpacer | ( | unsigned char | c | ) |
Definition at line 350 of file C4GuiEdit.cpp.
Referenced by C4GUI::Edit::GetCurrentWord(), and C4GUI::Edit::MouseInput().
Definition at line 98 of file C4Gui.cpp.
References b.
Referenced by C4GUI::MultilineLabel::AddLine(), C4Player::CreateGraphs(), C4MainMenu::DoRefillInternal(), C4GUI::Label::Label(), and C4GUI::Label::SetColor().
|
inline |
Definition at line 2832 of file C4Gui.h.
References C4GUI::Screen::GetScreenS(), and C4GUI::Screen::MouseMove().
Screen C4GUI::TheScreen |
Definition at line 1054 of file C4Gui.cpp.
Referenced by C4StartupNetDlg::DoOK(), and C4StartupMainDlg::OnEditorBtn().