OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4Gui.h File Reference
Include dependency graph for C4Gui.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  C4GUI::CallbackButton< CallbackDlg, Base >
 
class  C4GUI::MenuHandler
 
class  C4GUI::ContextHandler
 
class  C4GUI::BaseCallbackHandler
 
class  C4GUI::CallbackHandler< CB >
 
class  C4GUI::CallbackHandlerNoPar< CB >
 
class  C4GUI::CallbackHandlerExPar< CB, ParType >
 
class  C4GUI::BaseParCallbackHandler< ParType >
 
class  C4GUI::ParCallbackHandler< CB, ParType >
 
struct  C4GUI::DynBarFacet
 
struct  C4GUI::ScrollBarFacets
 
class  C4GUI::Element
 
class  C4GUI::Label
 
class  C4GUI::WoodenLabel
 
class  C4GUI::MultilineLabel
 
class  C4GUI::ProgressBar
 
class  C4GUI::HorizontalLine
 
class  C4GUI::Picture
 
class  C4GUI::OverlayPicture
 
class  C4GUI::Icon
 
class  C4GUI::Container
 
class  C4GUI::Container::Iterator
 
class  C4GUI::Container::ReverseIterator
 
class  C4GUI::Window
 
class  C4GUI::ScrollBar
 
class  C4GUI::ScrollWindow
 
class  C4GUI::GroupBox
 
class  C4GUI::PaintBox
 
class  C4GUI::Control
 
class  C4GUI::DlgCallback< CallbackDlg >
 
class  C4GUI::DlgCallbackEx< CallbackDlg, TEx >
 
class  C4GUI::Button
 
class  C4GUI::IconButton
 
class  C4GUI::ArrowButton
 
class  C4GUI::FacetButton
 
class  C4GUI::CallbackButton< CallbackDlg, Base >
 
class  C4GUI::CallbackButtonEx< CallbackDlg, Base >
 
class  C4GUI::Edit
 
class  C4GUI::CallbackEdit< CallbackCtrl >
 
class  C4GUI::RenameEdit
 
class  C4GUI::CallbackRenameEdit< CallbackDlg, ParType >
 
class  C4GUI::LabeledEdit
 
class  C4GUI::CheckBox
 
class  C4GUI::ListBox
 
class  C4GUI::Tabular
 
class  C4GUI::Tabular::Sheet
 
class  C4GUI::TextWindow
 
class  C4GUI::ContextMenu
 
class  C4GUI::ContextMenu::Entry
 
class  C4GUI::ContextButton
 
class  C4GUI::ComboBox_FillCB
 
class  C4GUI::ComboBox_FillCallback< CB >
 
class  C4GUI::ComboBox
 
struct  C4GUI::ComboBox::ComboMenuCBStruct
 
class  C4GUI::DialogWindow
 
class  C4GUI::FrameDecoration
 
class  C4GUI::Dialog
 
class  C4GUI::FullscreenDialog
 
class  C4GUI::CloseButton
 
class  C4GUI::CloseIconButton
 
class  C4GUI::OKButton
 
class  C4GUI::OKIconButton
 
class  C4GUI::CancelButton
 
class  C4GUI::CancelIconButton
 
class  C4GUI::DlgCloseButton
 
class  C4GUI::YesButton
 
class  C4GUI::NoButton
 
class  C4GUI::RetryButton
 
class  C4GUI::ResetButton
 
class  C4GUI::MessageDialog
 
class  C4GUI::ConfirmationDialog
 
class  C4GUI::ProgressDialog
 
class  C4GUI::BaseInputCallback
 
class  C4GUI::InputCallback< T >
 
class  C4GUI::InputDialog
 
class  C4GUI::InfoDialog
 
class  C4GUI::DlgKeyCB< TargetClass >
 
class  C4GUI::DlgKeyCBPassKey< TargetClass >
 
class  C4GUI::DlgKeyCBEx< TargetClass, ParameterType >
 
class  C4GUI::ControlKeyCB< TargetClass >
 
