#include <C4ScriptGuiWindow.h>
Public Types | |
enum | MouseState { None = 0 , Focus = 1 , MouseDown = 2 } |
Public Member Functions | |
void | SetTag (C4String *tag) |
C4ScriptGuiWindow () | |
~C4ScriptGuiWindow () override | |
int32_t | GetID () |
C4ScriptGuiWindow * | GetChildByID (int32_t child) |
C4ScriptGuiWindow * | GetChildByName (C4String *childName) |
C4ScriptGuiWindow * | GetSubWindow (int32_t childID, C4Object *childTarget) |
bool | CreateFromPropList (C4PropList *proplist, bool resetStdTag=false, bool isUpdate=false, bool isLoading=false) |
const C4Value | ToC4Value () |
void | SetEnumeratedID (int enumID) |
void | Denumerate (C4ValueNumbers *numbers) |
C4ScriptGuiWindow * | AddChild (C4ScriptGuiWindow *child) |
C4ScriptGuiWindow * | AddChild () |
void | ClearChildren (bool close=true) |
void | RemoveChild (C4ScriptGuiWindow *child, bool close=true, bool all=false) |
void | Close () |
void | ClearPointers (C4Object *pObj) |
float | CalculateRelativeSize (float parentWidthOrHeight, C4ScriptGuiWindowPropertyName::type absoluteProperty, C4ScriptGuiWindowPropertyName::type relativeProperty) |
void | RequestLayoutUpdate () |
bool | UpdateLayout (C4TargetFacet &cgo) |
bool | UpdateLayout (C4TargetFacet &cgo, float parentWidth, float parentHeight) |
bool | UpdateChildLayout (C4TargetFacet &cgo, float parentWidth, float parentHeight) |
void | UpdateLayoutGrid () |
void | UpdateLayoutTightGrid () |
void | UpdateLayoutVertical () |
void | Draw (C4TargetFacet &cgo) override |
bool | DrawAll (C4TargetFacet &cgo, int32_t player) |
bool | Draw (C4TargetFacet &cgo, int32_t player, C4Rect *currentClippingRect) |
bool | GetClippingRect (int32_t &left, int32_t &top, int32_t &right, int32_t &bottom) |
bool | DrawChildren (C4TargetFacet &cgo, int32_t player, int32_t withMultipleFlag=-1, C4Rect *currentClippingRect=nullptr) |
bool | ExecuteCommand (int32_t actionID, int32_t player, int32_t subwindowID, int32_t actionType, C4Object *target) |
virtual bool | MouseInput (int32_t iButton, int32_t iX, int32_t iY, DWORD dwKeyParam) |
virtual bool | ProcessMouseInput (int32_t iButton, int32_t iX, int32_t iY, DWORD dwKeyParam, int32_t parentOffsetX, int32_t parentOffsetY) |
void | MouseEnter (C4GUI::CMouse &rMouse) override |
void | MouseLeave (C4GUI::CMouse &rMouse) override |
void | OnMouseOut (int32_t player) |
void | OnMouseIn (int32_t player, int32_t parentOffsetX, int32_t parentOffsetY) |
bool | HasMouseFocus () |
bool | IsVisibleTo (int32_t player) |
void | MouseInput (CMouse &rMouse, int32_t iButton, int32_t iX, int32_t iY, DWORD dwKeyParam) override |
bool | IsComponentOutsideClientArea () override |
void | Update () |
void | UpdateOwnPos () override |
void | Freeze () |
void | UnFreeze () |
bool | IsFrozen () const |
void | SetClientHeight (int32_t iToHgt) |
void | SetDecoration (ScrollBarFacets *pToGfx, bool fAutoScroll) |
void | SetScroll (int32_t iToScroll) |
void | ScrollToBottom () |
void | ScrollPages (int iPageCount) |
void | ScrollBy (int iAmount) |
void | ScrollRangeInView (int32_t iY, int32_t iHgt) |
bool | IsRangeInView (int32_t iY, int32_t iHgt) |
int32_t | GetScrollY () |
void | SetScrollBarEnabled (bool fToVal, bool noAutomaticPositioning=false) |
bool | IsScrollBarEnabled () |
bool | IsScrollingActive () |
bool | IsScrollingNecessary () |
void | SetPos (int32_t iXPos, int32_t iYPos) |
C4Rect & | GetClientRect () override |
void | ApplyElementOffset (int32_t &riX, int32_t &riY) override |
void | ApplyInvElementOffset (int32_t &riX, int32_t &riY) override |
virtual int32_t | GetMarginTop () |
virtual int32_t | GetMarginLeft () |
virtual int32_t | GetMarginRight () |
virtual int32_t | GetMarginBottom () |
void | Clear () |
void | ClearChildren () |
void | RemoveElement (Element *pChild) override |
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 | 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 Screen * | GetScreen () |
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 () |
Public Attributes | |
int32_t | currentMouseState |
bool | fVisible {true} |
Static Public Attributes | |
static const float | standardWidth = 50.0f |
static const float | standardHeight = 31.0f |
Protected Member Functions | |
void | ElementSizeChanged (Element *pOfElement) override |
void | ElementPosChanged (Element *pOfElement) override |
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 | |
ScrollBar * | pScrollBar |
int32_t | iScrollY |
int32_t | iClientHeight |
bool | fHasBar |
int32_t | iFrozen |
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 |
Friends | |
class | C4ScriptGuiWindowAction |
class | C4ScriptGuiWindowScrollBar |
Definition at line 179 of file C4ScriptGuiWindow.h.
C4ScriptGuiWindow::C4ScriptGuiWindow | ( | ) |
Definition at line 624 of file C4ScriptGuiWindow.cpp.
Referenced by AddChild(), and CreateFromPropList().
|
override |
Definition at line 688 of file C4ScriptGuiWindow.cpp.
References C4GUI::Container::ClearChildren(), C4RefCnt::DecRef(), and C4GUI::ScrollWindow::pScrollBar.
|
inline |
Definition at line 286 of file C4ScriptGuiWindow.h.
References AddChild(), and C4ScriptGuiWindow().
Referenced by AddChild(), and CreateFromPropList().
C4ScriptGuiWindow * C4ScriptGuiWindow::AddChild | ( | C4ScriptGuiWindow * | child | ) |
Definition at line 1187 of file C4ScriptGuiWindow.cpp.
|
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 ClearPointers().
float C4ScriptGuiWindow::CalculateRelativeSize | ( | float | parentWidthOrHeight, |
C4ScriptGuiWindowPropertyName::type | absoluteProperty, | ||
C4ScriptGuiWindowPropertyName::type | relativeProperty | ||
) |
Definition at line 1398 of file C4ScriptGuiWindow.cpp.
References C4ScriptGuiWindowProperty::GetFloat().
Referenced by UpdateLayoutGrid(), UpdateLayoutTightGrid(), and UpdateLayoutVertical().
|
inlineprotectedvirtualinherited |
Reimplemented in C4StartupScenSelDlg::ScenListItem.
Definition at line 407 of file C4Gui.h.
Referenced by C4GUI::ListBox::CharIn().
|
inherited |
Definition at line 63 of file C4GuiContainers.cpp.
References C4GUI::Container::ClearChildren().
Referenced by C4GUI::Screen::Clear(), C4GUI::ComboBox_FillCB::ClearEntries(), C4StartupNetListEntry::ClearRef(), C4GUI::Container::~Container(), and C4GUI::ContextMenu::~ContextMenu().
|
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(), Close(), RemoveChild(), C4GoalDisplay::SetGoals(), and ~C4ScriptGuiWindow().
void C4ScriptGuiWindow::ClearChildren | ( | bool | close = true | ) |
Definition at line 1337 of file C4ScriptGuiWindow.cpp.
References RemoveChild().
void C4ScriptGuiWindow::ClearPointers | ( | C4Object * | pObj | ) |
Definition at line 1159 of file C4ScriptGuiWindow.cpp.
References C4GUI::Container::begin(), C4ScriptGuiWindowProperty::ClearPointers(), ClearPointers(), Close(), C4GUI::Container::end(), MenuDebugLogF, C4ScriptGuiWindowPropertyName::onClickAction, C4ScriptGuiWindowPropertyName::onCloseAction, C4ScriptGuiWindowPropertyName::onMouseInAction, C4ScriptGuiWindowPropertyName::onMouseOutAction, and C4ScriptGuiWindowPropertyName::symbolObject.
Referenced by ClearPointers().
|
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(), C4GUI::Screen::DoContext(), and C4Menu::Draw().
void C4ScriptGuiWindow::Close | ( | ) |
Definition at line 1342 of file C4ScriptGuiWindow.cpp.
References C4ScriptGuiWindowActionID::Call, C4GUI::Container::ClearChildren(), C4ScriptGuiWindowAction::ExecuteCommand(), C4ScriptGuiWindowProperty::GetAction(), C4GUI::Element::GetParent(), NO_OWNER, C4ScriptGuiWindowPropertyName::onCloseAction, and RemoveChild().
Referenced by ClearPointers(), and RemoveChild().
bool C4ScriptGuiWindow::CreateFromPropList | ( | C4PropList * | proplist, |
bool | resetStdTag = false , |
||
bool | isUpdate = false , |
||
bool | isLoading = false |
||
) |
Definition at line 988 of file C4ScriptGuiWindow.cpp.
References AddChild(), C4ScriptGuiWindowPropertyName::backgroundColor, C4ScriptGuiWindowPropertyName::bottom, C4ScriptGuiWindow(), CreateFromPropList(), currentMouseState, C4ScriptGuiWindowPropertyName::frameDecoration, GetChildByName(), C4String::GetCStr(), C4GUI::Element::GetParent(), C4PropList::GetProperties(), C4PropList::GetPropertyByS(), C4Value::getStr(), C4RefCnt::IncRef(), C4ScriptGuiWindowPropertyName::left, MenuDebugLogF, C4ScriptGuiWindowPropertyName::onClickAction, C4ScriptGuiWindowPropertyName::onCloseAction, C4ScriptGuiWindowPropertyName::onMouseInAction, C4ScriptGuiWindowPropertyName::onMouseOutAction, C4StringTable::P, P_BackgroundColor, P_Bottom, P_Decoration, P_GraphicsName, P_ID, P_Left, P_Margin, P_Mode, P_OnClick, P_OnClose, P_OnMouseIn, P_OnMouseOut, P_Player, P_Priority, P_Prototype, P_Right, P_Std, P_Style, P_Symbol, P_Target, P_Text, P_Tooltip, P_Top, C4ScriptGuiWindowPropertyName::player, C4ScriptGuiWindowPropertyName::priority, C4ScriptGuiWindowPropertyName::relBottom, C4ScriptGuiWindowPropertyName::relLeft, C4ScriptGuiWindowPropertyName::relRight, C4ScriptGuiWindowPropertyName::relTop, RemoveChild(), RequestLayoutUpdate(), C4ScriptGuiWindowPropertyName::right, C4ScriptGuiWindowProperty::Set(), SetTag(), Strings, C4ScriptGuiWindowPropertyName::style, C4ScriptGuiWindowPropertyName::symbolDef, C4ScriptGuiWindowPropertyName::symbolGraphicsName, C4ScriptGuiWindowPropertyName::symbolObject, C4ScriptGuiWindowPropertyName::text, C4ScriptGuiWindowPropertyName::tooltip, and C4ScriptGuiWindowPropertyName::top.
Referenced by CreateFromPropList(), and Denumerate().
void C4ScriptGuiWindow::Denumerate | ( | C4ValueNumbers * | numbers | ) |
Definition at line 867 of file C4ScriptGuiWindow.cpp.
References CreateFromPropList(), C4Value::getPropList(), C4ValueNumbers::GetValue(), and RequestLayoutUpdate().
|
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().
|
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 C4GUI::Screen::MouseInput(), and C4GUI::Element::StopDragging().
|
inlineoverridevirtual |
Reimplemented from C4GUI::Window.
Definition at line 308 of file C4ScriptGuiWindow.h.
Referenced by DrawChildren().
bool C4ScriptGuiWindow::Draw | ( | C4TargetFacet & | cgo, |
int32_t | player, | ||
C4Rect * | currentClippingRect | ||
) |
Definition at line 1904 of file C4ScriptGuiWindow.cpp.
References ACenter, ALeft, ARight, C4ScriptGuiWindowPropertyName::backgroundColor, CStdFont::BreakMessage(), C4RGB, currentMouseState, C4Draw::DrawBoxDw(), DrawChildren(), C4Draw::DrawFrameDw(), C4GraphicsResource::FontCaption, C4GraphicsResource::FontRegular, FormatString(), C4ScriptGuiWindowPropertyName::frameDecoration, StdStrBuf::getData(), C4ScriptGuiWindowProperty::GetDef(), C4ScriptGuiWindowProperty::GetFrameDecoration(), C4ScriptGuiWindowProperty::GetInt(), CStdFont::GetLineHeight(), C4PropList::GetName(), C4ScriptGuiWindowProperty::GetObject(), C4GUI::Element::GetParent(), C4GUI::ScrollWindow::GetScrollY(), C4ScriptGuiWindowProperty::GetStrBuf(), CStdFont::GetTextExtent(), GraphicsResource, GraphicsSystem, C4Rect::Hgt, C4GUI::Element::IsVisible(), IsVisibleTo(), C4ScriptGuiWindowStyleFlag::Multiple, C4ScriptGuiWindowStyleFlag::NoCrop, pDraw, C4ScriptGuiWindowPropertyName::player, C4GUI::ScrollWindow::pScrollBar, C4GUI::Element::rcBounds, C4GraphicsSystem::ShowMenuInfo, C4ScriptGuiWindowPropertyName::style, C4Facet::Surface, C4ScriptGuiWindowPropertyName::symbolDef, C4ScriptGuiWindowPropertyName::symbolGraphicsName, C4ScriptGuiWindowPropertyName::symbolObject, C4TargetFacet::TargetX, C4TargetFacet::TargetY, C4ScriptGuiWindowPropertyName::text, C4ScriptGuiWindowStyleFlag::TextBottom, C4ScriptGuiWindowStyleFlag::TextHCenter, C4Draw::TextOut(), C4ScriptGuiWindowStyleFlag::TextRight, C4ScriptGuiWindowStyleFlag::TextVCenter, UpdateLayout(), C4Rect::Wdt, C4Facet::X, C4Rect::x, C4Facet::Y, and C4Rect::y.
|
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().
bool C4ScriptGuiWindow::DrawAll | ( | C4TargetFacet & | cgo, |
int32_t | player | ||
) |
Definition at line 1882 of file C4ScriptGuiWindow.cpp.
References DrawChildren(), C4GUI::Element::IsVisible(), C4ScriptGuiWindowPropertyName::player, C4TargetFacet::TargetX, C4TargetFacet::TargetY, UpdateLayout(), C4Facet::X, and C4Facet::Y.
|
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().
bool C4ScriptGuiWindow::DrawChildren | ( | C4TargetFacet & | cgo, |
int32_t | player, | ||
int32_t | withMultipleFlag = -1 , |
||
C4Rect * | currentClippingRect = nullptr |
||
) |
Definition at line 1573 of file C4ScriptGuiWindow.cpp.
References Draw(), C4GUI::ScrollBar::DrawElement(), GetClippingRect(), C4ScriptGuiWindowProperty::GetInt(), C4Facet::Hgt, C4Rect::Hgt, C4GUI::ScrollWindow::iScrollY, C4GUI::Element::IsVisible(), C4ScriptGuiWindowStyleFlag::Multiple, pDraw, C4ScriptGuiWindowPropertyName::player, C4GUI::ScrollWindow::pScrollBar, C4GUI::Element::rcBounds, C4Draw::RestorePrimaryClipper(), C4Draw::SetPrimaryClipper(), C4Draw::StorePrimaryClipper(), C4ScriptGuiWindowPropertyName::style, C4TargetFacet::TargetX, C4TargetFacet::TargetY, C4Facet::Wdt, C4Rect::Wdt, C4Facet::X, C4Rect::x, C4Facet::Y, C4Rect::y, and C4TargetFacet::Zoom.
Referenced by Draw(), and DrawAll().
|
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().
|
protectedinherited |
Definition at line 359 of file C4Gui.cpp.
References C4GUI::Element::DrawHVBar(), C4Rect::Hgt, and C4GUI::Element::rcBounds.
Referenced by C4GUI::ScrollBar::DrawElement().
|
inlineoverrideprotectedvirtualinherited |
Reimplemented from C4GUI::Container.
Definition at line 954 of file C4Gui.h.
References C4GUI::Container::ElementPosChanged(), and C4GUI::Element::pParent.
|
inlineoverrideprotectedvirtualinherited |
Reimplemented from C4GUI::Container.
Definition at line 949 of file C4Gui.h.
References C4GUI::Container::ElementSizeChanged(), and C4GUI::Element::pParent.
|
inlineinherited |
Definition at line 825 of file C4Gui.h.
Referenced by ClearPointers().
bool C4ScriptGuiWindow::ExecuteCommand | ( | int32_t | actionID, |
int32_t | player, | ||
int32_t | subwindowID, | ||
int32_t | actionType, | ||
C4Object * | target | ||
) |
Definition at line 2295 of file C4ScriptGuiWindow.cpp.
References ExecuteCommand(), C4ScriptGuiWindowProperty::GetAllActions(), C4GUI::Container::GetElementCount(), MenuDebugLogF, and C4ScriptGuiWindowPropertyName::player.
Referenced by ExecuteCommand().
|
inlineinherited |
Definition at line 969 of file C4Gui.h.
References C4GUI::ScrollWindow::iFrozen.
Referenced by C4GUI::ListBox::FreezeScrolling(), and C4Menu::RefillInternal().
|
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(), C4GUI::Screen::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(), C4GUI::Screen::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().
C4ScriptGuiWindow * C4ScriptGuiWindow::GetChildByID | ( | int32_t | child | ) |
C4ScriptGuiWindow * C4ScriptGuiWindow::GetChildByName | ( | C4String * | childName | ) |
Definition at line 1260 of file C4ScriptGuiWindow.cpp.
References C4GUI::Container::Element.
Referenced by CreateFromPropList().
|
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(), C4GUI::Screen::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().
bool C4ScriptGuiWindow::GetClippingRect | ( | int32_t & | left, |
int32_t & | top, | ||
int32_t & | right, | ||
int32_t & | bottom | ||
) |
Definition at line 2023 of file C4ScriptGuiWindow.cpp.
References C4ScriptGuiWindowPropertyName::bottom, C4ScriptGuiWindowProperty::GetInt(), C4Rect::Hgt, C4ScriptGuiWindowPropertyName::left, C4ScriptGuiWindowStyleFlag::NoCrop, C4GUI::Element::rcBounds, C4ScriptGuiWindowPropertyName::right, C4ScriptGuiWindowPropertyName::style, C4ScriptGuiWindowPropertyName::top, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by DrawChildren().
|
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().
|
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(), C4GUI::Screen::MouseInput(), C4ChatControl::OnConnectBtn(), C4GUI::RenameEdit::OnFinishInput(), C4GUI::Label::OnHotkey(), C4ChatControl::OnLoginDataEnter(), C4GUI::CloseButton::OnPress(), C4GUI::CloseIconButton::OnPress(), C4GUI::RenameEdit::RenameEdit(), C4GUI::Container::SetVisibility(), and C4GUI::Screen::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 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(), C4GUI::Screen::GetFullscreenDialog(), C4GUI::Screen::GetMouseControlledDialogCount(), C4GUI::ListBox::MouseInput(), C4GUI::Tabular::MouseInput(), C4GUI::ContextMenu::MouseInput(), C4GUI::Tabular::MouseLeaveCaptionArea(), C4GUI::Tabular::RemoveElement(), C4GUI::Screen::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().
|
inlineinherited |
Definition at line 444 of file C4Gui.h.
References C4Rect::Hgt, and C4GUI::Element::rcBounds.
Referenced by C4GUI::Screen::ShowDialog().
|
inline |
Definition at line 262 of file C4ScriptGuiWindow.h.
Referenced by C4ScriptGuiWindowAction::Execute(), C4ScriptGuiWindowAction::ExecuteCommand(), and RemoveChild().
|
inlineinherited |
Definition at line 830 of file C4Gui.h.
References C4GUI::Container::pLast.
Referenced by C4GUI::ListBox::GetLast(), C4Menu::InitSize(), and C4Menu::UpdateScrollBar().
|
inlinevirtualinherited |
|
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().
|
inlineinherited |
Definition at line 449 of file C4Gui.h.
References C4GUI::Element::pNext.
Referenced by C4GUI::Screen::ActivateDialog(), C4GUI::ListBox::CharIn(), C4GUI::ListBox::DrawElement(), C4GUI::Tabular::DrawElement(), C4GUI::Screen::GetFullscreenDialog(), C4GUI::Screen::GetMouseControlledDialogCount(), C4StartupScenSelDlg::ScenListItem::GetNext(), C4StartupNetListEntry::GetNextLower(), C4GUI::ListBox::MouseInput(), C4GUI::Tabular::MouseInput(), C4GUI::ContextMenu::MouseInput(), C4GUI::Tabular::MouseLeaveCaptionArea(), C4StartupPlrSelDlg::OnItemCheckChange(), C4GUI::Container::Iterator::operator++(), C4GUI::Screen::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(), Close(), CreateFromPropList(), 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(), RequestLayoutUpdate(), C4GUI::Element::ScreenPos2ClientPos(), C4GUI::ListBox::SelectEntry(), C4GUI::Tabular::Sheet::SetTitle(), C4GUI::ScrollWindow::UpdateOwnPos(), and C4ChatControl::UpdateSize().
|
inlineinherited |
Definition at line 450 of file C4Gui.h.
References C4GUI::Element::pPrev.
Referenced by C4GUI::ListBox::AddElement(), C4GUI::Screen::GetDialog(), C4GUI::Screen::GetTopDialog(), C4GUI::Window::MouseInput(), C4GUI::Screen::MouseInput(), and C4GUI::Container::ReverseIterator::operator++().
|
virtualinherited |
Reimplemented in C4GUI::Screen, and C4GUI::ContextMenu.
Definition at line 289 of file C4Gui.cpp.
References C4GUI::Element::GetScreen(), and C4GUI::Element::pParent.
Referenced by C4GUI::Dialog::Close(), C4StartupScenSelDlg::DoOK(), C4GUI::Dialog::Draw(), C4GUI::ContextButton::DrawElement(), C4GUI::ComboBox::DrawElement(), C4GUI::Dialog::FadeOut(), C4GUI::Element::GetScreen(), C4GUI::Control::HasDrawFocus(), C4GUI::Dialog::IsActive(), C4StartupScenSelDlg::KeyDelete(), C4GUI::ComboBox::MouseInput(), C4GameOptionButtons::OnBtnComment(), C4GameOptionButtons::OnBtnPassword(), C4StartupPlrPropertiesDlg::OnClosed(), C4StartupPlrPropertiesDlg::OnClrChangeCustom(), C4ChatControl::OnConnectBtn(), C4GUI::CBContextHandler< CBClass >::OnContext(), C4StartupPlrSelDlg::OnDelBtn(), C4StartupPlrSelDlg::OnDelBtnConfirm(), C4StartupPlrSelDlg::OnNewBtn(), C4StartupPlrPropertiesDlg::OnPictureBtn(), C4StartupPlrSelDlg::OnPropertyBtn(), C4StartupMainDlg::OnShown(), C4StartupMainDlg::OnTODO(), C4StartupOptionsDlg::SaveConfig(), C4GUI::Element::SetVisibility(), C4GameLobby::MainDlg::Start(), C4StartupScenSelDlg::StartScenario(), C4ScoreboardDlg::Update(), C4StartupPlrSelDlg::PlayerListItem::UpdateCore(), C4FileSelDlg::UserClose(), C4StartupPlrPropertiesDlg::UserClose(), and C4ChatControl::UserQueryQuit().
|
inlineinherited |
Definition at line 987 of file C4Gui.h.
References C4GUI::ScrollWindow::iScrollY.
Referenced by Draw(), C4GUI::TextWindow::GetScrollPos(), and C4GUI::ListBox::MouseInput().
C4ScriptGuiWindow * C4ScriptGuiWindow::GetSubWindow | ( | int32_t | childID, |
C4Object * | childTarget | ||
) |
Definition at line 1275 of file C4ScriptGuiWindow.cpp.
|
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().
|
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 C4GUI::Screen::ShowDialog().
|
inline |
Definition at line 351 of file C4ScriptGuiWindow.h.
References currentMouseState.
Referenced by MouseInput(), OnMouseIn(), OnMouseOut(), and ProcessMouseInput().
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 C4GUI::Screen::ShowDialog().
|
inlineoverridevirtualinherited |
Reimplemented from C4GUI::Window.
|
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 |
|
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().
|
inherited |
Definition at line 605 of file C4GuiContainers.cpp.
References C4GUI::Element::GetBounds(), C4Rect::Hgt, and C4GUI::ScrollWindow::iScrollY.
|
inlineinherited |
Definition at line 990 of file C4Gui.h.
References C4GUI::ScrollWindow::fHasBar.
Referenced by C4Menu::UpdateScrollBar().
|
inlineinherited |
Definition at line 992 of file C4Gui.h.
References C4GUI::ScrollWindow::fHasBar, C4GUI::ScrollBar::IsScrolling(), and C4GUI::ScrollWindow::pScrollBar.
Referenced by C4GUI::ListBox::IsScrollingActive().
|
inlineinherited |
Definition at line 993 of file C4Gui.h.
References C4Rect::Hgt, C4GUI::ScrollWindow::iClientHeight, and C4GUI::Element::rcBounds.
Referenced by C4GUI::ListBox::IsScrollingNecessary(), and UpdateLayout().
|
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(), C4GUI::Screen::CharIn(), C4GUI::ControlKeyDlgCB< TargetClass >::CheckCondition(), C4GUI::Container::Draw(), C4GUI::Window::Draw(), C4GUI::Screen::Draw(), Draw(), DrawAll(), DrawChildren(), C4ChatControl::GetDefaultControl(), C4GUI::Screen::GetFullscreenDialog(), C4GUI::Element::IsVisible(), IsVisibleTo(), C4GUI::Window::MouseInput(), C4GUI::Control::MouseInput(), C4GUI::Screen::MouseInput(), C4GUI::Container::OnHotkey(), ProcessMouseInput(), C4Menu::SetPosition(), C4Menu::UpdateElementPositions(), and C4GUI::TextWindow::UpdateSize().
bool C4ScriptGuiWindow::IsVisibleTo | ( | int32_t | player | ) |
Definition at line 2368 of file C4ScriptGuiWindow.cpp.
References ANY_OWNER, C4ScriptGuiWindowProperty::GetInt(), C4GUI::Element::IsVisible(), C4Object::IsVisible(), and C4ScriptGuiWindowPropertyName::player.
Referenced by Draw(), MouseInput(), and ProcessMouseInput().
|
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 C4GUI::Screen::ActivateDialog().
|
overridevirtual |
Reimplemented from C4GUI::Element.
Definition at line 2054 of file C4ScriptGuiWindow.cpp.
References C4MouseControl::GetPlayer(), MouseControl, and NO_OWNER.
|
overridevirtualinherited |
Reimplemented from C4GUI::Window.
Definition at line 644 of file C4GuiContainers.cpp.
References C4MC_Button_Wheel, C4GUI::Window::MouseInput(), and C4GUI::ScrollWindow::ScrollBy().
|
virtual |
Definition at line 2114 of file C4ScriptGuiWindow.cpp.
References C4ScriptGuiWindowProperty::GetInt(), C4MouseControl::GetPlayer(), HasMouseFocus(), C4Rect::Hgt, C4GUI::ScrollWindow::iScrollY, IsVisibleTo(), MouseControl, C4ScriptGuiWindowStyleFlag::Multiple, NO_OWNER, OnMouseOut(), C4ScriptGuiWindowPropertyName::player, ProcessMouseInput(), C4GUI::Container::rbegin(), C4GUI::Element::rcBounds, C4GUI::Container::rend(), C4ScriptGuiWindowPropertyName::style, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
|
overridevirtual |
Reimplemented from C4GUI::Element.
Definition at line 2089 of file C4ScriptGuiWindow.cpp.
References C4MouseControl::GetPlayer(), MouseControl, and NO_OWNER.
|
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 C4ScriptGuiWindow::OnMouseIn | ( | int32_t | player, |
int32_t | parentOffsetX, | ||
int32_t | parentOffsetY | ||
) |
Definition at line 2059 of file C4ScriptGuiWindow.cpp.
References currentMouseState, C4ScriptGuiWindowAction::Execute(), C4ScriptGuiWindowProperty::GetAction(), C4Viewport::GetGUIZoom(), C4ScriptGuiWindowProperty::GetStrBuf(), C4ViewportList::GetViewport(), HasMouseFocus(), C4Rect::Hgt, MouseControl, C4ScriptGuiWindowPropertyName::onMouseInAction, C4ScriptGuiWindowPropertyName::player, C4GUI::Element::rcBounds, C4MouseControl::SetTooltipRectangle(), C4MouseControl::SetTooltipText(), C4ScriptGuiWindowPropertyName::tooltip, Viewports, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by ProcessMouseInput().
void C4ScriptGuiWindow::OnMouseOut | ( | int32_t | player | ) |
Definition at line 2094 of file C4ScriptGuiWindow.cpp.
References currentMouseState, C4ScriptGuiWindowAction::Execute(), C4ScriptGuiWindowProperty::GetAction(), HasMouseFocus(), C4ScriptGuiWindowStyleFlag::None, OnMouseOut(), C4ScriptGuiWindowPropertyName::onMouseOutAction, and C4ScriptGuiWindowPropertyName::player.
Referenced by MouseInput(), OnMouseOut(), and ProcessMouseInput().
|
virtual |
Definition at line 2181 of file C4ScriptGuiWindow.cpp.
References C4MC_Button_LeftDouble, C4MC_Button_LeftDown, C4MC_Button_LeftUp, C4MC_Button_Wheel, currentMouseState, C4ScriptGuiWindowAction::Execute(), C4ScriptGuiWindowProperty::GetAction(), C4ScriptGuiWindowProperty::GetInt(), C4MouseControl::GetPlayer(), HasMouseFocus(), C4Rect::Hgt, C4ScriptGuiWindowStyleFlag::IgnoreMouse, C4GUI::ScrollWindow::iScrollY, C4MouseControl::IsLeftDown(), C4GUI::Element::IsVisible(), IsVisibleTo(), C4GUI::CMouse::LDown, MouseControl, MouseDown, C4GUI::ScrollBar::MouseInput(), NO_OWNER, C4ScriptGuiWindowPropertyName::onClickAction, OnMouseIn(), OnMouseOut(), C4ScriptGuiWindowPropertyName::player, ProcessMouseInput(), C4GUI::ScrollWindow::pScrollBar, C4GUI::Container::rbegin(), C4GUI::Element::rcBounds, C4GUI::Container::rend(), C4GUI::ScrollWindow::ScrollBy(), C4ScriptGuiWindowPropertyName::style, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by MouseInput(), and ProcessMouseInput().
|
inlineinherited |
Definition at line 826 of file C4Gui.h.
References C4GUI::Container::pLast.
Referenced by MouseInput(), and 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 C4ScriptGuiWindow::RemoveChild | ( | C4ScriptGuiWindow * | child, |
bool | close = true , |
||
bool | all = false |
||
) |
Definition at line 1289 of file C4ScriptGuiWindow.cpp.
References C4GUI::Container::ClearChildren(), Close(), C4GUI::Container::Element, GetID(), MenuDebugLogF, C4GUI::Container::RemoveElement(), and RequestLayoutUpdate().
Referenced by ClearChildren(), Close(), and CreateFromPropList().
|
overridevirtualinherited |
Reimplemented from C4GUI::Element.
Reimplemented in C4GUI::Screen, C4GUI::Dialog, C4GUI::ContextMenu, C4GUI::Tabular, and C4GUI::ListBox.
Definition at line 89 of file C4GuiContainers.cpp.
References C4GUI::Container::AfterElementRemoval(), C4GUI::Container::pFirst, C4GUI::Container::pLast, C4GUI::Element::pNext, C4GUI::Element::pParent, C4GUI::Element::pPrev, and C4GUI::Element::RemoveElement().
Referenced by C4GUI::Container::AddElement(), C4GUI::Container::InsertElement(), RemoveChild(), C4GUI::Element::RemoveElement(), C4GUI::ListBox::RemoveElement(), C4GUI::Tabular::RemoveElement(), C4GUI::ContextMenu::RemoveElement(), C4GUI::Dialog::RemoveElement(), C4GUI::Screen::RemoveElement(), and C4GUI::Element::~Element().
|
inlineinherited |
Definition at line 827 of file C4Gui.h.
Referenced by MouseInput(), and ProcessMouseInput().
void C4ScriptGuiWindow::RequestLayoutUpdate | ( | ) |
Definition at line 1663 of file C4ScriptGuiWindow.cpp.
References C4ScriptGuiWindowProperty::GetInt(), C4GUI::Element::GetParent(), C4ScriptGuiWindowStyleFlag::Multiple, and C4ScriptGuiWindowPropertyName::style.
Referenced by CreateFromPropList(), Denumerate(), RemoveChild(), and SetTag().
|
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 C4GUI::Screen::MouseInput(), and C4GUI::CMouse::ReleaseElements().
|
inherited |
Definition at line 564 of file C4GuiContainers.cpp.
References C4GUI::Element::GetBounds(), C4GUI::Window::GetClientRect(), C4Rect::Hgt, C4GUI::ScrollWindow::iScrollY, and C4GUI::ScrollWindow::Update().
Referenced by C4GUI::ScrollWindow::MouseInput(), ProcessMouseInput(), and C4GUI::ScrollWindow::ScrollPages().
|
inherited |
Definition at line 558 of file C4GuiContainers.cpp.
References C4GUI::Element::GetBounds(), C4Rect::Hgt, and C4GUI::ScrollWindow::ScrollBy().
|
inherited |
Definition at line 579 of file C4GuiContainers.cpp.
References C4GUI::Element::GetBounds(), C4GUI::Window::GetClientRect(), C4Rect::Hgt, C4GUI::ScrollWindow::iScrollY, C4GUI::ScrollWindow::ScrollToBottom(), and C4GUI::ScrollWindow::Update().
Referenced by C4Menu::AdjustPosition(), C4GUI::ListBox::ScrollItemInView(), and C4GUI::TextWindow::SetScrollPos().
|
inherited |
Definition at line 544 of file C4GuiContainers.cpp.
References C4GUI::Element::GetBounds(), C4GUI::Window::GetClientRect(), C4Rect::Hgt, C4GUI::ScrollWindow::iScrollY, and C4GUI::ScrollWindow::Update().
Referenced by C4GUI::ScrollWindow::ScrollRangeInView(), C4GUI::ListBox::ScrollToBottom(), and C4GUI::TextWindow::ScrollToBottom().
|
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(), C4GUI::Screen::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 973 of file C4Gui.h.
References C4GUI::ScrollWindow::iClientHeight, and C4GUI::ScrollWindow::Update().
Referenced by C4GUI::ListBox::AddElement(), C4GUI::TextWindow::ElementPosChanged(), C4GUI::TextWindow::ElementSizeChanged(), C4GUI::TextWindow::TextWindow(), C4GUI::ListBox::UpdateElementPositions(), and C4Menu::UpdateElementPositions().
|
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 977 of file C4Gui.h.
References C4GUI::ScrollWindow::pScrollBar, and C4GUI::ScrollBar::SetDecoration().
Referenced by C4GUI::TextWindow::SetDecoration(), and C4GUI::ListBox::SetDecoration().
|
inlineinherited |
Definition at line 464 of file C4Gui.h.
References C4GUI::Element::pDragTarget.
Referenced by C4GUI::Dialog::SetTitle().
|
inline |
Definition at line 282 of file C4ScriptGuiWindow.h.
|
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 C4GUI::Screen::ShowDialog().
|
inherited |
Definition at line 538 of file C4GuiContainers.cpp.
References C4GUI::ScrollWindow::iScrollY, C4GUI::Window::rcClientRect, and C4Rect::y.
Referenced by C4GUI::ScrollBar::OnPosChanged(), and C4Menu::SetPosition().
|
inherited |
Definition at line 635 of file C4GuiContainers.cpp.
References C4GUI::ScrollWindow::fHasBar, C4GUI::ScrollWindow::pScrollBar, C4GUI::Element::SetVisibility(), and C4GUI::ScrollWindow::UpdateOwnPos().
Referenced by C4Menu::InitSize().
void C4ScriptGuiWindow::SetTag | ( | C4String * | tag | ) |
Definition at line 2038 of file C4ScriptGuiWindow.cpp.
References C4ScriptGuiWindowPropertyName::_lastProp, C4ScriptGuiWindowPropertyName::priority, C4ScriptGuiWindowPropertyName::relBottom, RequestLayoutUpdate(), C4ScriptGuiWindowPropertyName::style, and C4ScriptGuiWindowPropertyName::text.
Referenced by CreateFromPropList(), and C4ScriptGuiWindowAction::Execute().
|
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().
|
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 C4GUI::Screen::MouseInput(), and C4GUI::CMouse::ReleaseElements().
const C4Value C4ScriptGuiWindow::ToC4Value | ( | ) |
Definition at line 886 of file C4ScriptGuiWindow.cpp.
References C4ScriptGuiWindowPropertyName::backgroundColor, C4ScriptGuiWindowPropertyName::bottom, currentMouseState, StdStrBuf::Format(), C4ScriptGuiWindowPropertyName::frameDecoration, C4ScriptGuiWindowPropertyName::left, C4PropList::New(), C4ScriptGuiWindowPropertyName::onClickAction, C4ScriptGuiWindowPropertyName::onCloseAction, C4ScriptGuiWindowPropertyName::onMouseInAction, C4ScriptGuiWindowPropertyName::onMouseOutAction, P_BackgroundColor, P_Bottom, P_Decoration, P_GraphicsName, P_ID, P_Left, P_Margin, P_Mode, P_OnClick, P_OnClose, P_OnMouseIn, P_OnMouseOut, P_Player, P_Priority, P_Right, P_Style, P_Symbol, P_Target, P_Text, P_Tooltip, P_Top, C4ScriptGuiWindowPropertyName::player, C4ScriptGuiWindowPropertyName::priority, PROPERTY_TUPLE, C4StringTable::RegString(), C4ScriptGuiWindowPropertyName::relBottom, C4ScriptGuiWindowPropertyName::relLeft, C4ScriptGuiWindowPropertyName::relRight, C4ScriptGuiWindowPropertyName::relTop, C4ScriptGuiWindowPropertyName::right, C4PropList::SetProperty(), C4PropList::SetPropertyByS(), Strings, C4ScriptGuiWindowPropertyName::style, C4ScriptGuiWindowPropertyName::symbolDef, C4ScriptGuiWindowPropertyName::symbolGraphicsName, C4ScriptGuiWindowPropertyName::symbolObject, C4ScriptGuiWindowPropertyName::text, C4ScriptGuiWindowProperty::ToC4Value(), ToC4Value(), C4ScriptGuiWindowPropertyName::tooltip, and C4ScriptGuiWindowPropertyName::top.
Referenced by ToC4Value().
|
inlineinherited |
Definition at line 970 of file C4Gui.h.
References C4GUI::ScrollWindow::iFrozen, and C4GUI::ScrollWindow::Update().
Referenced by C4Menu::RefillInternal(), and C4GUI::ListBox::UnFreezeScrolling().
|
inherited |
Definition at line 523 of file C4GuiContainers.cpp.
References C4GUI::Element::GetBounds(), C4Rect::Hgt, C4GUI::ScrollWindow::iClientHeight, C4GUI::ScrollWindow::iFrozen, C4GUI::ScrollWindow::iScrollY, C4GUI::ScrollWindow::pScrollBar, C4GUI::Element::rcBounds, C4GUI::Window::rcClientRect, C4GUI::ScrollBar::Update(), C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by C4GUI::ScrollWindow::ScrollBy(), C4GUI::ScrollWindow::ScrollRangeInView(), C4GUI::ScrollWindow::ScrollToBottom(), C4GUI::ScrollWindow::SetClientHeight(), C4GUI::ScrollWindow::UnFreeze(), UpdateLayout(), and C4GUI::ScrollWindow::UpdateOwnPos().
bool C4ScriptGuiWindow::UpdateChildLayout | ( | C4TargetFacet & | cgo, |
float | parentWidth, | ||
float | parentHeight | ||
) |
Definition at line 1690 of file C4ScriptGuiWindow.cpp.
References C4GUI::Container::Element, and UpdateLayout().
Referenced by UpdateLayout().
bool C4ScriptGuiWindow::UpdateLayout | ( | C4TargetFacet & | cgo | ) |
Definition at line 1700 of file C4ScriptGuiWindow.cpp.
References C4ScriptGuiWindowPropertyName::bottom, C4GUI::Container::Element, C4ScriptGuiWindowProperty::GetInt(), C4Facet::Hgt, C4Rect::Hgt, C4ScriptGuiWindowPropertyName::left, C4ScriptGuiWindowStyleFlag::Multiple, C4GUI::ScrollWindow::pScrollBar, C4GUI::Element::rcBounds, C4ScriptGuiWindowPropertyName::right, C4GUI::Element::SetVisibility(), standardHeight, standardWidth, C4ScriptGuiWindowPropertyName::style, C4ScriptGuiWindowPropertyName::top, UpdateLayout(), C4Facet::Wdt, C4Rect::Wdt, C4Facet::X, C4Rect::x, C4Facet::Y, C4Rect::y, and C4TargetFacet::Zoom.
Referenced by Draw(), DrawAll(), UpdateChildLayout(), and UpdateLayout().
bool C4ScriptGuiWindow::UpdateLayout | ( | C4TargetFacet & | cgo, |
float | parentWidth, | ||
float | parentHeight | ||
) |
Definition at line 1766 of file C4ScriptGuiWindow.cpp.
References C4ScriptGuiWindowPropertyName::bottom, C4ScriptGuiWindowPropertyName::bottomMargin, CStdFont::BreakMessage(), C4GUI_ScrollBarWdt, C4GUI::Container::Element, C4ScriptGuiWindowStyleFlag::FitChildren, C4GraphicsResource::FontRegular, StdStrBuf::getData(), C4ScriptGuiWindowProperty::GetFloat(), C4ScriptGuiWindowProperty::GetInt(), C4ScriptGuiWindowProperty::GetStrBuf(), GraphicsResource, C4ScriptGuiWindowStyleFlag::GridLayout, C4Rect::Hgt, C4GUI::ScrollWindow::iClientHeight, C4GUI::ScrollWindow::IsScrollingNecessary(), C4ScriptGuiWindowPropertyName::left, C4ScriptGuiWindowPropertyName::leftMargin, C4ScriptGuiWindowStyleFlag::NoCrop, C4GUI::ScrollWindow::pScrollBar, C4GUI::Element::rcBounds, C4ScriptGuiWindowPropertyName::relBottom, C4ScriptGuiWindowPropertyName::relBottomMargin, C4ScriptGuiWindowPropertyName::relLeft, C4ScriptGuiWindowPropertyName::relLeftMargin, C4ScriptGuiWindowPropertyName::relRight, C4ScriptGuiWindowPropertyName::relRightMargin, C4ScriptGuiWindowPropertyName::relTop, C4ScriptGuiWindowPropertyName::relTopMargin, C4ScriptGuiWindowPropertyName::right, C4ScriptGuiWindowPropertyName::rightMargin, C4GUI::Element::SetVisibility(), C4ScriptGuiWindowPropertyName::style, C4ScriptGuiWindowPropertyName::text, C4ScriptGuiWindowStyleFlag::TightGridLayout, C4ScriptGuiWindowPropertyName::top, C4ScriptGuiWindowPropertyName::topMargin, C4GUI::ScrollBar::Update(), C4GUI::ScrollWindow::Update(), UpdateChildLayout(), UpdateLayoutGrid(), UpdateLayoutTightGrid(), UpdateLayoutVertical(), C4ScriptGuiWindowStyleFlag::VerticalLayout, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
void C4ScriptGuiWindow::UpdateLayoutGrid | ( | ) |
Definition at line 1406 of file C4ScriptGuiWindow.cpp.
References C4ScriptGuiWindowPropertyName::bottomMargin, CalculateRelativeSize(), C4Rect::Hgt, C4ScriptGuiWindowPropertyName::leftMargin, C4GUI::Element::rcBounds, C4ScriptGuiWindowPropertyName::relBottomMargin, C4ScriptGuiWindowPropertyName::relLeftMargin, C4ScriptGuiWindowPropertyName::relRightMargin, C4ScriptGuiWindowPropertyName::relTopMargin, C4ScriptGuiWindowPropertyName::rightMargin, C4ScriptGuiWindowPropertyName::topMargin, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by UpdateLayout().
void C4ScriptGuiWindow::UpdateLayoutTightGrid | ( | ) |
Definition at line 1463 of file C4ScriptGuiWindow.cpp.
References C4ScriptGuiWindowPropertyName::bottomMargin, CalculateRelativeSize(), C4Rect::Hgt, C4ScriptGuiWindowPropertyName::leftMargin, C4GUI::Element::rcBounds, C4ScriptGuiWindowPropertyName::relBottomMargin, C4ScriptGuiWindowPropertyName::relLeftMargin, C4ScriptGuiWindowPropertyName::relRightMargin, C4ScriptGuiWindowPropertyName::relTopMargin, C4ScriptGuiWindowPropertyName::rightMargin, C4ScriptGuiWindowPropertyName::topMargin, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by UpdateLayout().
void C4ScriptGuiWindow::UpdateLayoutVertical | ( | ) |
Definition at line 1547 of file C4ScriptGuiWindow.cpp.
References C4ScriptGuiWindowPropertyName::bottomMargin, CalculateRelativeSize(), C4Rect::Hgt, C4GUI::Element::rcBounds, C4ScriptGuiWindowPropertyName::relBottomMargin, C4ScriptGuiWindowPropertyName::relTopMargin, C4ScriptGuiWindowPropertyName::topMargin, and C4Rect::y.
Referenced by UpdateLayout().
|
overridevirtualinherited |
Reimplemented from C4GUI::Window.
Definition at line 614 of file C4GuiContainers.cpp.
References C4GUI_ScrollBarWdt, C4GUI::ScrollWindow::fHasBar, C4GUI::Element::GetBounds(), C4GUI::Element::GetContainedClientRect(), C4GUI::Element::GetParent(), C4GUI::ScrollWindow::pScrollBar, C4GUI::Element::SetBounds(), C4GUI::ScrollWindow::Update(), C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by C4GUI::ScrollWindow::SetScrollBarEnabled().
|
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 |
Definition at line 181 of file C4ScriptGuiWindow.h.
|
friend |
Definition at line 182 of file C4ScriptGuiWindow.h.
int32_t C4ScriptGuiWindow::currentMouseState |
Definition at line 345 of file C4ScriptGuiWindow.h.
Referenced by CreateFromPropList(), Draw(), HasMouseFocus(), OnMouseIn(), OnMouseOut(), ProcessMouseInput(), and ToC4Value().
|
protectedinherited |
Definition at line 380 of file C4Gui.h.
Referenced by C4GUI::Element::StartDragging().
|
protectedinherited |
Definition at line 945 of file C4Gui.h.
Referenced by C4GUI::ScrollWindow::IsScrollBarEnabled(), C4GUI::ScrollWindow::IsScrollingActive(), C4GUI::ScrollWindow::SetScrollBarEnabled(), and C4GUI::ScrollWindow::UpdateOwnPos().
|
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().
|
protectedinherited |
Definition at line 944 of file C4Gui.h.
Referenced by C4GUI::ScrollWindow::IsScrollingNecessary(), C4GUI::ScrollWindow::SetClientHeight(), C4GUI::ScrollWindow::Update(), and UpdateLayout().
|
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().
|
protectedinherited |
Definition at line 946 of file C4Gui.h.
Referenced by C4GUI::ScrollWindow::Freeze(), C4GUI::ScrollWindow::IsFrozen(), C4GUI::ScrollWindow::UnFreeze(), and C4GUI::ScrollWindow::Update().
|
protectedinherited |
Definition at line 943 of file C4Gui.h.
Referenced by DrawChildren(), C4GUI::ScrollWindow::GetScrollY(), C4GUI::ScrollWindow::IsRangeInView(), MouseInput(), C4GUI::ScrollBar::OnPosChanged(), ProcessMouseInput(), C4GUI::ScrollWindow::ScrollBy(), C4GUI::ScrollWindow::ScrollRangeInView(), C4GUI::ScrollWindow::ScrollToBottom(), C4GUI::ScrollWindow::SetScroll(), C4GUI::ScrollBar::Update(), and C4GUI::ScrollWindow::Update().
|
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(), C4GUI::Screen::GetDialog(), C4GUI::Container::GetFirstNestedElement(), C4GUI::Container::GetLast(), C4GUI::Container::GetLastContained(), C4GUI::Screen::GetTopDialog(), C4Menu::InitSize(), C4GUI::Container::MakeLastElement(), C4GUI::Window::MouseInput(), C4GUI::Screen::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().
|
protectedinherited |
Definition at line 942 of file C4Gui.h.
Referenced by Draw(), DrawChildren(), C4GUI::ScrollWindow::IsScrollingActive(), ProcessMouseInput(), C4GUI::ScrollWindow::ScrollWindow(), C4GUI::ScrollWindow::SetDecoration(), C4GUI::ScrollWindow::SetScrollBarEnabled(), C4GUI::ScrollWindow::Update(), UpdateLayout(), C4GUI::ScrollWindow::UpdateOwnPos(), ~C4ScriptGuiWindow(), C4GUI::ScrollBar::~ScrollBar(), and C4GUI::ScrollWindow::~ScrollWindow().
|
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(), Draw(), C4GUI::Element::Draw3DFrame(), C4GUI::Element::DrawBar(), 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(), 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(), MouseInput(), C4GUI::Screen::MouseInput(), C4GUI::MultilineLabel::MultilineLabel(), C4ChatControl::ChatSheet::NickItem::NickItem(), OnMouseIn(), C4GUI::ContextMenu::Open(), C4GUI::Picture::Picture(), ProcessMouseInput(), C4GUI::ProgressBar::ProgressBar(), C4GUI::Screen::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(), UpdateLayout(), UpdateLayoutGrid(), UpdateLayoutTightGrid(), 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().
|
static |
Definition at line 186 of file C4ScriptGuiWindow.h.
Referenced by UpdateLayout().
|
static |
Definition at line 185 of file C4ScriptGuiWindow.h.
Referenced by UpdateLayout().