#include <C4Gui.h>
Public Member Functions | |
void | RemoveElement (Element *pChild) override |
const C4Rect & | GetPreferredDlgRect () |
void | ShowDialog (Dialog *pDlg, bool fFade) |
void | CloseDialog (Dialog *pDlg, bool fFade) |
void | ActivateDialog (Dialog *pDlg) |
void | RecheckActiveDialog () |
Dialog * | GetTopDialog () |
Screen () | |
~Screen () override | |
void | Init (int32_t tx, int32_t ty, int32_t twdt, int32_t thgt) |
void | Clear () |
void | Render (bool fDoBG) |
void | RenderMouse (C4TargetFacet &cgo) |
Screen * | GetScreen () override |
float | GetZoom () const |
bool | IsActive () |
bool | KeyAny () |
virtual bool | CharIn (const char *c) |
bool | MouseInput (int32_t iButton, int32_t iX, int32_t iY, DWORD dwKeyParam, Dialog *pDlg, class C4Viewport *pVP) |
void | MouseMove (int32_t iButton, int32_t iX, int32_t iY, DWORD dwKeyParam, class C4Viewport *pVP) |
void | SetMouseInGUI (bool fInGUI, bool fByMouse) |
bool | RecheckMouseInput () |
bool | ShowMessage (const char *szMessage, const char *szCaption, Icons icoIcon, int32_t *piConfigDontShowAgainSetting=nullptr) |
bool | ShowErrorMessage (const char *szMessage) |
bool | ShowMessageModal (const char *szMessage, const char *szCaption, DWORD dwButtons, Icons icoIcon, int32_t *piConfigDontShowAgainSetting=nullptr) |
ProgressDialog * | ShowProgressDlg (const char *szMessage, const char *szCaption, int32_t iMaxProgress=100, int32_t iInitialProgress=0, Icons icoIcon=Ico_Wait) |
bool | ShowModalDlg (Dialog *pDlg, bool fDestruct=true) |
bool | ShowRemoveDlg (Dialog *pDlg) |
void | CloseAllDialogs (bool fWithOK) |
void | SetPreferredDlgRect (const C4Rect &rtNewPref) |
Dialog * | GetDialog (C4Window *pWindow) |
void | DoContext (ContextMenu *pNewCtx, Element *pAtElement, int32_t iX, int32_t iY) |
void | AbortContext (bool fByUser) |
int32_t | GetContextMenuIndex () |
int32_t | GetLastContextMenuIndex () |
bool | HasContext () |
bool | HasFullscreenDialog (bool fIncludeFading) |
Dialog * | GetFullscreenDialog (bool fIncludeFading) |
void | OnSec1Timer () |
void | SetExclusive (bool fToState) |
bool | IsExclusive () |
bool | HasKeyboardFocus () |
bool | HasMouseFocus () |
int32_t | GetMouseControlledDialogCount () |
void | UpdateMouseFocus () |
void | UpdateGamepadGUIControlEnabled () |
void | MouseInput (CMouse &rMouse, int32_t iButton, int32_t iX, int32_t iY, DWORD dwKeyParam) override |
void | MouseInput (CMouse &rMouse, int32_t iButton, int32_t iX, int32_t iY, DWORD dwKeyParam) override |
void | SetPos (int32_t iXPos, int32_t iYPos) |
void | UpdateOwnPos () override |
C4Rect & | GetClientRect () override |
void | ApplyElementOffset (int32_t &riX, int32_t &riY) override |
void | ApplyInvElementOffset (int32_t &riX, int32_t &riY) override |
virtual bool | IsComponentOutsideClientArea () |
virtual int32_t | GetMarginTop () |
virtual int32_t | GetMarginLeft () |
virtual int32_t | GetMarginRight () |
virtual int32_t | GetMarginBottom () |
void | ClearChildren () |
void | MakeLastElement (Element *pChild) |
void | AddElement (Element *pChild) |
void | ReaddElement (Element *pChild) |
void | InsertElement (Element *pChild, Element *pInsertBefore) |
Element * | GetNextNestedElement (Element *pPrevElement, bool fBackwards) |
Element * | GetFirstContained () override |
virtual Element * | GetLastContained () |
Element * | GetFirstNestedElement (bool fBackwards) override |
Iterator | begin () |
Iterator | end () |
ReverseIterator | rbegin () |
ReverseIterator | rend () |
Element * | GetFirst () |
Element * | GetLast () |
Container * | GetContainer () override |
Element * | GetElementByIndex (int32_t i) |
int32_t | GetElementCount () |
void | SetVisibility (bool fToValue) override |
virtual bool | IsFocused (Control *pCtrl) |
virtual bool | IsSelectedChild (Element *pChild) |
bool | IsParentOf (Element *pEl) override |
virtual void | MouseEnter (CMouse &rMouse) |
virtual void | MouseLeave (CMouse &rMouse) |
virtual void | StartDragging (CMouse &rMouse, int32_t iX, int32_t iY, DWORD dwKeyParam) |
virtual void | DoDragging (CMouse &rMouse, int32_t iX, int32_t iY, DWORD dwKeyParam) |
virtual void | StopDragging (CMouse &rMouse, int32_t iX, int32_t iY, DWORD dwKeyParam) |
bool | DoContext () |
Container * | GetParent () |
virtual class Dialog * | GetDlg () |
virtual Control * | IsFocusElement () |
void | ScreenPos2ClientPos (int32_t &riX, int32_t &riY) |
void | ClientPos2ScreenPos (int32_t &riX, int32_t &riY) |
void | SetToolTip (const char *szNewTooltip, bool is_immediate=false) |
const char * | GetToolTip () |
const char * | GetOwnToolTip () |
bool | IsImmediateToolTip () const |
int32_t | GetWidth () |
int32_t | GetHeight () |
C4Rect & | GetBounds () |
void | SetBounds (const C4Rect &rcNewBound) |
C4Rect | GetContainedClientRect () |
Element * | GetNext () const |
Element * | GetPrev () const |
bool | IsInActiveDlg (bool fForKeyboard) |
C4Rect | GetToprightCornerRect (int32_t iWidth=16, int32_t iHeight=16, int32_t iHIndent=4, int32_t iVIndent=4, int32_t iIndexX=0) |
bool | IsVisible () |
virtual int32_t | GetListItemTopSpacing () |
virtual bool | GetListItemTopSpacingBar () |
void | SetDragTarget (Window *pToWindow) |
void | SetContextHandler (ContextHandler *pNewHd) |
virtual ContextHandler * | GetContextHandler () |
Static Public Member Functions | |
static Screen * | GetScreenS () |
static void | DrawToolTip (const char *szTip, C4TargetFacet &cgo, float guix, float guiy) |
Public Attributes | |
CMouse | Mouse |
bool | fVisible {true} |
Protected Member Functions | |
virtual void | Draw (C4TargetFacet &cgo, bool fDoBG) |
void | ElementPosChanged (Element *pOfElement) override |
void | Draw (C4TargetFacet &cgo) override |
void | Draw (C4TargetFacet &cgo) override |
virtual void | ElementSizeChanged (Element *pOfElement) |
virtual void | AfterElementRemoval () |
bool | OnHotkey (uint32_t cHotkey) override |
virtual void | DrawElement (C4TargetFacet &cgo) |
virtual void | UpdateSize () |
virtual void | UpdatePos () |
void | Draw3DFrame (C4TargetFacet &cgo, bool fUp=false, int32_t iIndent=1, BYTE byAlpha=C4GUI_BorderAlpha, bool fDrawTop=true, int32_t iTopOff=0, bool fDrawLeft=true, int32_t iLeftOff=0) |
void | DrawBar (C4TargetFacet &cgo, DynBarFacet &rFacets) |
void | DrawVBar (C4TargetFacet &cgo, DynBarFacet &rFacets) |
void | DrawHBarByVGfx (C4TargetFacet &cgo, DynBarFacet &rFacets) |
void | DrawHVBar (C4TargetFacet &cgo, DynBarFacet &rFacets, C4DrawTransform &trf, int32_t iMiddleLength) |
virtual bool | IsOwnPtrElement () |
virtual bool | IsExternalDrawDialog () |
virtual bool | IsMenu () |
virtual class DialogWindow * | GetDialogWindow () |
virtual bool | CheckNameHotkey (const char *) |
Protected Attributes | |
Dialog * | pActiveDlg |
ContextMenu * | pContext {nullptr} |
bool | fExclusive {true} |
C4Rect | PreferredDlgRect |
float | fZoom {1.0f} |
C4Rect | rcClientRect |
Element * | pFirst |
Element * | pLast |
Container * | pParent {nullptr} |
Element * | pPrev |
Element * | pNext |
Window * | pDragTarget {nullptr} |
int32_t | iDragX |
int32_t | iDragY |
bool | fDragging {false} |
ContextHandler * | pContextHandler {nullptr} |
C4Rect | rcBounds |
Static Protected Attributes | |
static Screen * | pScreen |
Friends | |
class | Dialog |
class | ContextMenu |
C4GUI::Screen::Screen | ( | ) |
|
override |
|
inline |
Definition at line 2657 of file C4Gui.h.
References C4GUI::ContextMenu::Abort(), and pContext.
Referenced by ActivateDialog(), Clear(), CloseDialog(), DoContext(), C4GUI::ContextMenu::DoOK(), and MouseInput().
void C4GUI::Screen::ActivateDialog | ( | Dialog * | pDlg | ) |
Definition at line 647 of file C4Gui.cpp.
References AbortContext(), C4GUI::Element::GetNext(), C4GUI::Dialog::GetZOrdering(), IsExclusive(), C4GUI::Container::MakeLastElement(), Mouse, pActiveDlg, and C4GUI::CMouse::ReleaseElements().
Referenced by C4Game::DoKeyboardInput(), C4GUI::Dialog::Draw(), MouseInput(), and C4ChatDlg::ShowChat().
|
inherited |
Definition at line 118 of file C4GuiContainers.cpp.
References C4GUI::Container::pFirst, C4GUI::Container::pLast, C4GUI::Element::pNext, C4GUI::Element::pParent, C4GUI::Element::pPrev, and C4GUI::Container::RemoveElement().
Referenced by C4GUI::Tabular::AddCustomSheet(), C4GUI::ListBox::AddElement(), C4ChartDialog::C4ChartDialog(), C4ChatControl::C4ChatControl(), C4ChatDlg::C4ChatDlg(), C4DownloadDlg::C4DownloadDlg(), C4GameOptionButtons::C4GameOptionButtons(), C4GameOverDlg::C4GameOverDlg(), C4LeagueSignupDialog::C4LeagueSignupDialog(), C4Menu::C4Menu(), C4Network2ClientListDlg::C4Network2ClientListDlg(), C4Network2StartWaitDlg::C4Network2StartWaitDlg(), C4StartupAboutDlg::C4StartupAboutDlg(), C4StartupLegalDlg::C4StartupLegalDlg(), C4StartupMainDlg::C4StartupMainDlg(), C4StartupModsDlg::C4StartupModsDlg(), C4StartupModsListEntry::C4StartupModsListEntry(), C4StartupNetDlg::C4StartupNetDlg(), C4StartupNetListEntry::C4StartupNetListEntry(), C4StartupOptionsDlg::C4StartupOptionsDlg(), C4StartupPlrColorPickerDlg::C4StartupPlrColorPickerDlg(), C4StartupPlrPropertiesDlg::C4StartupPlrPropertiesDlg(), C4StartupPlrSelDlg::C4StartupPlrSelDlg(), C4StartupScenSelDlg::C4StartupScenSelDlg(), C4GUI::ContextButton::ContextButton(), C4MapFolderData::CreateGUIElements(), C4GUI::InfoDialog::CreateSubComponents(), C4FileSelDlg::DefaultListItem::DefaultListItem(), C4GUI::FullscreenDialog::FullscreenDialog(), C4FileSelDlg::InitElements(), C4GUI::InputDialog::InputDialog(), C4GUI::Container::InsertElement(), C4GUI::LabeledEdit::LabeledEdit(), C4GameLobby::MainDlg::MainDlg(), C4GUI::MessageDialog::MessageDialog(), C4ChatControl::ChatSheet::NickItem::NickItem(), C4GUI::ProgressDialog::ProgressDialog(), C4GUI::RenameEdit::RenameEdit(), C4GameLobby::ScenDesc::ScenDesc(), C4StartupScenSelDlg::ScenListItem::ScenListItem(), C4GUI::ScrollWindow::ScrollWindow(), C4GUI::InputDialog::SetCustomEdit(), C4GoalDisplay::SetGoals(), C4GUI::FullscreenDialog::SetTitle(), C4GUI::Dialog::SetTitle(), and C4GUI::TextWindow::TextWindow().
|
inlineprotectedvirtualinherited |
Reimplemented in C4GUI::ListBox.
Definition at line 756 of file C4Gui.h.
References C4GUI::Container::AfterElementRemoval(), and C4GUI::Element::pParent.
Referenced by C4GUI::Container::AfterElementRemoval(), C4GUI::ListBox::AfterElementRemoval(), and C4GUI::Container::RemoveElement().
|
inlineoverridevirtualinherited |
Reimplemented from C4GUI::Container.
Reimplemented in C4GUI::Dialog.
Definition at line 866 of file C4Gui.h.
References C4GUI::Window::rcClientRect, C4Rect::x, and C4Rect::y.
Referenced by C4GUI::Dialog::ApplyElementOffset().
|
inlineoverridevirtualinherited |
Reimplemented from C4GUI::Container.
Reimplemented in C4GUI::Dialog.
Definition at line 868 of file C4Gui.h.
References C4GUI::Window::rcClientRect, C4Rect::x, and C4Rect::y.
Referenced by C4GUI::Dialog::ApplyInvElementOffset().
|
inlineinherited |
Definition at line 824 of file C4Gui.h.
References C4GUI::Container::pFirst.
Referenced by C4ScriptGuiWindow::ClearPointers().
|
virtual |
Definition at line 779 of file C4Gui.cpp.
References C4GUI::ContextMenu::CharIn(), C4GUI::Dialog::CharIn(), HasKeyboardFocus(), IsExclusive(), C4GUI::Element::IsVisible(), Mouse, pActiveDlg, pContext, and C4GUI::CMouse::ResetActiveInput().
Referenced by C4FullScreen::CharIn().
|
inlineprotectedvirtualinherited |
Reimplemented in C4StartupScenSelDlg::ScenListItem.
Definition at line 407 of file C4Gui.h.
Referenced by C4GUI::ListBox::CharIn().
void C4GUI::Screen::Clear | ( | ) |
Definition at line 588 of file C4Gui.cpp.
References AbortContext(), C4GUI::Container::Clear(), fExclusive, and fZoom.
Referenced by C4Game::Clear().
|
inherited |
Definition at line 68 of file C4GuiContainers.cpp.
References C4GUI::Element::IsOwnPtrElement(), C4GUI::Container::pFirst, C4GUI::Container::pLast, C4GUI::Element::pNext, C4GUI::Element::pParent, and C4GUI::Element::pPrev.
Referenced by C4GUI::Container::Clear(), C4ScriptGuiWindow::Close(), C4ScriptGuiWindow::RemoveChild(), C4GoalDisplay::SetGoals(), and C4ScriptGuiWindow::~C4ScriptGuiWindow().
|
inherited |
Definition at line 231 of file C4Gui.cpp.
References C4GUI::Container::ApplyInvElementOffset(), C4GUI::Element::GetParent(), C4GUI::Element::pParent, C4GUI::Element::rcBounds, C4Rect::x, and C4Rect::y.
Referenced by C4MapFolderData::CreateGUIElements(), DoContext(), and C4Menu::Draw().
void C4GUI::Screen::CloseAllDialogs | ( | bool | fWithOK | ) |
Definition at line 704 of file C4Gui.cpp.
References C4GUI::Dialog::Close(), and pActiveDlg.
Referenced by C4Network2::DoLobby(), and C4Startup::DontStartup().
void C4GUI::Screen::CloseDialog | ( | Dialog * | pDlg, |
bool | fFade | ||
) |
Definition at line 663 of file C4Gui.cpp.
References AbortContext(), C4GUI::Dialog::fShow, GetTopDialog(), GraphicsSystem, C4GraphicsSystem::InvalidateBg(), C4GUI::Dialog::IsFading(), Mouse, pActiveDlg, C4GUI::CMouse::ReleaseElements(), and UpdateMouseFocus().
Referenced by C4GUI::Dialog::Close(), and C4GUI::Dialog::FadeOut().
|
inherited |
Definition at line 417 of file C4Gui.cpp.
References C4Rect::Hgt, C4GUI::ContextHandler::OnContext(), C4GUI::Element::pContextHandler, C4GUI::Element::rcBounds, and C4Rect::Wdt.
Referenced by C4GUI::Control::KeyContext(), and C4GUI::ContextButton::MouseInput().
void C4GUI::Screen::DoContext | ( | ContextMenu * | pNewCtx, |
Element * | pAtElement, | ||
int32_t | iX, | ||
int32_t | iY | ||
) |
Definition at line 971 of file C4Gui.cpp.
References AbortContext(), C4GUI::Element::ClientPos2ScreenPos(), C4GUI::Element::GetBounds(), C4Rect::Hgt, pContext, and C4Rect::Wdt.
Referenced by C4GUI::CBContextHandler< CBClass >::OnContext().
|
virtualinherited |
Reimplemented in C4GUI::Edit, and C4GUI::ScrollBar.
Definition at line 269 of file C4Gui.cpp.
References C4GUI::Element::iDragX, C4GUI::Element::iDragY, C4GUI::Element::pDragTarget, C4GUI::Element::rcBounds, C4GUI::Element::UpdatePos(), C4Rect::x, and C4Rect::y.
Referenced by MouseInput(), and C4GUI::Element::StopDragging().
|
overrideprotectedvirtualinherited |
Reimplemented from C4GUI::Container.
Reimplemented in C4ScriptGuiWindow, C4ScoreboardDlg, C4Menu, C4GUI::Dialog, and C4GUI::ContextMenu.
Definition at line 293 of file C4GuiContainers.cpp.
References C4Draw::ApplyZoom(), C4GUI::Container::Draw(), C4GUI::Element::DrawElement(), C4GUI::Element::GetBounds(), C4GUI::Window::GetClientRect(), C4Draw::GetPrimaryClipper(), C4Rect::Hgt, C4GUI::Window::IsComponentOutsideClientArea(), C4GUI::Element::IsVisible(), pDraw, C4GUI::Window::rcClientRect, C4Draw::SetPrimaryClipper(), C4Draw::SubPrimaryClipper(), C4TargetFacet::TargetX, C4TargetFacet::TargetY, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by C4GUI::ContextMenu::Draw(), C4GUI::Dialog::Draw(), and Draw().
|
overrideprotected |
|
protectedvirtual |
Definition at line 746 of file C4Gui.cpp.
References Application, C4LoaderScreen::Draw(), C4GUI::Window::Draw(), C4GUI::ContextMenu::Draw(), C4Draw::DrawBoxDw(), GetFullscreenDialog(), GraphicsResource, GraphicsSystem, C4GUI::Dialog::HasBackground(), C4Facet::Hgt, C4Application::isEditor, C4GraphicsResource::IsInitialized(), C4GUI::Element::IsVisible(), pContext, pDraw, C4GraphicsSystem::pLoaderScreen, RenderMouse(), C4Facet::Surface, and C4Facet::Wdt.
|
protectedinherited |
Definition at line 291 of file C4Gui.cpp.
References C4GUI_BorderColor1, C4GUI_BorderColor2, C4GUI_BorderColor3, C4Draw::DrawLineDw(), C4Rect::Hgt, pDraw, C4GUI::Element::rcBounds, C4Facet::Surface, C4TargetFacet::TargetX, C4TargetFacet::TargetY, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by C4GUI::ProgressBar::DrawElement(), C4GUI::GroupBox::DrawElement(), C4GUI::Edit::DrawElement(), C4GUI::ListBox::DrawElement(), C4GUI::Tabular::DrawElement(), C4GUI::TextWindow::DrawElement(), C4GUI::ContextMenu::DrawElement(), C4GUI::ComboBox::DrawElement(), and C4GUI::Dialog::DrawElement().
|
protectedinherited |
Definition at line 308 of file C4Gui.cpp.
References C4Facet::Draw(), C4Facet::DrawX(), C4GUI::DynBarFacet::fctBegin, C4GUI::DynBarFacet::fctEnd, C4GUI::DynBarFacet::fctMiddle, C4Facet::Hgt, C4Rect::Hgt, C4GUI::Element::rcBounds, C4Facet::Surface, C4TargetFacet::TargetX, C4TargetFacet::TargetY, C4Facet::Wdt, C4Rect::Wdt, C4Facet::X, C4Rect::x, and C4Rect::y.
Referenced by C4GUI::WoodenLabel::DrawElement(), and C4GUI::Button::DrawElement().
|
inlineprotectedvirtualinherited |
Reimplemented in C4Chart, C4StartupScenSelDlg, C4StartupPlrPropertiesDlg, C4StartupPlrSelDlg, C4StartupNetDlg, C4StartupNetListEntry, C4StartupMainDlg, C4StartupAboutDlg, C4ScoreboardDlg, C4Menu, C4MenuItem, C4GUI::FullscreenDialog, C4GUI::Dialog, C4GUI::ComboBox, C4GUI::ContextButton, C4GUI::ContextMenu, C4GUI::ContextMenu::Entry, C4GUI::TextWindow, C4GUI::Tabular, C4GUI::ListBox, C4GUI::CheckBox, C4GUI::Edit, C4GUI::FacetButton, C4GUI::ArrowButton, C4GUI::IconButton, C4GUI::Button, C4GUI::PaintBox, C4GUI::GroupBox, C4GUI::ScrollBar, C4GUI::OverlayPicture, C4GUI::Picture, C4GUI::HorizontalLine, C4GUI::ProgressBar, C4GUI::MultilineLabel, C4GUI::WoodenLabel, C4GUI::Label, C4StartupModsDlg, C4StartupModsListEntry, and C4StartupLegalDlg.
Definition at line 388 of file C4Gui.h.
Referenced by C4GUI::Element::Draw(), and C4GUI::Window::Draw().
|
protectedinherited |
Definition at line 365 of file C4Gui.cpp.
References C4GUI::Element::DrawHVBar(), C4Rect::Hgt, C4GUI::Element::rcBounds, C4BltTransform::SetRotate(), C4TargetFacet::TargetX, C4TargetFacet::TargetY, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by C4GUI::ScrollBar::DrawElement().
|
protectedinherited |
Definition at line 375 of file C4Gui.cpp.
References C4Facet::DrawT(), C4GUI::DynBarFacet::fctBegin, C4GUI::DynBarFacet::fctEnd, C4GUI::DynBarFacet::fctMiddle, C4Facet::Hgt, C4GUI::Element::rcBounds, C4Facet::Surface, C4TargetFacet::TargetX, C4TargetFacet::TargetY, C4Rect::x, and C4Rect::y.
Referenced by C4GUI::Element::DrawHBarByVGfx(), and C4GUI::Element::DrawVBar().
|
static |
Definition at line 1009 of file C4Gui.cpp.
References ALeft, CStdFont::BreakMessage(), C4GUI_MaxToolTipWdt, C4GUI_ToolTipBGColor, C4GUI_ToolTipColor, C4GUI_ToolTipFrameColor, C4Draw::DrawBoxDw(), C4Draw::DrawFrameDw(), StdStrBuf::getData(), CStdFont::GetTextExtent(), GraphicsResource, GraphicsSystem, C4Facet::Hgt, C4GraphicsSystem::InvalidateBg(), pDraw, C4Facet::Surface, C4TargetFacet::TargetX, C4TargetFacet::TargetY, C4Draw::TextOut(), C4GraphicsResource::TooltipFont, C4Facet::Wdt, C4Facet::X, and C4Facet::Y.
Referenced by C4Menu::Draw(), C4MouseControl::Draw(), and C4GUI::CMouse::Draw().
|
protectedinherited |
Definition at line 359 of file C4Gui.cpp.
References C4GUI::Element::DrawHVBar(), C4Rect::Hgt, and C4GUI::Element::rcBounds.
Referenced by C4GUI::ScrollBar::DrawElement().
|
overrideprotectedvirtual |
Reimplemented from C4GUI::Container.
Definition at line 604 of file C4Gui.cpp.
References GraphicsSystem, C4GraphicsSystem::InvalidateBg(), and IsExclusive().
|
inlineprotectedvirtualinherited |
Reimplemented in C4GUI::ContextMenu, C4GUI::TextWindow, C4GUI::ListBox, and C4GUI::ScrollWindow.
Definition at line 753 of file C4Gui.h.
Referenced by C4GUI::ListBox::ElementPosChanged(), C4GUI::TextWindow::ElementPosChanged(), C4GUI::ContextMenu::ElementPosChanged(), C4GUI::ScrollWindow::ElementSizeChanged(), C4GUI::ListBox::ElementSizeChanged(), C4GUI::TextWindow::ElementSizeChanged(), C4GUI::ContextMenu::ElementSizeChanged(), and C4GUI::Element::UpdateSize().
|
inlineinherited |
Definition at line 825 of file C4Gui.h.
Referenced by C4ScriptGuiWindow::ClearPointers().
|
inlineinherited |
Definition at line 445 of file C4Gui.h.
References C4GUI::Element::rcBounds.
Referenced by C4GUI::ListBox::AddElement(), C4Menu::AdjustPosition(), C4GameOverDlg::C4GameOverDlg(), C4StartupModsDlg::C4StartupModsDlg(), C4StartupModsListEntry::C4StartupModsListEntry(), C4StartupNetDlg::C4StartupNetDlg(), C4StartupNetListEntry::C4StartupNetListEntry(), C4StartupScenSelDlg::C4StartupScenSelDlg(), C4GUI::ContextMenu::CheckOpenSubmenu(), C4GUI::ListBox::ContractToElementHeight(), C4MapFolderData::CreateGUIElements(), DoContext(), C4GUI::Window::Draw(), C4GUI::ListBox::DrawElement(), C4GUI::ContextMenu::DrawElement(), C4GUI::TextWindow::ElementPosChanged(), C4GUI::TextWindow::ElementSizeChanged(), C4GUI::Dialog::GetMarginTop(), C4GUI::ScrollBar::GetMaxScroll(), C4GUI::GetScreenHgt(), C4GUI::GetScreenWdt(), C4Menu::InitSize(), C4GUI::ListBox::InsertElement(), C4GUI::ScrollWindow::IsRangeInView(), C4StartupPlrSelDlg::PlayerListItem::Load(), C4GUI::Window::MouseInput(), C4GUI::ScrollBar::MouseInput(), C4GUI::ListBox::MouseInput(), MouseInput(), C4StartupPlrSelDlg::OnNewBtn(), C4GUI::ScrollBar::OnPosChanged(), C4StartupPlrSelDlg::OnPropertyBtn(), C4StartupScenSelDlg::ScenListItem::ScenListItem(), C4GUI::ScrollWindow::ScrollBy(), C4GUI::ListBox::ScrollItemInView(), C4GUI::ScrollWindow::ScrollPages(), C4GUI::ScrollWindow::ScrollRangeInView(), C4GUI::ScrollWindow::ScrollToBottom(), C4GUI::Tabular::SetGfx(), C4GoalDisplay::SetGoals(), C4GUI::TextWindow::SetPicture(), C4GUI::Dialog::SetTitle(), C4GUI::ScrollBar::Update(), C4GUI::ScrollWindow::Update(), C4StartupPlrSelDlg::PlayerListItem::UpdateCore(), C4GUI::ListBox::UpdateElementPosition(), C4GUI::ListBox::UpdateElementPositions(), C4Menu::UpdateElementPositions(), C4GUI::ScrollWindow::UpdateOwnPos(), C4Menu::UpdateScrollBar(), and C4GUI::TextWindow::UpdateSize().
|
inlineoverridevirtualinherited |
Reimplemented from C4GUI::Element.
Definition at line 864 of file C4Gui.h.
References C4GUI::Window::rcClientRect.
Referenced by C4GameOverDlg::C4GameOverDlg(), C4LeagueSignupDialog::C4LeagueSignupDialog(), C4StartupMainDlg::C4StartupMainDlg(), C4StartupModsDlg::C4StartupModsDlg(), C4StartupNetDlg::C4StartupNetDlg(), C4StartupOptionsDlg::C4StartupOptionsDlg(), C4StartupPlrColorPickerDlg::C4StartupPlrColorPickerDlg(), C4StartupPlrPropertiesDlg::C4StartupPlrPropertiesDlg(), C4StartupPlrSelDlg::C4StartupPlrSelDlg(), C4StartupScenSelDlg::C4StartupScenSelDlg(), C4GUI::ContextMenu::CheckOpenSubmenu(), C4GUI::ListBox::ContractToElementHeight(), C4MapFolderData::CreateGUIElements(), C4GUI::InfoDialog::CreateSubComponents(), C4GUI::Window::Draw(), C4GUI::ListBox::DrawElement(), C4GUI::ContextMenu::DrawElement(), C4GUI::FullscreenDialog::FullscreenDialog(), C4GUI::ListBox::GetItemWidth(), C4FileSelDlg::InitElements(), C4GUI::InputDialog::InputDialog(), C4GUI::LabeledEdit::LabeledEdit(), C4GameLobby::MainDlg::MainDlg(), C4GUI::MessageDialog::MessageDialog(), C4GUI::Window::MouseInput(), C4GUI::ContextMenu::MouseInput(), MouseInput(), C4GUI::ScrollBar::OnPosChanged(), C4GUI::ProgressDialog::ProgressDialog(), C4GameLobby::ScenDesc::ScenDesc(), C4StartupScenSelDlg::ScenListItem::ScenListItem(), C4GUI::ScrollWindow::ScrollBy(), C4GUI::ScrollWindow::ScrollRangeInView(), C4GUI::ScrollWindow::ScrollToBottom(), C4GUI::ScrollWindow::ScrollWindow(), C4GoalDisplay::SetGoals(), C4GUI::FullscreenDialog::SetTitle(), C4GUI::TextWindow::TextWindow(), C4GUI::ScrollBar::Update(), C4GUI::ListBox::UpdateColumnCount(), and C4GUI::TextWindow::UpdateSize().
|
inlineinherited |
Definition at line 448 of file C4Gui.h.
References C4GUI::Element::GetClientRect(), C4Rect::x, and C4Rect::y.
Referenced by C4GUI::Tabular::AddSheet(), C4ChartDialog::C4ChartDialog(), C4Network2ClientListDlg::C4Network2ClientListDlg(), C4Network2StartWaitDlg::C4Network2StartWaitDlg(), C4StartupAboutDlg::C4StartupAboutDlg(), C4StartupLegalDlg::C4StartupLegalDlg(), C4StartupModsDlg::C4StartupModsDlg(), C4StartupModsListEntry::C4StartupModsListEntry(), C4StartupNetDlg::C4StartupNetDlg(), C4StartupNetListEntry::C4StartupNetListEntry(), C4FileSelDlg::DefaultListItem::DefaultListItem(), C4ChatDlg::DoPlacement(), C4GUI::Element::GetToprightCornerRect(), C4GUI::InputDialog::InputDialog(), C4GameLobby::MainDlg::MainDlg(), C4GUI::TextWindow::TextWindow(), C4Menu::UpdateElementPositions(), C4ChatControl::ChatSheet::NickItem::UpdateOwnPos(), C4FileSelDlg::DefaultListItem::UpdateOwnPos(), C4GUI::ScrollWindow::UpdateOwnPos(), C4StartupScenSelDlg::ScenListItem::UpdateOwnPos(), C4ChatControl::UpdateSize(), C4ChatDlg::UpdateSize(), C4GUI::Tabular::UpdateSize(), and C4GUI::TextWindow::UpdateSize().
|
inlineoverridevirtualinherited |
Reimplemented from C4GUI::Element.
|
virtualinherited |
Reimplemented in C4GUI::Dialog.
Definition at line 429 of file C4Gui.cpp.
References C4GUI::Element::GetContextHandler(), C4GUI::Element::pContextHandler, and C4GUI::Element::pParent.
Referenced by C4GUI::ContextButton::ContextButton(), C4GUI::Element::GetContextHandler(), and C4GUI::Element::MouseInput().
|
inline |
Definition at line 2658 of file C4Gui.h.
References C4GUI::ContextMenu::GetMenuIndex(), and pContext.
Referenced by C4GUI::ContextButton::DrawElement(), and C4GUI::ComboBox::DrawElement().
Definition at line 720 of file C4Gui.cpp.
References C4GUI::Dialog::GetDlg(), C4GUI::Element::GetPrev(), C4GUI::Container::pLast, and C4GUI::Dialog::pWindow.
Referenced by DialogWinProc().
|
inlineprotectedvirtualinherited |
Reimplemented in C4GUI::Dialog.
|
virtualinherited |
Reimplemented in C4GUI::Dialog.
Definition at line 288 of file C4Gui.cpp.
References C4GUI::Element::GetDlg(), and C4GUI::Element::pParent.
Referenced by C4GUI::Control::DisableFocus(), C4ChatControl::DlgEnter(), C4ChatControl::GetDefaultControl(), C4GUI::Element::GetDlg(), C4GUI::ContextMenu::GetTargetDialog(), C4GUI::Control::HasDrawFocus(), C4GUI::Element::IsInActiveDlg(), C4GUI::Label::MouseInput(), C4GUI::Control::MouseInput(), MouseInput(), C4ChatControl::OnConnectBtn(), C4GUI::RenameEdit::OnFinishInput(), C4GUI::Label::OnHotkey(), C4ChatControl::OnLoginDataEnter(), C4GUI::CloseButton::OnPress(), C4GUI::CloseIconButton::OnPress(), C4GUI::RenameEdit::RenameEdit(), C4GUI::Container::SetVisibility(), and ShowDialog().
|
inherited |
Definition at line 223 of file C4GuiContainers.cpp.
References C4GUI::Container::pFirst, and C4GUI::Element::pNext.
Referenced by C4GUI::ContextMenu::GetIndexedEntry(), C4Menu::GetItem(), C4GUI::Tabular::GetSheet(), and C4GUI::ContextMenu::SelectItem().
|
inherited |
Definition at line 232 of file C4GuiContainers.cpp.
References C4GUI::Container::pFirst, and C4GUI::Element::pNext.
Referenced by C4ScriptGuiWindow::ExecuteCommand(), C4GUI::Tabular::GetSheetCount(), and C4GUI::ListBox::SortElements().
|
inlineinherited |
Definition at line 829 of file C4Gui.h.
References C4GUI::Container::pFirst.
Referenced by C4MapFolderData::CreateGUIElements(), C4GUI::ListBox::DrawElement(), C4GUI::Tabular::DrawElement(), C4GUI::ListBox::GetFirst(), GetFullscreenDialog(), GetMouseControlledDialogCount(), C4GUI::ListBox::MouseInput(), C4GUI::Tabular::MouseInput(), C4GUI::ContextMenu::MouseInput(), C4GUI::Tabular::MouseLeaveCaptionArea(), C4GUI::Tabular::RemoveElement(), ShowDialog(), C4GUI::ListBox::SortElements(), C4GameOptionsList::Update(), C4Network2ResDlg::Update(), C4Network2ClientListBox::Update(), C4GUI::ListBox::UpdateElementPositions(), C4Menu::UpdateElementPositions(), and C4GUI::Tabular::UpdateSize().
|
inlineoverridevirtualinherited |
Reimplemented from C4GUI::Element.
Definition at line 773 of file C4Gui.h.
References C4GUI::Container::pFirst.
Referenced by C4GUI::ListBox::OnGetFocus().
|
overridevirtualinherited |
Reimplemented from C4GUI::Element.
Definition at line 204 of file C4GuiContainers.cpp.
References C4GUI::Element::GetFirstNestedElement(), C4GUI::Container::pFirst, and C4GUI::Container::pLast.
Referenced by C4GUI::Container::GetNextNestedElement().
Dialog * C4GUI::Screen::GetFullscreenDialog | ( | bool | fIncludeFading | ) |
Definition at line 1037 of file C4Gui.cpp.
References C4GUI::Dialog::GetDlg(), C4GUI::Container::GetFirst(), C4GUI::Element::GetNext(), C4GUI::Dialog::IsFading(), C4GUI::Dialog::IsFullscreenDialog(), and C4GUI::Element::IsVisible().
Referenced by Draw(), and HasFullscreenDialog().
|
inlineinherited |
Definition at line 444 of file C4Gui.h.
References C4Rect::Hgt, and C4GUI::Element::rcBounds.
Referenced by ShowDialog().
|
inlineinherited |
Definition at line 830 of file C4Gui.h.
References C4GUI::Container::pLast.
Referenced by C4GUI::ListBox::GetLast(), C4Menu::InitSize(), and C4Menu::UpdateScrollBar().
|
inlinevirtualinherited |
|
inline |
Definition at line 2659 of file C4Gui.h.
References C4GUI::ContextMenu::GetLastMenuIndex().
Referenced by C4GUI::ComboBox::MouseInput().
|
inlinevirtualinherited |
Reimplemented in C4StartupNetListEntry, and C4StartupModsListEntry.
Definition at line 461 of file C4Gui.h.
References C4GUI_DefaultListSpacing.
Referenced by C4GUI::ListBox::AddElement(), C4GUI::ListBox::DrawElement(), and C4GUI::ListBox::UpdateElementPositions().
|
inlinevirtualinherited |
Definition at line 462 of file C4Gui.h.
Referenced by C4GUI::ListBox::DrawElement().
|
inlinevirtualinherited |
Reimplemented in C4StartupPlrPropertiesDlg, C4Menu, C4GUI::FullscreenDialog, C4GUI::Dialog, C4GUI::ContextMenu, C4GUI::TextWindow, C4GUI::Tabular, C4GUI::ListBox, C4GUI::Edit, and C4GUI::GroupBox.
Definition at line 876 of file C4Gui.h.
Referenced by C4GUI::Dialog::GetMarginBottom(), C4Menu::InitSize(), C4GoalDisplay::SetGoals(), and C4GUI::Window::UpdateOwnPos().
|
inlinevirtualinherited |
Reimplemented in C4StartupPlrPropertiesDlg, C4Menu, C4GUI::FullscreenDialog, C4GUI::Dialog, C4GUI::ContextMenu, C4GUI::TextWindow, C4GUI::Tabular, C4GUI::ListBox, C4GUI::Edit, and C4GUI::GroupBox.
Definition at line 874 of file C4Gui.h.
Referenced by C4GUI::Dialog::GetMarginLeft(), C4Menu::InitSize(), and C4GUI::Window::UpdateOwnPos().
|
inlinevirtualinherited |
Reimplemented in C4StartupPlrPropertiesDlg, C4Menu, C4GUI::FullscreenDialog, C4GUI::Dialog, C4GUI::ContextMenu, C4GUI::TextWindow, C4GUI::Tabular, C4GUI::ListBox, C4GUI::Edit, and C4GUI::GroupBox.
Definition at line 875 of file C4Gui.h.
Referenced by C4GUI::Dialog::GetMarginRight(), C4Menu::InitSize(), and C4GUI::Window::UpdateOwnPos().
|
inlinevirtualinherited |
Reimplemented in C4StartupScenSelDlg, C4StartupPlrPropertiesDlg, C4StartupPlrSelDlg, C4GUI::FullscreenDialog, C4GUI::Dialog, C4GUI::ContextMenu, C4GUI::TextWindow, C4GUI::Tabular, C4GUI::ListBox, C4GUI::Edit, and C4GUI::GroupBox.
Definition at line 873 of file C4Gui.h.
Referenced by C4GUI::Dialog::GetMarginTop(), C4Menu::InitSize(), C4GoalDisplay::SetGoals(), and C4GUI::Window::UpdateOwnPos().
int32_t C4GUI::Screen::GetMouseControlledDialogCount | ( | ) |
Definition at line 999 of file C4Gui.cpp.
References C4GUI::Dialog::GetDlg(), C4GUI::Container::GetFirst(), C4GUI::Element::GetNext(), iResult, C4GUI::Dialog::IsMouseControlled(), and C4GUI::Dialog::IsShown().
Referenced by MouseMove().
|
inlineinherited |
Definition at line 449 of file C4Gui.h.
References C4GUI::Element::pNext.
Referenced by ActivateDialog(), C4GUI::ListBox::CharIn(), C4GUI::ListBox::DrawElement(), C4GUI::Tabular::DrawElement(), GetFullscreenDialog(), GetMouseControlledDialogCount(), C4StartupScenSelDlg::ScenListItem::GetNext(), C4StartupNetListEntry::GetNextLower(), C4GUI::ListBox::MouseInput(), C4GUI::Tabular::MouseInput(), C4GUI::ContextMenu::MouseInput(), C4GUI::Tabular::MouseLeaveCaptionArea(), C4StartupPlrSelDlg::OnItemCheckChange(), C4GUI::Container::Iterator::operator++(), ShowDialog(), C4GUI::ListBox::SortElements(), C4GUI::ListBox::UpdateElementPositions(), and C4Menu::UpdateElementPositions().
|
inherited |
Definition at line 171 of file C4GuiContainers.cpp.
References C4GUI::Element::GetFirstContained(), C4GUI::Element::GetFirstNestedElement(), C4GUI::Container::GetFirstNestedElement(), C4GUI::Element::pNext, C4GUI::Element::pParent, and C4GUI::Element::pPrev.
Referenced by C4GUI::Dialog::AdvanceFocus().
|
inlineinherited |
Definition at line 440 of file C4Gui.h.
References StdStrBuf::getData().
|
inlineinherited |
Definition at line 429 of file C4Gui.h.
References C4GUI::Element::pParent.
Referenced by C4GUI::Dialog::AdvanceFocus(), C4GUI::Element::ClientPos2ScreenPos(), C4ScriptGuiWindow::Close(), C4ScriptGuiWindow::CreateFromPropList(), C4ScriptGuiWindow::Draw(), C4GUI::ListBox::ElementPosChanged(), C4GUI::TextWindow::ElementPosChanged(), C4GUI::ListBox::ElementSizeChanged(), C4GUI::TextWindow::ElementSizeChanged(), C4ScriptGuiWindowAction::Execute(), C4ScriptGuiWindowAction::ExecuteCommand(), C4GUI::Tabular::Sheet::IsActiveSheet(), C4GUI::Container::IsParentOf(), C4GUI::ContextMenu::Entry::MouseLeave(), C4StartupPlrSelDlg::OnItemCheckChange(), C4GUI::RenameEdit::RenameEdit(), C4ScriptGuiWindow::RequestLayoutUpdate(), C4GUI::Element::ScreenPos2ClientPos(), C4GUI::ListBox::SelectEntry(), C4GUI::Tabular::Sheet::SetTitle(), C4GUI::ScrollWindow::UpdateOwnPos(), and C4ChatControl::UpdateSize().
|
inline |
Definition at line 2603 of file C4Gui.h.
References PreferredDlgRect.
Referenced by C4ScoreboardDlg::Update().
|
inlineinherited |
Definition at line 450 of file C4Gui.h.
References C4GUI::Element::pPrev.
Referenced by C4GUI::ListBox::AddElement(), GetDialog(), GetTopDialog(), C4GUI::Window::MouseInput(), MouseInput(), and C4GUI::Container::ReverseIterator::operator++().
|
inlineoverridevirtual |
Reimplemented from C4GUI::Element.
|
inlinestatic |
Definition at line 2629 of file C4Gui.h.
References pScreen.
Referenced by C4StartupPlrSelDlg::CheckPlayerName(), C4GUI::Dialog::FadeIn(), C4GUI::FullscreenDialog::FullscreenDialog(), C4GUI::ContextMenu::GetScreen(), C4GUI::GetScreenHgt(), C4GUI::GetScreenWdt(), C4GUI::GetZoom(), C4GUI::IsActive(), C4GUI::IsExclusive(), C4GUI::MouseMove(), C4GUI::Element::RemoveElement(), C4GUI::Dialog::Show(), and C4GUI::Element::~Element().
|
inherited |
Definition at line 423 of file C4Gui.cpp.
References StdStrBuf::getData(), C4GUI::Element::GetToolTip(), StdStrBuf::isNull(), and C4GUI::Element::pParent.
Referenced by C4GUI::CMouse::Draw(), C4GUI::Element::GetToolTip(), C4GameLobby::MainDlg::OnRightTabContext(), and C4GameLobby::MainDlg::UpdateRightTab().
Dialog * C4GUI::Screen::GetTopDialog | ( | ) |
Definition at line 692 of file C4Gui.cpp.
References C4GUI::Dialog::GetDlg(), C4GUI::Element::GetPrev(), C4GUI::Dialog::IsShown(), and C4GUI::Container::pLast.
Referenced by CloseDialog(), C4GUI::Dialog::Draw(), HasKeyboardFocus(), IsActive(), and RecheckActiveDialog().
|
inherited |
Definition at line 399 of file C4Gui.cpp.
References C4GUI::Element::GetClientRect(), C4GUI::Element::GetContainedClientRect(), C4GUI::Element::GetContainer(), C4Rect::Hgt, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by C4GUI::ContextButton::ContextButton(), C4GameLobby::MainDlg::MainDlg(), C4GUI::Dialog::SetTitle(), and C4GUI::Dialog::UpdateSize().
|
inlineinherited |
Definition at line 443 of file C4Gui.h.
References C4GUI::Element::rcBounds, and C4Rect::Wdt.
Referenced by ShowDialog().
|
inline |
Definition at line 2631 of file C4Gui.h.
References fZoom.
Referenced by C4GUI::GetZoom(), and MouseInput().
|
inline |
Definition at line 2660 of file C4Gui.h.
References pContext.
Referenced by C4GUI::Dialog::IsActive().
bool C4GUI::Screen::HasFullscreenDialog | ( | bool | fIncludeFading | ) |
Definition at line 1032 of file C4Gui.cpp.
References GetFullscreenDialog().
Referenced by C4GraphicsSystem::Execute().
|
inline |
Definition at line 2671 of file C4Gui.h.
References GetTopDialog(), IsExclusive(), and C4GUI::Dialog::IsExclusiveDialog().
Referenced by CharIn(), C4Game::DoKeyboardInput(), and HasMouseFocus().
|
inline |
Definition at line 2678 of file C4Gui.h.
References HasKeyboardFocus().
Referenced by MouseMove(), and C4MouseControl::UpdateClip().
void C4GUI::Screen::Init | ( | int32_t | tx, |
int32_t | ty, | ||
int32_t | twdt, | ||
int32_t | thgt | ||
) |
Definition at line 578 of file C4Gui.cpp.
References fZoom, Mouse, C4GUI::Element::SetBounds(), SetPreferredDlgRect(), C4GUI::CMouse::x, and C4GUI::CMouse::y.
Referenced by C4Game::PreInit().
Definition at line 150 of file C4GuiContainers.cpp.
References C4GUI::Container::AddElement(), C4GUI::Container::pFirst, C4GUI::Element::pNext, C4GUI::Element::pParent, C4GUI::Element::pPrev, and C4GUI::Container::RemoveElement().
Referenced by C4GUI::ListBox::InsertElement(), and ShowDialog().
|
inline |
Definition at line 2633 of file C4Gui.h.
References GetTopDialog().
Referenced by C4GUI::IsActive(), C4MessageBoard::LogNotify(), and MouseMove().
|
inlinevirtualinherited |
Reimplemented in C4StartupPlrPropertiesDlg, C4GUI::FullscreenDialog, C4GUI::Dialog, and C4GUI::ScrollWindow.
Definition at line 870 of file C4Gui.h.
Referenced by C4GUI::Window::Draw().
|
inline |
Definition at line 2670 of file C4Gui.h.
References fExclusive.
Referenced by ActivateDialog(), CharIn(), C4Scoreboard::DoDlgShow(), ElementPosChanged(), HasKeyboardFocus(), C4Scoreboard::HideDlg(), C4GUI::Dialog::IsActive(), C4GUI::IsExclusive(), MouseInput(), and ShowDialog().
|
inlineprotectedvirtualinherited |
Reimplemented in C4Menu, and C4GUI::Dialog.
|
inlinevirtualinherited |
Reimplemented in C4GUI::Dialog, and C4GUI::ListBox.
Definition at line 836 of file C4Gui.h.
References C4GUI::Container::IsFocused(), and C4GUI::Element::pParent.
Referenced by C4GUI::Control::HasFocus(), C4GUI::Container::IsFocused(), and C4GUI::ListBox::IsFocused().
|
inlinevirtualinherited |
Reimplemented in C4GUI::ComboBox, C4GUI::TextWindow, C4GUI::Tabular, C4GUI::ListBox, C4GUI::CheckBox, and C4GUI::Control.
Definition at line 432 of file C4Gui.h.
Referenced by C4GUI::Dialog::AdvanceFocus().
|
inlineinherited |
Definition at line 441 of file C4Gui.h.
Referenced by C4GUI::CMouse::Draw().
|
inherited |
Definition at line 435 of file C4Gui.cpp.
References C4GUI::Element::GetDlg(), and C4GUI::Dialog::IsActive().
Referenced by C4GUI::ControlKeyDlgCB< TargetClass >::CheckCondition(), C4GUI::Button::DrawElement(), C4GUI::IconButton::DrawElement(), C4GUI::ArrowButton::DrawElement(), C4GUI::FacetButton::DrawElement(), C4GUI::CheckBox::DrawElement(), and C4GUI::ContextButton::DrawElement().
|
inlineprotectedvirtualinherited |
Reimplemented in C4GUI::ContextMenu, and C4GUI::ContextMenu::Entry.
Definition at line 403 of file C4Gui.h.
Referenced by C4GUI::Element::RemoveElement().
|
inlineprotectedvirtualinherited |
Reimplemented in C4Menu.
Definition at line 401 of file C4Gui.h.
Referenced by C4GUI::Container::ClearChildren().
|
overridevirtualinherited |
Reimplemented from C4GUI::Element.
Definition at line 239 of file C4GuiContainers.cpp.
References C4GUI::Element::GetParent().
Referenced by C4GUI::Control::MouseInput(), and C4GUI::Container::SetVisibility().
|
inlinevirtualinherited |
Reimplemented in C4GUI::Tabular, and C4GUI::ListBox.
Definition at line 837 of file C4Gui.h.
References C4GUI::Container::IsSelectedChild(), and C4GUI::Element::pParent.
Referenced by C4GUI::Dialog::AdvanceFocus(), C4StartupNetListEntry::DrawElement(), and C4GUI::Container::IsSelectedChild().
|
inherited |
Definition at line 201 of file C4Gui.cpp.
References C4GUI::Element::fVisible, C4GUI::Element::IsVisible(), and C4GUI::Element::pParent.
Referenced by C4GUI::Dialog::AdvanceFocus(), CharIn(), C4GUI::ControlKeyDlgCB< TargetClass >::CheckCondition(), C4GUI::Container::Draw(), C4GUI::Window::Draw(), Draw(), C4ScriptGuiWindow::Draw(), C4ScriptGuiWindow::DrawAll(), C4ScriptGuiWindow::DrawChildren(), C4ChatControl::GetDefaultControl(), GetFullscreenDialog(), C4GUI::Element::IsVisible(), C4ScriptGuiWindow::IsVisibleTo(), C4GUI::Window::MouseInput(), C4GUI::Control::MouseInput(), MouseInput(), C4GUI::Container::OnHotkey(), C4ScriptGuiWindow::ProcessMouseInput(), C4Menu::SetPosition(), C4Menu::UpdateElementPositions(), and C4GUI::TextWindow::UpdateSize().
bool C4GUI::Screen::KeyAny | ( | ) |
Definition at line 771 of file C4Gui.cpp.
References Mouse, and C4GUI::CMouse::ResetActiveInput().
Referenced by C4Game::DoKeyboardInput().
|
inherited |
Definition at line 106 of file C4GuiContainers.cpp.
References C4GUI::Container::pFirst, C4GUI::Container::pLast, C4GUI::Element::pNext, C4GUI::Element::pParent, and C4GUI::Element::pPrev.
Referenced by ActivateDialog().
|
inlinevirtualinherited |
Reimplemented in C4GUI::ComboBox, C4GUI::ContextButton, C4GUI::CheckBox, C4GUI::Button, C4MenuItem, and C4ScriptGuiWindow.
Definition at line 413 of file C4Gui.h.
Referenced by C4GUI::Button::MouseEnter(), C4GUI::CheckBox::MouseEnter(), C4GUI::ContextButton::MouseEnter(), C4GUI::ComboBox::MouseEnter(), and MouseInput().
|
overridevirtualinherited |
Reimplemented from C4GUI::Element.
Reimplemented in C4GUI::Dialog, C4GUI::ComboBox, C4GUI::ContextButton, C4GUI::ContextMenu, C4GUI::Tabular, C4GUI::ListBox, C4GUI::CheckBox, C4GUI::Edit, C4GUI::Button, C4GUI::Control, C4GUI::PaintBox, C4GUI::ScrollWindow, and C4StartupScenSelDlg::ScenListItem.
Definition at line 273 of file C4GuiContainers.cpp.
References C4GUI::Element::GetBounds(), C4GUI::Window::GetClientRect(), C4GUI::Element::GetPrev(), C4GUI::Element::IsVisible(), C4GUI::Element::MouseInput(), C4GUI::Container::pLast, C4GUI::Element::rcBounds, C4GUI::Window::rcClientRect, C4GUI::CMouse::x, C4Rect::x, and C4Rect::y.
Referenced by C4GUI::ScrollWindow::MouseInput(), C4GUI::Control::MouseInput(), C4GUI::ContextMenu::MouseInput(), C4GUI::Dialog::MouseInput(), and MouseInput().
|
override |
Definition at line 858 of file C4GuiContainers.cpp.
Referenced by MouseMove(), and RecheckMouseInput().
bool C4GUI::Screen::MouseInput | ( | int32_t | iButton, |
int32_t | iX, | ||
int32_t | iY, | ||
DWORD | dwKeyParam, | ||
Dialog * | pDlg, | ||
class C4Viewport * | pVP | ||
) |
Definition at line 837 of file C4Gui.cpp.
References AbortContext(), ActivateDialog(), C4MC_Button_LeftDown, C4MC_Button_RightDown, C4Rect::Contains(), C4GUI::ContextMenu::CtxMouseInput(), C4GUI::Element::DoDragging(), fZoom, C4GUI::Element::GetBounds(), C4GUI::Window::GetClientRect(), C4GUI::Element::GetDlg(), C4GUI::Dialog::GetDlg(), C4Viewport::GetOutputRect(), C4GUI::Element::GetPrev(), C4GUI::Dialog::GetViewport(), GetZoom(), C4GUI::CMouse::Input(), IsExclusive(), C4GUI::Dialog::IsExternalDrawDialog(), C4GUI::Dialog::IsFading(), C4GUI::CMouse::IsLDown(), C4GUI::Dialog::IsShown(), C4GUI::Element::IsVisible(), Mouse, C4GUI::Element::MouseEnter(), C4GUI::Window::MouseInput(), C4GUI::Dialog::MouseInput(), C4GUI::Element::MouseLeave(), pActiveDlg, pContext, C4GUI::CMouse::pDragElement, C4GUI::Container::pLast, C4GUI::CMouse::pMouseOverElement, C4GUI::CMouse::pPrevMouseOverElement, C4GUI::Element::rcBounds, C4GUI::Element::ScreenPos2ClientPos(), C4GUI::Element::StopDragging(), C4Rect::x, and C4Rect::y.
|
inlinevirtualinherited |
Reimplemented in C4GUI::ComboBox, C4GUI::ContextButton, C4GUI::ContextMenu::Entry, C4GUI::Tabular, C4GUI::CheckBox, C4GUI::Button, C4GUI::ScrollBar, and C4ScriptGuiWindow.
Definition at line 414 of file C4Gui.h.
Referenced by MouseInput(), C4GUI::ScrollBar::MouseLeave(), C4GUI::Button::MouseLeave(), C4GUI::CheckBox::MouseLeave(), C4GUI::Tabular::MouseLeave(), C4GUI::ContextButton::MouseLeave(), C4GUI::ComboBox::MouseLeave(), C4GUI::CMouse::ReleaseElements(), and C4GUI::CMouse::RemoveElement().
void C4GUI::Screen::MouseMove | ( | int32_t | iButton, |
int32_t | iX, | ||
int32_t | iY, | ||
DWORD | dwKeyParam, | ||
class C4Viewport * | pVP | ||
) |
Definition at line 797 of file C4Gui.cpp.
References GetMouseControlledDialogCount(), HasMouseFocus(), IsActive(), C4MouseControl::IsActive(), C4MouseControl::IsDragging(), MouseControl, MouseInput(), C4ViewportList::MouseMoveToViewport(), SetMouseInGUI(), and Viewports.
Referenced by C4GUI::MouseMove().
|
overrideprotectedvirtualinherited |
Reimplemented from C4GUI::Element.
Reimplemented in C4GUI::CheckBox, and C4GUI::Button.
Definition at line 212 of file C4GuiContainers.cpp.
References C4GUI::Element::IsVisible(), C4GUI::Container::pFirst, and C4GUI::Element::pNext.
void C4GUI::Screen::OnSec1Timer | ( | ) |
|
inlineinherited |
Definition at line 826 of file C4Gui.h.
References C4GUI::Container::pLast.
Referenced by C4ScriptGuiWindow::MouseInput(), and C4ScriptGuiWindow::ProcessMouseInput().
|
inherited |
Definition at line 134 of file C4GuiContainers.cpp.
References C4GUI::Container::pFirst, C4GUI::Container::pLast, C4GUI::Element::pNext, C4GUI::Element::pParent, and C4GUI::Element::pPrev.
Referenced by C4GUI::ListBox::SortElements().
void C4GUI::Screen::RecheckActiveDialog | ( | ) |
Definition at line 683 of file C4Gui.cpp.
References GetTopDialog(), C4GUI::Dialog::IsFading(), Mouse, pActiveDlg, and C4GUI::CMouse::ReleaseElements().
Referenced by C4GUI::Dialog::Draw().
bool C4GUI::Screen::RecheckMouseInput | ( | ) |
Definition at line 960 of file C4Gui.cpp.
References C4MC_Button_None, C4GUI::CMouse::dwKeys, Mouse, MouseInput(), C4GUI::CMouse::x, and C4GUI::CMouse::y.
|
overridevirtual |
Reimplemented from C4GUI::Container.
Definition at line 556 of file C4Gui.cpp.
References Mouse, pActiveDlg, pContext, C4GUI::CMouse::RemoveElement(), C4GUI::Container::RemoveElement(), C4GUI::ContextMenu::RemoveElement(), and C4GUI::CMouse::ResetElements().
Referenced by C4GUI::Element::RemoveElement(), C4Menu::TryClose(), C4GUI::ContextMenu::~ContextMenu(), and C4GUI::Element::~Element().
|
inlineinherited |
Definition at line 827 of file C4Gui.h.
Referenced by C4ScriptGuiWindow::MouseInput(), and C4ScriptGuiWindow::ProcessMouseInput().
void C4GUI::Screen::Render | ( | bool | fDoBG | ) |
Definition at line 730 of file C4Gui.cpp.
References Draw(), FullScreen, C4Window::pSurface, C4GUI::Element::rcBounds, and C4TargetFacet::Set().
Referenced by C4GraphicsSystem::Execute().
void C4GUI::Screen::RenderMouse | ( | C4TargetFacet & | cgo | ) |
Definition at line 739 of file C4Gui.cpp.
References C4GUI::CMouse::Draw(), C4GUI::CMouse::IsActiveInput(), C4GUI::CMouse::IsMouseStill(), Mouse, C4GUI::CMouse::TTST_All, C4GUI::CMouse::TTST_Immediate, and C4GUI::CMouse::TTST_None.
Referenced by Draw(), and C4Viewport::DrawOverlay().
|
inherited |
Definition at line 218 of file C4Gui.cpp.
References C4GUI::Container::ApplyElementOffset(), C4GUI::Element::GetParent(), C4GUI::Element::pParent, C4GUI::Element::rcBounds, C4Rect::x, and C4Rect::y.
Referenced by MouseInput(), and C4GUI::CMouse::ReleaseElements().
|
inlineinherited |
Definition at line 446 of file C4Gui.h.
References C4GUI::Element::rcBounds, C4GUI::Element::UpdatePos(), and C4GUI::Element::UpdateSize().
Referenced by C4GameOptionButtons::C4GameOptionButtons(), C4GoalDisplay::C4GoalDisplay(), C4StartupModsListEntry::C4StartupModsListEntry(), C4StartupNetDlg::C4StartupNetDlg(), C4StartupNetListEntry::C4StartupNetListEntry(), C4GUI::ContextButton::ContextButton(), C4GUI::ListBox::ContractToElementHeight(), C4GUI::Control::Control(), C4GUI::Dialog::Dialog(), C4ChatDlg::DoPlacement(), C4StartupNetListEntry::Execute(), C4GUI::FullscreenDialog::FullscreenDialog(), C4GUI::GroupBox::GroupBox(), C4GUI::HorizontalLine::HorizontalLine(), Init(), C4Menu::InitSize(), C4GUI::LabeledEdit::LabeledEdit(), C4StartupModsListEntry::MakeInfoEntry(), C4Game::OnResolutionChanged(), C4GameLobby::ScenDesc::ScenDesc(), C4StartupScenSelDlg::ScenListItem::ScenListItem(), C4GUI::ScrollWindow::ScrollWindow(), C4GUI::InputDialog::SetCustomEdit(), C4GUI::Tabular::SetGfx(), C4GoalDisplay::SetGoals(), C4StartupNetListEntry::SetReference(), C4StartupNetListEntry::SetRefQuery(), C4GUI::Tabular::Sheet::Sheet(), C4GUI::TextWindow::TextWindow(), C4ScoreboardDlg::Update(), C4GUI::ListBox::UpdateElementPositions(), C4Menu::UpdateElementPositions(), C4GUI::ScrollWindow::UpdateOwnPos(), C4ChatControl::UpdateSize(), C4ChatDlg::UpdateSize(), C4GUI::TextWindow::UpdateSize(), and C4GUI::Dialog::UpdateSize().
|
inlineinherited |
Definition at line 465 of file C4Gui.h.
References C4GUI::ContextHandler::DeRef(), C4GUI::Element::pContextHandler, and C4GUI::ContextHandler::Ref().
Referenced by C4StartupMainDlg::C4StartupMainDlg(), C4GUI::ContextButton::ContextButton(), C4GUI::Edit::Edit(), and C4GameLobby::MainDlg::MainDlg().
|
inlineinherited |
Definition at line 464 of file C4Gui.h.
References C4GUI::Element::pDragTarget.
Referenced by C4GUI::Dialog::SetTitle().
|
inline |
Definition at line 2669 of file C4Gui.h.
References fExclusive, Mouse, C4GUI::CMouse::SetOwnedMouse(), and UpdateMouseFocus().
Referenced by C4Game::Init().
void C4GUI::Screen::SetMouseInGUI | ( | bool | fInGUI, |
bool | fByMouse | ||
) |
Definition at line 824 of file C4Gui.cpp.
References C4MC_Button_None, C4GUI::CMouse::dwKeys, C4GUI::GetZoom(), C4MouseControl::IsMouseOwned(), Mouse, MouseControl, C4ViewportList::MouseMoveToViewport(), pGUI, C4GUI::CMouse::SetOwnedMouse(), C4MouseControl::SetOwnedMouse(), Viewports, C4GUI::CMouse::x, and C4GUI::CMouse::y.
Referenced by C4GraphicsSystem::Execute(), and MouseMove().
|
inlineinherited |
Definition at line 860 of file C4Gui.h.
References C4GUI::Element::rcBounds, C4GUI::Element::UpdatePos(), C4Rect::x, and C4Rect::y.
Referenced by C4ScoreboardDlg::DoPlacement(), C4Menu::InitLocation(), C4StartupPlrSelDlg::OnNewBtn(), C4StartupPlrSelDlg::OnPropertyBtn(), C4Menu::SetLocation(), and ShowDialog().
|
inline |
Definition at line 2651 of file C4Gui.h.
References PreferredDlgRect.
Referenced by Init(), C4ViewportList::RecalculateViewports(), C4Viewport::SetOutputSize(), and C4MouseControl::UpdateClip().
|
inherited |
Definition at line 409 of file C4Gui.cpp.
References StdStrBuf::Clear(), and StdStrBuf::Copy().
Referenced by C4GUI::ContextMenu::AddItem(), C4GameOverDlg::C4GameOverDlg(), C4LeagueSignupDialog::C4LeagueSignupDialog(), C4MenuItem::C4MenuItem(), C4StartupAboutDlg::C4StartupAboutDlg(), C4StartupLegalDlg::C4StartupLegalDlg(), C4StartupMainDlg::C4StartupMainDlg(), C4StartupModsDlg::C4StartupModsDlg(), C4StartupNetDlg::C4StartupNetDlg(), C4StartupOptionsDlg::C4StartupOptionsDlg(), C4StartupPlrPropertiesDlg::C4StartupPlrPropertiesDlg(), C4StartupPlrSelDlg::C4StartupPlrSelDlg(), C4StartupScenSelDlg::C4StartupScenSelDlg(), C4MapFolderData::CreateGUIElements(), C4GUI::InfoDialog::CreateSubComponents(), C4GUI::FullscreenDialog::FullscreenDialog(), C4GUI::IconButton::IconButton(), C4GUI::InputDialog::InputDialog(), C4GameLobby::MainDlg::MainDlg(), C4GUI::ProgressDialog::ProgressDialog(), C4StartupScenSelDlg::ScenListItem::ScenListItem(), C4GUI::InputDialog::SetCustomEdit(), C4GUI::FullscreenDialog::SetTitle(), C4GUI::Dialog::SetTitle(), C4ChatControl::ChatSheet::NickItem::Update(), and C4GameLobby::MainDlg::UpdateRightTab().
|
overridevirtualinherited |
Reimplemented from C4GUI::Element.
Reimplemented in C4StartupNetListEntry, and C4StartupModsListEntry.
Definition at line 247 of file C4GuiContainers.cpp.
References C4GUI::Element::GetDlg(), C4GUI::Dialog::GetFocus(), C4GUI::Container::IsParentOf(), C4GUI::Dialog::SetFocus(), and C4GUI::Element::SetVisibility().
Referenced by C4GUI::Tabular::AddCustomSheet(), C4LeagueSignupDialog::C4LeagueSignupDialog(), C4Menu::C4Menu(), C4StartupScenSelDlg::C4StartupScenSelDlg(), C4Menu::Draw(), C4Menu::InitLocation(), C4StartupModsDownloader::OnConfirmInstallation(), C4StartupModsListEntry::SetVisibility(), and C4StartupNetListEntry::SetVisibility().
void C4GUI::Screen::ShowDialog | ( | Dialog * | pDlg, |
bool | fFade | ||
) |
Definition at line 611 of file C4Gui.cpp.
References Application, C4GUI::Dialog::DoPlacement(), C4GUI::Dialog::fOK, C4GUI::Dialog::fShow, C4GUI::Element::GetDlg(), C4GUI::Container::GetFirst(), C4GUI::Element::GetHeight(), C4GUI::Element::GetNext(), C4GUI::Element::GetWidth(), C4GUI::Dialog::GetZOrdering(), C4GUI::Container::InsertElement(), C4GUI::Dialog::IsBottomPlacementDialog(), C4Application::isEditor, IsExclusive(), C4GUI::Dialog::IsExternalDrawDialog(), C4GUI::Dialog::IsFreePlaceDialog(), C4GUI::Dialog::IsViewportDialog(), pActiveDlg, PreferredDlgRect, C4GUI::Window::SetPos(), UpdateMouseFocus(), C4Rect::x, and C4Rect::y.
Referenced by C4GUI::Dialog::FadeIn(), and C4GUI::Dialog::Show().
bool C4GUI::Screen::ShowErrorMessage | ( | const char * | szMessage | ) |
Definition at line 1046 of file C4GuiDialogs.cpp.
References C4GUI::Ico_Error, LoadResStr(), and ShowMessage().
Referenced by C4StartupNetDlg::DoOK(), C4Network2::LeagueShowError(), C4StartupPlrPropertiesDlg::OnClosed(), C4ChatControl::OnConnectBtn(), C4StartupMainDlg::OnEditorBtn(), and C4FileSelDlg::UserClose().
bool C4GUI::Screen::ShowMessage | ( | const char * | szMessage, |
const char * | szCaption, | ||
Icons | icoIcon, | ||
int32_t * | piConfigDontShowAgainSetting = nullptr |
||
) |
Definition at line 1034 of file C4GuiDialogs.cpp.
References C4GUI::MessageDialog::btnOK, C4GUI::MessageDialog::dsRegular, LogSilentF(), and ShowRemoveDlg().
Referenced by C4StartupPlrSelDlg::CheckPlayerName(), C4StartupScenSelDlg::DoOK(), C4Startup::DoStartup(), C4Network2IRCClient::Join(), C4StartupPlrPropertiesDlg::OnClosed(), C4StartupPlrSelDlg::OnDelBtnConfirm(), C4StartupMainDlg::OnTODO(), C4StartupOptionsDlg::SaveConfig(), ShowErrorMessage(), and C4StartupPlrSelDlg::PlayerListItem::UpdateCore().
bool C4GUI::Screen::ShowMessageModal | ( | const char * | szMessage, |
const char * | szCaption, | ||
DWORD | dwButtons, | ||
Icons | icoIcon, | ||
int32_t * | piConfigDontShowAgainSetting = nullptr |
||
) |
Definition at line 1051 of file C4GuiDialogs.cpp.
References C4GUI::MessageDialog::dsRegular, LogSilentF(), and ShowModalDlg().
Referenced by C4StartupScenSelDlg::DeleteConfirm(), C4StartupModsDlg::DoOK(), C4StartupNetDlg::DoOK(), C4StartupNetDlg::DoRefresh(), C4DownloadDlg::DownloadFile(), C4Network2::InitLeague(), C4Network2::LeagueEnd(), C4Network2::LeaguePlrAuth(), C4Network2::LeagueStart(), C4ScenarioListLoader::Entry::RenameTo(), C4PlayerInfoList::RestoreSavegameInfos(), C4ScenarioListLoader::Entry::SetTitleInGroup(), C4GameLobby::MainDlg::Start(), C4StartupPlrPropertiesDlg::UserClose(), and C4LeagueSignupDialog::UserClose().
bool C4GUI::Screen::ShowModalDlg | ( | Dialog * | pDlg, |
bool | fDestruct = true |
||
) |
Definition at line 1071 of file C4GuiDialogs.cpp.
References C4GUI::Dialog::DoModal(), and C4GUI::Dialog::Show().
Referenced by C4StartupPlrPropertiesDlg::OnClrChangeCustom(), C4StartupMainDlg::OnShown(), C4Network2::QueryClientPassword(), C4DefinitionSelDlg::SelectDefinitions(), C4PortraitSelDlg::SelectPortrait(), ShowMessageModal(), and C4LeagueSignupDialog::ShowModal().
ProgressDialog * C4GUI::Screen::ShowProgressDlg | ( | const char * | szMessage, |
const char * | szCaption, | ||
int32_t | iMaxProgress = 100 , |
||
int32_t | iInitialProgress = 0 , |
||
Icons | icoIcon = Ico_Wait |
||
) |
Definition at line 1061 of file C4GuiDialogs.cpp.
References C4GUI::Dialog::Show().
bool C4GUI::Screen::ShowRemoveDlg | ( | Dialog * | pDlg | ) |
Definition at line 1090 of file C4GuiDialogs.cpp.
References C4GUI::Dialog::SetDelOnClose(), and C4GUI::Dialog::Show().
Referenced by C4Scoreboard::DoDlgShow(), C4Startup::DoStartup(), C4StartupScenSelDlg::KeyCheat(), C4StartupScenSelDlg::KeyDelete(), C4GameOptionButtons::OnBtnComment(), C4GameOptionButtons::OnBtnPassword(), C4StartupPlrSelDlg::OnDelBtn(), C4StartupPlrSelDlg::OnNewBtn(), C4StartupPlrSelDlg::OnPropertyBtn(), C4FullScreen::ShowAbortDlg(), ShowMessage(), C4MessageInput::StartTypeIn(), C4Network2ClientListDlg::Toggle(), and C4ChartDialog::Toggle().
|
virtualinherited |
Definition at line 259 of file C4Gui.cpp.
References C4GUI::Element::fDragging, C4GUI::Element::iDragX, C4GUI::Element::iDragY, and C4GUI::CMouse::pDragElement.
Referenced by C4MenuItem::MouseInput(), and C4GUI::Element::MouseInput().
|
virtualinherited |
Definition at line 282 of file C4Gui.cpp.
References C4GUI::Element::DoDragging().
Referenced by MouseInput(), and C4GUI::CMouse::ReleaseElements().
void C4GUI::Screen::UpdateGamepadGUIControlEnabled | ( | ) |
void C4GUI::Screen::UpdateMouseFocus | ( | ) |
Definition at line 965 of file C4Gui.cpp.
References MouseControl, and C4MouseControl::UpdateClip().
Referenced by CloseDialog(), SetExclusive(), and ShowDialog().
|
overridevirtualinherited |
Reimplemented from C4GUI::Element.
Reimplemented in C4StartupScenSelDlg::ScenListItem, C4Menu, C4GUI::FullscreenDialog, C4GUI::CheckBox, and C4GUI::ScrollWindow.
Definition at line 324 of file C4GuiContainers.cpp.
References C4GUI::Window::GetMarginBottom(), C4GUI::Window::GetMarginLeft(), C4GUI::Window::GetMarginRight(), C4GUI::Window::GetMarginTop(), C4Rect::Hgt, C4GUI::Element::rcBounds, C4GUI::Window::rcClientRect, C4Rect::Set(), C4GUI::Element::UpdateOwnPos(), C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by C4GameOverDlg::C4GameOverDlg(), C4GUI::Edit::Edit(), C4GUI::ListBox::ListBox(), C4GUI::Dialog::SetFrameDeco(), C4GUI::GroupBox::SetMargin(), C4GUI::Tabular::SetSheetMargin(), C4GUI::GroupBox::SetTitle(), C4GUI::Tabular::Tabular(), C4GUI::TextWindow::TextWindow(), C4FileSelDlg::DefaultListItem::UpdateOwnPos(), C4GUI::FullscreenDialog::UpdateOwnPos(), and C4GUI::Window::Window().
|
protectedvirtualinherited |
Reimplemented in C4GUI::Dialog.
Definition at line 193 of file C4Gui.cpp.
References C4GUI::Container::ElementPosChanged(), C4GUI::Element::pParent, and C4GUI::Element::UpdateOwnPos().
Referenced by C4GUI::Element::DoDragging(), C4GUI::ContextMenu::Open(), C4GUI::ProgressBar::ProgressBar(), C4GUI::Element::SetBounds(), C4GUI::Window::SetPos(), and C4GUI::Dialog::UpdatePos().
|
protectedvirtualinherited |
Reimplemented in C4GUI::Dialog, C4GUI::TextWindow, C4GUI::Tabular, C4GUI::ListBox, C4GUI::MultilineLabel, C4ChatDlg, and C4ChatControl.
Definition at line 185 of file C4Gui.cpp.
References C4GUI::Container::ElementSizeChanged(), C4GUI::Element::pParent, and C4GUI::Element::UpdateOwnPos().
Referenced by C4FileSelDlg::DefaultListItem::DefaultListItem(), C4GUI::Element::SetBounds(), C4GUI::Label::SetX0(), C4GUI::MultilineLabel::UpdateHeight(), C4GUI::ListBox::UpdateSize(), C4GUI::Tabular::UpdateSize(), C4GUI::TextWindow::UpdateSize(), and C4GUI::Dialog::UpdateSize().
|
friend |
|
protectedinherited |
Definition at line 380 of file C4Gui.h.
Referenced by C4GUI::Element::StartDragging().
|
protected |
Definition at line 2595 of file C4Gui.h.
Referenced by Clear(), IsExclusive(), and SetExclusive().
|
inherited |
Definition at line 383 of file C4Gui.h.
Referenced by C4GUI::Dialog::Draw(), C4GUI::Dialog::FadeIn(), C4GUI::Dialog::FadeOut(), C4GUI::Element::IsVisible(), C4GUI::Element::SetVisibility(), C4StartupModsListEntry::SetVisibility(), C4StartupNetListEntry::SetVisibility(), C4GUI::Dialog::Show(), and C4GUI::ListBox::UpdateElementPositions().
|
protected |
|
protectedinherited |
Definition at line 379 of file C4Gui.h.
Referenced by C4GUI::Element::DoDragging(), and C4GUI::Element::StartDragging().
|
protectedinherited |
Definition at line 379 of file C4Gui.h.
Referenced by C4GUI::Element::DoDragging(), and C4GUI::Element::StartDragging().
CMouse C4GUI::Screen::Mouse |
Definition at line 2590 of file C4Gui.h.
Referenced by ActivateDialog(), CharIn(), CloseDialog(), C4Menu::Draw(), Init(), KeyAny(), MouseInput(), RecheckActiveDialog(), RecheckMouseInput(), C4GUI::ContextMenu::RemoveElement(), RemoveElement(), RenderMouse(), SetExclusive(), SetMouseInGUI(), and C4GUI::Element::SetVisibility().
|
protected |
Definition at line 2593 of file C4Gui.h.
Referenced by ActivateDialog(), CharIn(), CloseAllDialogs(), CloseDialog(), C4GUI::Dialog::IsActive(), MouseInput(), RecheckActiveDialog(), RemoveElement(), Screen(), and ShowDialog().
|
protected |
Definition at line 2594 of file C4Gui.h.
Referenced by AbortContext(), CharIn(), DoContext(), Draw(), GetContextMenuIndex(), HasContext(), C4GUI::ContextMenu::IsSubmenu(), MouseInput(), and RemoveElement().
|
protectedinherited |
Definition at line 381 of file C4Gui.h.
Referenced by C4GUI::Element::DoContext(), C4GUI::Element::GetContextHandler(), C4GUI::Dialog::GetContextHandler(), C4GUI::Element::SetContextHandler(), and C4GUI::Element::~Element().
|
protectedinherited |
Definition at line 378 of file C4Gui.h.
Referenced by C4GUI::Element::DoDragging(), C4GUI::Element::MouseInput(), and C4GUI::Element::SetDragTarget().
|
protectedinherited |
Definition at line 750 of file C4Gui.h.
Referenced by C4GUI::Container::AddElement(), C4GUI::Container::begin(), C4GUI::Container::ClearChildren(), C4GUI::Container::Container(), C4GUI::Container::Draw(), C4GUI::Container::GetElementByIndex(), C4GUI::Container::GetElementCount(), C4GUI::Container::GetFirst(), C4GUI::Container::GetFirstContained(), C4GUI::Container::GetFirstNestedElement(), C4GUI::Container::InsertElement(), C4GUI::Container::MakeLastElement(), C4GUI::Container::OnHotkey(), C4GUI::Container::ReaddElement(), and C4GUI::Container::RemoveElement().
|
protectedinherited |
Definition at line 750 of file C4Gui.h.
Referenced by C4GUI::Container::AddElement(), C4GUI::Container::ClearChildren(), C4GUI::Container::Container(), GetDialog(), C4GUI::Container::GetFirstNestedElement(), C4GUI::Container::GetLast(), C4GUI::Container::GetLastContained(), GetTopDialog(), C4Menu::InitSize(), C4GUI::Container::MakeLastElement(), C4GUI::Window::MouseInput(), MouseInput(), C4GUI::Container::rbegin(), C4GUI::Container::ReaddElement(), C4GUI::Container::RemoveElement(), and C4Menu::UpdateScrollBar().
|
protectedinherited |
Definition at line 377 of file C4Gui.h.
Referenced by C4GUI::Container::AddElement(), C4GUI::Container::ClearChildren(), C4GUI::Container::Draw(), C4GUI::Container::GetElementByIndex(), C4GUI::Container::GetElementCount(), C4GUI::Element::GetNext(), C4GUI::Container::GetNextNestedElement(), C4GUI::Container::InsertElement(), C4GUI::Container::MakeLastElement(), C4GUI::Container::OnHotkey(), C4GUI::Container::ReaddElement(), C4GUI::Container::RemoveElement(), C4Network2ResDlg::Update(), C4Network2ClientListBox::Update(), and C4Menu::UpdateElementPositions().
|
protectedinherited |
Definition at line 376 of file C4Gui.h.
Referenced by C4GUI::Container::AddElement(), C4GUI::Container::AfterElementRemoval(), C4GUI::Container::ClearChildren(), C4GUI::Element::ClientPos2ScreenPos(), C4GUI::ScrollWindow::ElementPosChanged(), C4GUI::ScrollWindow::ElementSizeChanged(), C4GUI::Element::GetContainer(), C4GUI::Element::GetContextHandler(), C4GUI::Element::GetDlg(), C4GUI::Container::GetNextNestedElement(), C4GUI::Element::GetParent(), C4GUI::Element::GetScreen(), C4GUI::Element::GetToolTip(), C4GUI::Control::HasFocus(), C4GUI::Container::InsertElement(), C4GUI::Container::IsFocused(), C4GUI::Container::IsSelectedChild(), C4GUI::Element::IsVisible(), C4GUI::Container::MakeLastElement(), C4GUI::Container::ReaddElement(), C4GUI::Element::RemoveElement(), C4GUI::Container::RemoveElement(), C4GUI::Element::ScreenPos2ClientPos(), C4GUI::Element::UpdatePos(), C4GUI::Element::UpdateSize(), and C4GUI::Element::~Element().
|
protectedinherited |
Definition at line 377 of file C4Gui.h.
Referenced by C4GUI::Container::AddElement(), C4GUI::Container::ClearChildren(), C4GUI::Container::GetNextNestedElement(), C4GUI::Element::GetPrev(), C4GUI::Container::InsertElement(), C4GUI::Container::MakeLastElement(), C4GUI::Container::ReaddElement(), C4GUI::Container::RemoveElement(), and C4Menu::UpdateElementPositions().
|
protected |
Definition at line 2596 of file C4Gui.h.
Referenced by GetPreferredDlgRect(), SetPreferredDlgRect(), and ShowDialog().
|
staticprotected |
Definition at line 2599 of file C4Gui.h.
Referenced by GetScreenS(), Screen(), and ~Screen().
|
protectedinherited |
Definition at line 385 of file C4Gui.h.
Referenced by C4Chart::C4Chart(), C4GameOptionButtons::C4GameOptionButtons(), C4GoalDisplay::C4GoalDisplay(), C4StartupMainDlg::C4StartupMainDlg(), C4StartupScenSelDlg::C4StartupScenSelDlg(), C4GUI::Element::ClientPos2ScreenPos(), C4GUI::ContextMenu::ContextMenu(), C4GUI::Dialog::CreateConsoleWindow(), C4GUI::ContextMenu::CtxMouseInput(), C4FileSelDlg::DefaultListItem::DefaultListItem(), C4GUI::Dialog::Dialog(), C4GUI::Element::DoContext(), C4GUI::Element::DoDragging(), C4ScoreboardDlg::DoPlacement(), C4GUI::Dialog::Draw(), C4ScriptGuiWindow::Draw(), C4GUI::Element::Draw3DFrame(), C4GUI::Element::DrawBar(), C4ScriptGuiWindow::DrawChildren(), C4GUI::Label::DrawElement(), C4GUI::WoodenLabel::DrawElement(), C4GUI::MultilineLabel::DrawElement(), C4GUI::ProgressBar::DrawElement(), C4GUI::HorizontalLine::DrawElement(), C4GUI::Picture::DrawElement(), C4GUI::OverlayPicture::DrawElement(), C4GUI::ScrollBar::DrawElement(), C4GUI::GroupBox::DrawElement(), C4GUI::PaintBox::DrawElement(), C4GUI::Button::DrawElement(), C4GUI::IconButton::DrawElement(), C4GUI::ArrowButton::DrawElement(), C4GUI::FacetButton::DrawElement(), C4GUI::Edit::DrawElement(), C4GUI::CheckBox::DrawElement(), C4GUI::ListBox::DrawElement(), C4GUI::Tabular::DrawElement(), C4GUI::TextWindow::DrawElement(), C4GUI::ContextMenu::Entry::DrawElement(), C4GUI::ContextMenu::DrawElement(), C4GUI::ContextButton::DrawElement(), C4GUI::ComboBox::DrawElement(), C4GUI::Dialog::DrawElement(), C4MenuItem::DrawElement(), C4Menu::DrawElement(), C4StartupMainDlg::DrawElement(), C4StartupNetListEntry::DrawElement(), C4StartupPlrPropertiesDlg::DrawElement(), C4Chart::DrawElement(), C4GUI::Element::DrawHBarByVGfx(), C4GUI::Element::DrawHVBar(), C4GUI::Element::DrawVBar(), C4GUI::Element::Element(), C4GUI::ContextMenu::Entry::Entry(), C4GUI::Element::GetBounds(), C4GUI::Element::GetClientRect(), C4ScriptGuiWindow::GetClippingRect(), C4GUI::Element::GetHeight(), C4GUI::WoodenLabel::GetLeftIndent(), C4GUI::Tabular::GetMarginBottom(), C4GUI::Tabular::GetMarginLeft(), C4GUI::Tabular::GetMarginRight(), C4GUI::Tabular::GetMarginTop(), C4StartupPlrSelDlg::GetMarginTop(), C4StartupScenSelDlg::GetMarginTop(), C4GUI::Element::GetWidth(), C4GUI::ScrollBar::HasPin(), C4Menu::InitLocation(), C4Menu::InitSize(), C4GUI::ScrollWindow::IsScrollingNecessary(), C4GUI::Label::Label(), C4GUI::LabeledEdit::LabeledEdit(), C4GUI::Window::MouseInput(), C4GUI::CheckBox::MouseInput(), C4GUI::Tabular::MouseInput(), C4GUI::ContextMenu::MouseInput(), C4ScriptGuiWindow::MouseInput(), MouseInput(), C4GUI::MultilineLabel::MultilineLabel(), C4ChatControl::ChatSheet::NickItem::NickItem(), C4ScriptGuiWindow::OnMouseIn(), C4GUI::ContextMenu::Open(), C4GUI::Picture::Picture(), C4ScriptGuiWindow::ProcessMouseInput(), C4GUI::ProgressBar::ProgressBar(), Render(), C4GameLobby::ScenDesc::ScenDesc(), C4GUI::Element::ScreenPos2ClientPos(), C4GUI::ScrollBar::ScrollBar(), C4GUI::Element::SetBounds(), C4GUI::Dialog::SetClientSize(), C4GUI::Tabular::SetGfx(), C4GUI::Window::SetPos(), C4GUI::Label::SetText(), C4GUI::Dialog::SetTitle(), C4GUI::Label::SetX0(), C4GUI::Tabular::Sheet::Sheet(), C4GUI::ScrollWindow::Update(), C4ScoreboardDlg::Update(), C4GUI::MultilineLabel::UpdateHeight(), C4ScriptGuiWindow::UpdateLayout(), C4ScriptGuiWindow::UpdateLayoutGrid(), C4ScriptGuiWindow::UpdateLayoutTightGrid(), C4ScriptGuiWindow::UpdateLayoutVertical(), C4GUI::Label::UpdateOwnPos(), C4GUI::Window::UpdateOwnPos(), C4GUI::Dialog::UpdatePos(), C4GUI::MultilineLabel::UpdateSize(), C4GUI::Dialog::UpdateSize(), and C4GUI::WoodenLabel::WoodenLabel().
|
protectedinherited |
Definition at line 851 of file C4Gui.h.
Referenced by C4GUI::Window::ApplyElementOffset(), C4GUI::Window::ApplyInvElementOffset(), C4GUI::Window::Draw(), C4GUI::Edit::DrawElement(), C4ScoreboardDlg::DrawElement(), C4GUI::FullscreenDialog::FullscreenDialog(), C4GUI::Window::GetClientRect(), C4GUI::Window::MouseInput(), C4GUI::ScrollWindow::SetScroll(), C4GUI::ScrollWindow::Update(), and C4GUI::Window::UpdateOwnPos().