class  C4GUI::ControlKeyCBExPassKey< TargetClass, ParameterType >
 
class  C4GUI::ControlKeyDlgCB< TargetClass >
 
class  C4GUI::CMouse
 
class  C4GUI::Screen
 
class  C4GUI::CBMenuHandler< CBClass >
 
class  C4GUI::CBMenuHandlerEx< CBClass, TEx >
 
class  C4GUI::CBContextHandler< CBClass >
 
class  C4GUI::ComponentAligner
 

Namespaces

 C4GUI
 

Macros

#define C4GUI_CaptionFontClr   0xffffffff
 
#define C4GUI_Caption2FontClr   0xffffff00
 
#define C4GUI_InactCaptionFontClr   0xffafafaf
 
#define C4GUI_ButtonFontClr   0xffffff00
 
#define C4GUI_ButtonFontShadowClr   0xff000000
 
#define C4GUI_StatusFontClr   0xffffffff
 
#define C4GUI_MessageFontClr   0xffffffff
 
#define C4GUI_MessageFontAlpha   0xff000000
 
#define C4GUI_InactMessageFontClr   0xffafafaf
 
#define C4GUI_NotifyFontClr   0xffff0000
 
#define C4GUI_ComboFontClr   0xffffffff
 
#define C4GUI_CheckboxFontClr   0xffffffff
 
#define C4GUI_SmallCheckboxFontClr   0xffffffff
 
#define C4GUI_CheckboxDisabledFontClr   0xffafafaf
 
#define C4GUI_LogFontClr   0xffafafaf
 
#define C4GUI_LogFontClr2   0xffff1f1f
 
#define C4GUI_ErrorFontClr   0xffff1f1f
 
#define C4GUI_ProgressBarFontClr   0xffffffff
 
#define C4GUI_ContextFontClr   0xffffffff
 
#define C4GUI_GfxTabCaptActiveClr   0xff000000
 
#define C4GUI_GfxTabCaptInactiveClr   0xff000000
 
#define C4GUI_ImportantBGColor   0x2f00007f
 
#define C4GUI_ProgressBarColor   0x4fffffff
 
#define C4GUI_ListBoxSelColor   0x4faf0000
 
#define C4GUI_ListBoxInactSelColor   0x4f7f7f7f
 
#define C4GUI_ContextSelColor   0x4faf0000
 
#define C4GUI_ContextBGColor   0xaf3f1a00
 
#define C4GUI_StandardBGColor   0x9f000000
 
#define C4GUI_ActiveTabBGColor   C4GUI_StandardBGColor
 
#define C4GUI_ListBoxBarColor   0x7f772200
 
#define C4GUI_EditBGColor   0x7f000000
 
#define C4GUI_EditFontColor   0xffffffff
 
#define C4GUI_ToolTipBGColor   0xFFF1EA78
 
#define C4GUI_ToolTipFrameColor   0x7f000000
 
#define C4GUI_ToolTipColor   0xFF483222
 
#define C4GUI_WinningTextColor   0xffffdf00
 
#define C4GUI_WinningBackgroundColor   0xafaf7a00
 
#define C4GUI_LosingTextColor   0xffffffff
 
#define C4GUI_LosingBackgroundColor   0x7fafafaf
 
#define C4GUI_BorderAlpha   0x4f
 
#define C4GUI_BorderColor1   0x772200
 
#define C4GUI_BorderColor2   0x331100
 
#define C4GUI_BorderColor3   0xaa4400
 
#define C4GUI_BorderColorA1   (C4GUI_BorderAlpha<<24 | C4GUI_BorderColor1)
 
#define C4GUI_BorderColorA2   (C4GUI_BorderAlpha<<24 | C4GUI_BorderColor2)
 
#define C4GUI_BorderColorA3   (C4GUI_BorderAlpha<<24 | C4GUI_BorderColor3)
 
#define C4GUI_IconWdt   40
 
#define C4GUI_IconHgt   40
 
#define C4GUI_IconExWdt   64
 
#define C4GUI_IconExHgt   64
 
#define C4GUI_ControllerIconWdt   100
 
#define C4GUI_ControllerIconHgt   100
 
#define C4GUI_IconLabelSpacing   2
 
#define C4GUI_ScrollBarWdt   16
 
#define C4GUI_ScrollBarHgt   16
 
#define C4GUI_ScrollArrowHgt   16
 
#define C4GUI_ScrollArrowWdt   16
 
#define C4GUI_ScrollThumbHgt   16
 
#define C4GUI_ScrollThumbWdt   16
 
#define C4GUI_ButtonHgt   32
 
#define C4GUI_BigButtonHgt   40
 
#define C4GUI_ButtonAreaHgt   40
 
#define C4GUI_DefButtonWdt   140
 
#define C4GUI_DefButton2Wdt   120
 
#define C4GUI_DefButton2HSpace   10
 
#define C4GUI_CheckBoxHgt   32
 
#define C4GUI_CheckBoxLabelSpacing   4
 
#define C4GUI_DefaultListSpacing   1
 
#define C4GUI_ListBoxBarIndent   10
 
#define C4GUI_MessageDlgWdt   500
 
#define C4GUI_MessageDlgWdtMedium   360
 
#define C4GUI_MessageDlgWdtSmall   300
 
#define C4GUI_ProgressDlgWdt   500
 
#define C4GUI_InputDlgWdt   300
 
#define C4GUI_DefDlgIndent   10
 
#define C4GUI_DefDlgSmallIndent   4
 
#define C4GUI_MessageDlgVRoom   100
 
#define C4GUI_ProgressDlgVRoom   150
 
#define C4GUI_InputDlgVRoom   150
 
#define C4GUI_ProgressDlgPBHgt   30
 
#define C4GUI_InfoDlgWdt   620
 
#define C4GUI_InfoDlgVRoom   100
 
#define C4GUI_MaxToolTipWdt   500
 
#define C4GUI_ToolTipShowTime   500
 
#define C4GUI_TitleAutoScrollTime   3000
 
#define C4GUI_TabCaptionScrollTime   500
 
#define C4GUI_Z_CHAT   +2
 
#define C4GUI_Z_INPUT   +1
 
#define C4GUI_Z_DEFAULT   0
 
#define C4GUI_Z_PLAYERMENU   -1
 
#define C4GUI_Z_OBJECTMENU   -2
 
#define C4GUI_MinWoodBarHgt   23
 
#define C4GUI_FullscreenDlg_TitleHeight   C4UpperBoardHeight
 
#define C4GUI_FullscreenCaptionFontClr   0xffffff00
 

Typedefs

typedef C4GUI::Screen C4GUIScreen
 

Enumerations

enum  { C4GUI::Ico_Extended = 0x100, C4GUI::Ico_Controller = 0x200 }
 
enum  C4GUI::Icons {
  C4GUI::Ico_Empty = -2, C4GUI::Ico_None = -1, C4GUI::Ico_Clonk = 0, C4GUI::Ico_Notify = 1,
  C4GUI::Ico_Wait = 2, C4GUI::Ico_NetWait = 3, C4GUI::Ico_Host = 4, C4GUI::Ico_Client = 5,
  C4GUI::Ico_UnknownClient = 6, C4GUI::Ico_UnknownPlayer = 7, C4GUI::Ico_ObserverClient = 8, C4GUI::Ico_Player = 9,
  C4GUI::Ico_Resource = 10, C4GUI::Ico_Error = 11, C4GUI::Ico_SavegamePlayer = 12, C4GUI::Ico_Save = 13,
  C4GUI::Ico_Active = 14, C4GUI::Ico_Options = 14, C4GUI::Ico_Editor = 14, C4GUI::Ico_Inactive = 15,
  C4GUI::Ico_Kick = 16, C4GUI::Ico_Loading = 17, C4GUI::Ico_Confirm = 18, C4GUI::Ico_Team = 19,
  C4GUI::Ico_AddPlr = 20, C4GUI::Ico_Record = 21, C4GUI::Ico_Chart = 21, C4GUI::Ico_Gfx = 22,
  C4GUI::Ico_Sound = 23, C4GUI::Ico_Keyboard = 24, C4GUI::Ico_Gamepad = 25, C4GUI::Ico_MouseOff = 26,
  C4GUI::Ico_MouseOn = 27, C4GUI::Ico_Help = 28, C4GUI::Ico_Definition = 29, C4GUI::Ico_GameRunning = 30,
  C4GUI::Ico_Lobby = 31, C4GUI::Ico_RuntimeJoin = 32, C4GUI::Ico_Exit = 33, C4GUI::Ico_Close = 34,
  C4GUI::Ico_Rank1 = 35, C4GUI::Ico_Rank2 = 36, C4GUI::Ico_Rank3 = 37, C4GUI::Ico_Rank4 = 38,
  C4GUI::Ico_Rank5 = 39, C4GUI::Ico_Rank6 = 40, C4GUI::Ico_Rank7 = 41, C4GUI::Ico_Rank8 = 42,
  C4GUI::Ico_Rank9 = 43, C4GUI::Ico_OfficialServer = 44, C4GUI::Ico_Surrender = 45, C4GUI::Ico_MeleeLeague = 46,
  C4GUI::Ico_Ready = 47, C4GUI::Ico_Star = 48, C4GUI::Ico_Disconnect = 49, C4GUI::Ico_View = 50,
  C4GUI::Ico_Ignored = 52, C4GUI::Ico_Ex_RecordOff = Ico_Extended + 0, C4GUI::Ico_Ex_RecordOn = Ico_Extended + 1, C4GUI::Ico_Ex_NormalCrew = Ico_Extended + 3,
  C4GUI::Ico_Ex_LeagueOff = Ico_Extended + 4, C4GUI::Ico_Ex_LeagueOn = Ico_Extended + 5, C4GUI::Ico_Ex_InternetOff = Ico_Extended + 6, C4GUI::Ico_Ex_InternetOn = Ico_Extended + 7,
  C4GUI::Ico_Ex_League = Ico_Extended + 8, C4GUI::Ico_Ex_NormalCrewGray = Ico_Extended + 10, C4GUI::Ico_Ex_Locked = Ico_Extended + 11, C4GUI::Ico_Ex_Unlocked = Ico_Extended + 12,
  C4GUI::Ico_Ex_LockedFrontal = Ico_Extended + 13, C4GUI::Ico_Ex_Update = Ico_Extended + 14, C4GUI::Ico_Ex_Chat = Ico_Extended + 15, C4GUI::Ico_Ex_GameList = Ico_Extended + 16,
  C4GUI::Ico_Ex_Comment = Ico_Extended + 17, C4GUI::Ico_Controller_A = Ico_Controller + 0, C4GUI::Ico_Controller_B = Ico_Controller + 3, C4GUI::Ico_Controller_X = Ico_Controller + 17,
  C4GUI::Ico_Controller_Y = Ico_Controller + 18, C4GUI::Ico_Controller_Back = Ico_Controller + 1, C4GUI::Ico_Controller_Start = Ico_Controller + 16, C4GUI::Ico_Controller_Dpad = Ico_Controller + 6,
  C4GUI::Ico_Controller_DpadLeft = Ico_Controller + 5, C4GUI::Ico_Controller_DpadRight = Ico_Controller + 7, C4GUI::Ico_Controller_DpadDown = Ico_Controller + 4, C4GUI::Ico_Controller_DpadUp = Ico_Controller + 8,
  C4GUI::Ico_Controller_LeftShoulder = Ico_Controller + 9, C4GUI::Ico_Controller_RightShoulder = Ico_Controller + 12, C4GUI::Ico_Controller_LeftTrigger = Ico_Controller + 11, C4GUI::Ico_Controller_RightTrigger = Ico_Controller + 14,
  C4GUI::Ico_Controller_LeftStick = Ico_Controller + 10, C4GUI::Ico_Controller_RightStick = Ico_Controller + 13
}
 

Functions

bool C4GUI::ExpandHotkeyMarkup (StdStrBuf &sText, uint32_t &rcHotkey, bool for_tooltip)
 
DWORD C4GUI::MakeColorReadableOnBlack (DWORD &rdwClr)
 
bool C4GUI::IsActive ()
 
bool C4GUI::IsExclusive ()
 
int32_t C4GUI::GetScreenWdt ()
 
int32_t C4GUI::GetScreenHgt ()
 
void C4GUI::GUISound (const char *szSound)
 
float C4GUI::GetZoom ()
 
void C4GUI::MouseMove (int32_t iButton, int32_t iX, int32_t iY, DWORD dwKeyParam, class C4Viewport *pVP)
 

Variables

C4GUIScreenpGUI
 

Class Documentation

class C4GUI::DlgCallback

template<class CallbackDlg>
class C4GUI::DlgCallback< CallbackDlg >

Definition at line 1074 of file C4Gui.h.

Inheritance diagram for C4GUI::DlgCallback< CallbackDlg >:
[legend]
Class Members
typedef bool(* Bool2Func
typedef bool(* BoolFunc
typedef void(* ContextClickFunc
typedef ContextMenu *(* ContextFunc
typedef void(* Func
class C4GUI::DlgCallbackEx

template<class CallbackDlg, class TEx>
class C4GUI::DlgCallbackEx< CallbackDlg, TEx >

Definition at line 1085 of file C4Gui.h.

Inheritance diagram for C4GUI::DlgCallbackEx< CallbackDlg, TEx >:
[legend]
Class Members
typedef void(* ContextClickFunc

Macro Definition Documentation

#define C4GUI_ActiveTabBGColor   C4GUI_StandardBGColor

Definition at line 67 of file C4Gui.h.

Referenced by C4GUI::Tabular::DrawElement().

#define C4GUI_BigButtonHgt   40

Definition at line 112 of file C4Gui.h.

Referenced by C4StartupMainDlg::C4StartupMainDlg().

#define C4GUI_BorderAlpha   0x4f

Definition at line 84 of file C4Gui.h.

#define C4GUI_BorderColor1   0x772200

Definition at line 85 of file C4Gui.h.

Referenced by C4GUI::Element::Draw3DFrame().

#define C4GUI_BorderColor2   0x331100

Definition at line 86 of file C4Gui.h.

Referenced by C4GUI::Element::Draw3DFrame().

#define C4GUI_BorderColor3   0xaa4400

Definition at line 87 of file C4Gui.h.

Referenced by C4GUI::Element::Draw3DFrame().

#define C4GUI_BorderColorA1   (C4GUI_BorderAlpha<<24 | C4GUI_BorderColor1)

Definition at line 88 of file C4Gui.h.

Referenced by C4GUI::Tabular::DrawElement().

#define C4GUI_BorderColorA2   (C4GUI_BorderAlpha<<24 | C4GUI_BorderColor2)

Definition at line 89 of file C4Gui.h.

Referenced by C4GUI::Tabular::DrawElement().

#define C4GUI_BorderColorA3   (C4GUI_BorderAlpha<<24 | C4GUI_BorderColor3)

Definition at line 90 of file C4Gui.h.

#define C4GUI_ButtonFontClr   0xffffff00

Definition at line 40 of file C4Gui.h.

Referenced by C4GUI::Button::DrawElement().

#define C4GUI_ButtonFontShadowClr   0xff000000

Definition at line 41 of file C4Gui.h.

#define C4GUI_Caption2FontClr   0xffffff00

Definition at line 38 of file C4Gui.h.

Referenced by C4GameOverDlg::C4GameOverDlg(), and C4StartupNetDlg::C4StartupNetDlg().

#define C4GUI_CheckboxDisabledFontClr   0xffafafaf

Definition at line 50 of file C4Gui.h.

Referenced by C4FileSelDlg::DefaultListItem::DefaultListItem().

#define C4GUI_CheckboxFontClr   0xffffffff

Definition at line 48 of file C4Gui.h.

Referenced by C4FileSelDlg::DefaultListItem::DefaultListItem().

#define C4GUI_CheckBoxHgt   32

Definition at line 119 of file C4Gui.h.

#define C4GUI_CheckBoxLabelSpacing   4
#define C4GUI_ComboFontClr   0xffffffff

Definition at line 47 of file C4Gui.h.

#define C4GUI_ContextBGColor   0xaf3f1a00

Definition at line 65 of file C4Gui.h.

Referenced by C4GUI::ContextMenu::DrawElement().

#define C4GUI_ContextFontClr   0xffffffff

Definition at line 55 of file C4Gui.h.

Referenced by C4GUI::ContextMenu::Entry::DrawElement().

#define C4GUI_ContextSelColor   0x4faf0000

Definition at line 64 of file C4Gui.h.

Referenced by C4GUI::ContextMenu::DrawElement().

#define C4GUI_ControllerIconHgt   100

Definition at line 98 of file C4Gui.h.

Referenced by C4GraphicsResource::Init().

#define C4GUI_ControllerIconWdt   100

Definition at line 97 of file C4Gui.h.

Referenced by C4GraphicsResource::Init().

#define C4GUI_DefaultListSpacing   1

Definition at line 123 of file C4Gui.h.

Referenced by C4GUI::Element::GetListItemTopSpacing().

#define C4GUI_DefDlgSmallIndent   4
#define C4GUI_EditBGColor   0x7f000000

Definition at line 69 of file C4Gui.h.

Referenced by C4GUI::Edit::Edit().

#define C4GUI_EditFontColor   0xffffffff

Definition at line 70 of file C4Gui.h.

Referenced by C4GUI::Edit::Edit().

#define C4GUI_ErrorFontClr   0xffff1f1f

Definition at line 53 of file C4Gui.h.

Referenced by C4GameLobby::MainDlg::OnError(), and C4ChatControl::Update().

#define C4GUI_FullscreenCaptionFontClr   0xffffff00

Definition at line 161 of file C4Gui.h.

Referenced by C4GUI::FullscreenDialog::SetTitle().

#define C4GUI_FullscreenDlg_TitleHeight   C4UpperBoardHeight

Definition at line 160 of file C4Gui.h.

Referenced by C4GUI::FullscreenDialog::GetMarginTop().

#define C4GUI_GfxTabCaptActiveClr   0xff000000

Definition at line 56 of file C4Gui.h.

Referenced by C4GUI::Tabular::Sheet::DrawCaption().

#define C4GUI_GfxTabCaptInactiveClr   0xff000000

Definition at line 57 of file C4Gui.h.

Referenced by C4GUI::Tabular::Sheet::DrawCaption().

#define C4GUI_IconExWdt   64

Definition at line 95 of file C4Gui.h.

Referenced by C4StartupNetDlg::C4StartupNetDlg(), and C4GraphicsResource::Init().

#define C4GUI_IconLabelSpacing   2

Definition at line 100 of file C4Gui.h.

#define C4GUI_ImportantBGColor   0x2f00007f

Definition at line 60 of file C4Gui.h.

Referenced by C4StartupNetListEntry::DrawElement().

#define C4GUI_InactCaptionFontClr   0xffafafaf

Definition at line 39 of file C4Gui.h.

Referenced by C4GUI::Tabular::Sheet::DrawCaption().

#define C4GUI_InactMessageFontClr   0xffafafaf

Definition at line 45 of file C4Gui.h.

Referenced by C4ChatControl::Update().

#define C4GUI_InfoDlgVRoom   100

Definition at line 139 of file C4Gui.h.

#define C4GUI_InfoDlgWdt   620

Definition at line 138 of file C4Gui.h.

#define C4GUI_InputDlgVRoom   150

Definition at line 136 of file C4Gui.h.

#define C4GUI_InputDlgWdt   300

Definition at line 131 of file C4Gui.h.

Referenced by C4GUI::InputDialog::InputDialog().

#define C4GUI_ListBoxBarColor   0x7f772200

Definition at line 68 of file C4Gui.h.

Referenced by C4GUI::ListBox::DrawElement().

#define C4GUI_ListBoxBarIndent   10

Definition at line 124 of file C4Gui.h.

Referenced by C4GUI::ListBox::DrawElement().

#define C4GUI_ListBoxInactSelColor   0x4f7f7f7f

Definition at line 63 of file C4Gui.h.

Referenced by C4GUI::ListBox::DrawElement().

#define C4GUI_ListBoxSelColor   0x4faf0000

Definition at line 62 of file C4Gui.h.

Referenced by C4GUI::ListBox::DrawElement().

#define C4GUI_LogFontClr   0xffafafaf

Definition at line 51 of file C4Gui.h.

#define C4GUI_LogFontClr2   0xffff1f1f

Definition at line 52 of file C4Gui.h.

Referenced by C4GameLobby::MainDlg::OnCountdownPacket().

#define C4GUI_LosingBackgroundColor   0x7fafafaf

Definition at line 80 of file C4Gui.h.

#define C4GUI_LosingTextColor   0xffffffff

Definition at line 79 of file C4Gui.h.

#define C4GUI_MaxToolTipWdt   500

Definition at line 140 of file C4Gui.h.

Referenced by C4GUI::Screen::DrawToolTip().

#define C4GUI_MessageDlgVRoom   100

Definition at line 134 of file C4Gui.h.

#define C4GUI_MessageDlgWdt   500

Definition at line 127 of file C4Gui.h.

#define C4GUI_MessageDlgWdtMedium   360

Definition at line 128 of file C4Gui.h.

#define C4GUI_MessageDlgWdtSmall   300

Definition at line 129 of file C4Gui.h.

#define C4GUI_MessageFontAlpha   0xff000000

Definition at line 44 of file C4Gui.h.

Referenced by C4GameLobby::MainDlg::OnMessage().

#define C4GUI_MinWoodBarHgt   23
#define C4GUI_NotifyFontClr   0xffff0000

Definition at line 46 of file C4Gui.h.

Referenced by C4ChatControl::Update().

#define C4GUI_ProgressBarColor   0x4fffffff

Definition at line 61 of file C4Gui.h.

#define C4GUI_ProgressBarFontClr   0xffffffff

Definition at line 54 of file C4Gui.h.

Referenced by C4GUI::ProgressBar::DrawElement().

#define C4GUI_ProgressDlgPBHgt   30

Definition at line 137 of file C4Gui.h.

Referenced by C4GUI::ProgressDialog::ProgressDialog().

#define C4GUI_ProgressDlgVRoom   150

Definition at line 135 of file C4Gui.h.

#define C4GUI_ProgressDlgWdt   500

Definition at line 130 of file C4Gui.h.

Referenced by C4GUI::ProgressDialog::ProgressDialog().

#define C4GUI_ScrollBarHgt   16
#define C4GUI_ScrollThumbHgt   16

Definition at line 107 of file C4Gui.h.

Referenced by C4GUI::ScrollBar::HasPin(), and C4GUI::ScrollBar::ScrollBar().

#define C4GUI_ScrollThumbWdt   16

Definition at line 108 of file C4Gui.h.

Referenced by C4GUI::ScrollBar::HasPin(), and C4GUI::ScrollBar::ScrollBar().

#define C4GUI_SmallCheckboxFontClr   0xffffffff

Definition at line 49 of file C4Gui.h.

#define C4GUI_StandardBGColor   0x9f000000
#define C4GUI_StatusFontClr   0xffffffff

Definition at line 42 of file C4Gui.h.

#define C4GUI_TabCaptionScrollTime   500

Definition at line 149 of file C4Gui.h.

Referenced by C4GUI::Tabular::DrawElement().

#define C4GUI_TitleAutoScrollTime   3000

Definition at line 146 of file C4Gui.h.

Referenced by C4GUI::Dialog::SetTitle().

#define C4GUI_ToolTipBGColor   0xFFF1EA78

Definition at line 72 of file C4Gui.h.

Referenced by C4GUI::Screen::DrawToolTip().

#define C4GUI_ToolTipColor   0xFF483222

Definition at line 74 of file C4Gui.h.

Referenced by C4GUI::Screen::DrawToolTip().

#define C4GUI_ToolTipFrameColor   0x7f000000

Definition at line 73 of file C4Gui.h.

Referenced by C4GUI::Screen::DrawToolTip().

#define C4GUI_ToolTipShowTime   500

Definition at line 143 of file C4Gui.h.

Referenced by C4GUI::CMouse::IsMouseStill().

#define C4GUI_WinningBackgroundColor   0xafaf7a00

Definition at line 78 of file C4Gui.h.

#define C4GUI_WinningTextColor   0xffffdf00

Definition at line 77 of file C4Gui.h.

#define C4GUI_Z_CHAT   +2

Definition at line 152 of file C4Gui.h.

Referenced by C4ChatInputDialog::GetZOrdering().

#define C4GUI_Z_DEFAULT   0

Definition at line 154 of file C4Gui.h.

Referenced by C4GUI::Dialog::GetZOrdering().

#define C4GUI_Z_INPUT   +1

Definition at line 153 of file C4Gui.h.

Referenced by C4GUI::MessageDialog::GetZOrdering().

#define C4GUI_Z_OBJECTMENU   -2

Definition at line 156 of file C4Gui.h.

#define C4GUI_Z_PLAYERMENU   -1

Definition at line 155 of file C4Gui.h.

Typedef Documentation

Definition at line 2835 of file C4Gui.h.

Variable Documentation

C4GUIScreen* pGUI

Definition at line 1191 of file C4Gui.cpp.

Referenced by C4FullScreen::CharIn(), C4Game::Clear(), C4StartupScenSelDlg::DeleteConfirm(), DialogWinProc(), C4Scoreboard::DoDlgShow(), C4Game::DoKeyboardInput(), C4Network2::DoLobby(), C4Startup::DontStartup(), C4StartupNetDlg::DoOK(), C4StartupNetDlg::DoRefresh(), C4Startup::DoStartup(), C4MouseControl::Draw(), C4Menu::Draw(), C4Viewport::DrawOverlay(), C4Startup::EnsureLoaded(), C4GraphicsSystem::Execute(), C4Network2::FinalInit(), FullScreenWinProc(), C4Scoreboard::HideDlg(), C4Game::Init(), C4Network2::InitLeague(), C4Game::InitNetworkFromAddress(), C4Network2IRCClient::Join(), C4StartupScenSelDlg::KeyCheat(), C4Network2::LeagueEnd(), C4Network2::LeaguePlrAuth(), C4Network2::LeagueShowError(), C4Network2::LeagueStart(), C4MessageBoard::LogNotify(), C4Game::OnResolutionChanged(), C4Network2::OpenSurrenderDialog(), C4Network2::OpenVoteDialog(), C4Game::PreInit(), C4Network2::QueryClientPassword(), C4ViewportList::RecalculateViewports(), C4ScenarioListLoader::Entry::RenameTo(), C4PlayerInfoList::RestoreSavegameInfos(), C4Network2::RetrieveRes(), C4GUI::Screen::SetMouseInGUI(), C4Viewport::SetOutputSize(), C4ScenarioListLoader::Entry::SetTitleInGroup(), C4FullScreen::ShowAbortDlg(), C4ChatDlg::ShowChat(), C4Game::ShowGameOverDlg(), C4LeagueSignupDialog::ShowModal(), C4MessageInput::StartTypeIn(), C4Startup::SwitchDialog(), C4Network2ClientListDlg::Toggle(), C4ChartDialog::Toggle(), C4Menu::TryClose(), C4MouseControl::UpdateClip(), and C4LeagueSignupDialog::UserClose().