#include <C4Menu.h>
Public Member Functions | |
C4Menu () | |
~C4Menu () override | |
void | Clear () |
virtual void | Default () |
void | ClearPointers (C4Object *pObj) |
bool | Refill () |
void | Execute () |
void | SetPermanent (bool fPermanent) |
void | SetAlignment (int32_t iAlignment) |
int32_t | GetIdentification () |
int32_t | GetItemCount () |
int32_t | GetPosition () |
int32_t | GetSelection () |
bool | IsContextMenu () |
int | GetSymbolSize () |
int32_t | GetItemHeight () |
C4MenuItem * | GetSelectedItem () |
C4MenuItem * | GetItem (int32_t iIndex) |
virtual C4Object * | GetParentObject () |
bool | MoveSelection (int32_t iBy, bool fAdjustPosition, bool fDoCalls) |
bool | SetSelection (int32_t iSelection, bool fAdjustPosition, bool fDoCalls) |
bool | SetPosition (int32_t iPosition) |
void | SetSize (int32_t iToWdt, int32_t iToHgt) |
bool | Enter (bool fRight=false) |
bool | IsActive () |
bool | Control (BYTE byCom, int32_t iData) |
bool | KeyControl (BYTE byCom) |
bool | AddRefSym (const char *szCaption, const C4Facet &fctSymbol, const char *szCommand, int32_t iCount=C4MN_Item_NoCount, C4Object *pObject=nullptr, const char *szInfoCaption=nullptr, C4ID idID=C4ID::None, const char *szCommand2=nullptr, bool fOwnValue=false, int32_t iValue=0, bool fIsSelectable=true) |
bool | Add (const char *szCaption, C4FacetSurface &fctSymbol, const char *szCommand, int32_t iCount=C4MN_Item_NoCount, C4Object *pObject=nullptr, const char *szInfoCaption=nullptr, C4ID idID=C4ID::None, const char *szCommand2=nullptr, bool fOwnValue=false, int32_t iValue=0, bool fIsSelectable=true) |
bool | Add (const char *szCaption, C4Object *pGfxObj, const char *szCommand, int32_t iCount=C4MN_Item_NoCount, C4Object *pObject=nullptr, const char *szInfoCaption=nullptr, C4ID idID=C4ID::None, const char *szCommand2=nullptr, bool fOwnValue=false, int32_t iValue=0, bool fIsSelectable=true) |
bool | Add (const char *szCaption, C4DefGraphics *pGfx, const char *szCommand, int32_t iCount=C4MN_Item_NoCount, C4Object *pObject=nullptr, const char *szInfoCaption=nullptr, C4ID idID=C4ID::None, const char *szCommand2=nullptr, bool fOwnValue=false, int32_t iValue=0, bool fIsSelectable=true) |
void | ClearItems () |
void | ResetLocation () |
bool | SetLocation (int32_t iX, int32_t iY) |
bool | SetTextProgress (int32_t iToProgress, bool fAdd) |
void | SetEqualItemHeight (bool fToVal) |
bool | TryClose (bool fOK, bool fControl) |
void | SetCloseCommand (const char *strCommand) |
bool | IsTextProgressing () const |
void | RemoveElement (Element *pChild) override |
bool | IsComponentOutsideClientArea () override |
void | ApplyElementOffset (int32_t &riX, int32_t &riY) override |
void | ApplyInvElementOffset (int32_t &riX, int32_t &riY) override |
bool | IsFocused (Control *pCtrl) override |
void | SetFocus (Control *pCtrl, bool fByMouse) |
Control * | GetFocus () |
Dialog * | GetDlg () override |
DialogWindow * | GetDialogWindow () override |
virtual bool | CharIn (const char *c) |
void | MouseInput (CMouse &rMouse, int32_t iButton, int32_t iX, int32_t iY, DWORD dwKeyParam) override |
virtual class Control * | GetDefaultControl () |
virtual bool | OnEnter () |
bool | KeyEnter () |
virtual bool | OnEscape () |
bool | KeyEscape () |
void | AdvanceFocus (bool fBackwards) |
bool | KeyAdvanceFocus (bool fBackwards) |
int32_t | GetMarginTop () override |
bool | IsShown () |
bool | IsOK () |
bool | IsAborted () |
bool | IsActive (bool fForKeyboard) |
bool | IsFading () |
virtual bool | IsFullscreenDialog () |
virtual bool | HasBackground () |
virtual bool | IsFreePlaceDialog () |
virtual bool | IsBottomPlacementDialog () |
virtual bool | IsExclusiveDialog () |
bool | IsViewportDialog () |
virtual bool | DoPlacement (Screen *pOnScreen, const C4Rect &rPreferredDlgRect) |
bool | Show (Screen *pOnScreen, bool fCB) |
void | Close (bool fOK) |
bool | FadeIn (Screen *pOnScreen) |
void | FadeOut (bool fCloseWithOK) |
bool | DoModal () |
bool | Execute2 () |
void | SetDelOnClose (bool fToVal=true) |
void | SetTitle (const char *szToTitle, bool fShowCloseButton=true) |
void | SetFrameDeco (FrameDecoration *pNewDeco) |
void | ClearFrameDeco () |
FrameDecoration * | GetFrameDecoration () const |
void | SetClientSize (int32_t iToWdt, int32_t iToHgt) |
void | OnUserClose (C4GUI::Control *btn) |
virtual void | OnClosed (bool fOK) |
virtual void | OnShown () |
virtual void | OnIdle () |
ContextHandler * | GetContextHandler () override |
void | SetPos (int32_t iXPos, int32_t iYPos) |
C4Rect & | GetClientRect () override |
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 | 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 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) |
Static Public Member Functions | |
static int32_t | GetDefaultTitleHeight () |
Public Attributes | |
bool | fVisible {true} |
Protected Member Functions | |
bool | DoInitRefSym (const C4Facet &fctSymbol, const char *szEmpty, int32_t iExtra=C4MN_Extra_None, int32_t iExtraData=0, int32_t iId=0, int32_t iStyle=C4MN_Style_Normal) |
bool | DoInit (C4FacetSurface &fctSymbol, const char *szEmpty, int32_t iExtra=C4MN_Extra_None, int32_t iExtraData=0, int32_t iId=0, int32_t iStyle=C4MN_Style_Normal) |
void | DrawBuffer (C4Facet &cgo) |
void | AdjustSelection () |
void | AdjustPosition () |
bool | CheckBuffer () |
bool | RefillInternal () |
void | DrawButton (C4Facet &cgo) |
void | DrawScrollbar (C4Facet &cgo, int32_t iTotal, int32_t iVisible, int32_t iPosition) |
void | DrawFrame (C4Surface *sfcSurface, int32_t iX, int32_t iY, int32_t iWdt, int32_t iHgt) |
void | InitLocation (C4Facet &cgo) |
void | InitSize () |
void | UpdateScrollBar () |
void | UserSelectItem (int32_t Player, C4MenuItem *pItem) |
void | UserEnter (int32_t Player, C4MenuItem *pItem, bool fRight) |
bool | HasMouse () |
virtual bool | DoRefillInternal (bool &rfRefilled) |
virtual bool | MenuCommand (const char *szCommand, bool fIsCloseCommand) |
virtual void | OnSelectionChanged (int32_t iNewSelection) |
virtual bool | IsCloseDenied () |
virtual void | OnUserSelectItem (int32_t Player, int32_t iIndex) |
virtual void | OnUserEnter (int32_t Player, int32_t iIndex, bool fRight) |
virtual void | OnUserClose () |
virtual bool | IsReadOnly () |
virtual int32_t | GetControllingPlayer () |
const char * | GetID () override |
bool | HasPortrait () |
C4Viewport * | GetViewport () override |
bool | IsExternalDrawDialog () override |
bool | IsMouseControlled () override |
void | UpdateOwnPos () override |
void | UpdateElementPositions () |
int32_t | GetZOrdering () override |
void | Draw (C4TargetFacet &cgo) override |
void | DrawElement (C4TargetFacet &cgo) override |
bool | IsOwnPtrElement () override |
void | UserClose (bool fOK) override |
int32_t | GetMarginBottom () override |
int32_t | GetMarginLeft () override |
int32_t | GetMarginRight () override |
bool | CreateConsoleWindow () |
void | DestroyConsoleWindow () |
void | UpdateSize () override |
void | UpdatePos () override |
virtual void | ElementSizeChanged (Element *pOfElement) |
virtual void | ElementPosChanged (Element *pOfElement) |
virtual void | AfterElementRemoval () |
bool | OnHotkey (uint32_t cHotkey) override |
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 | IsMenu () |
virtual bool | CheckNameHotkey (const char *) |
Friends | |
class | C4Viewport |
class | C4MenuItem |
C4Menu::C4Menu | ( | ) |
Definition at line 237 of file C4Menu.cpp.
References C4GUI::Container::AddElement(), Default(), pClientWindow, and C4GUI::Container::SetVisibility().
|
inlineoverride |
bool C4Menu::Add | ( | const char * | szCaption, |
C4DefGraphics * | pGfx, | ||
const char * | szCommand, | ||
int32_t | iCount = C4MN_Item_NoCount , |
||
C4Object * | pObject = nullptr , |
||
const char * | szInfoCaption = nullptr , |
||
C4ID | idID = C4ID::None , |
||
const char * | szCommand2 = nullptr , |
||
bool | fOwnValue = false , |
||
int32_t | iValue = 0 , |
||
bool | fIsSelectable = true |
||
) |
Definition at line 376 of file C4Menu.cpp.
References C4MenuItem, IsActive(), ItemCount, C4MenuItem::SetGraphics(), and Style.
bool C4Menu::Add | ( | const char * | szCaption, |
C4FacetSurface & | fctSymbol, | ||
const char * | szCommand, | ||
int32_t | iCount = C4MN_Item_NoCount , |
||
C4Object * | pObject = nullptr , |
||
const char * | szInfoCaption = nullptr , |
||
C4ID | idID = C4ID::None , |
||
const char * | szCommand2 = nullptr , |
||
bool | fOwnValue = false , |
||
int32_t | iValue = 0 , |
||
bool | fIsSelectable = true |
||
) |
Definition at line 350 of file C4Menu.cpp.
References C4MenuItem, C4MenuItem::GrabSymbol(), IsActive(), ItemCount, and Style.
Referenced by C4MainMenu::ActivateClient(), C4MainMenu::ActivateGoals(), C4MainMenu::ActivateNewPlayer(), C4MainMenu::ActivateRules(), C4MainMenu::ActivateSurrender(), C4MainMenu::DoRefillInternal(), and C4ObjectMenu::DoRefillInternal().
bool C4Menu::Add | ( | const char * | szCaption, |
C4Object * | pGfxObj, | ||
const char * | szCommand, | ||
int32_t | iCount = C4MN_Item_NoCount , |
||
C4Object * | pObject = nullptr , |
||
const char * | szInfoCaption = nullptr , |
||
C4ID | idID = C4ID::None , |
||
const char * | szCommand2 = nullptr , |
||
bool | fOwnValue = false , |
||
int32_t | iValue = 0 , |
||
bool | fIsSelectable = true |
||
) |
Definition at line 363 of file C4Menu.cpp.
References C4MenuItem, IsActive(), ItemCount, C4MenuItem::SetGraphics(), and Style.
|
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(), 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().
bool C4Menu::AddRefSym | ( | const char * | szCaption, |
const C4Facet & | fctSymbol, | ||
const char * | szCommand, | ||
int32_t | iCount = C4MN_Item_NoCount , |
||
C4Object * | pObject = nullptr , |
||
const char * | szInfoCaption = nullptr , |
||
C4ID | idID = C4ID::None , |
||
const char * | szCommand2 = nullptr , |
||
bool | fOwnValue = false , |
||
int32_t | iValue = 0 , |
||
bool | fIsSelectable = true |
||
) |
Definition at line 337 of file C4Menu.cpp.
References C4MenuItem, IsActive(), ItemCount, C4MenuItem::RefSymbol(), and Style.
Referenced by C4MainMenu::ActivateDisplay(), C4MainMenu::ActivateHost(), C4MainMenu::ActivateMain(), C4MainMenu::ActivateOptions(), C4MainMenu::ActivateSavegame(), and C4MainMenu::DoRefillInternal().
|
protected |
Definition at line 588 of file C4Menu.cpp.
References Columns, C4GUI::Element::GetBounds(), GetSelectedItem(), C4Rect::Hgt, Lines, pClientWindow, C4GUI::ScrollWindow::ScrollRangeInView(), and C4Rect::y.
Referenced by InitLocation(), and SetSelection().
|
protected |
Definition at line 925 of file C4Menu.cpp.
References GetItem(), C4MenuItem::IsSelectable, Selection, and SetSelection().
Referenced by RefillInternal().
|
inherited |
Definition at line 580 of file C4GuiDialogs.cpp.
References C4GUI::Container::GetNextNestedElement(), C4GUI::Element::GetParent(), C4GUI::Element::IsFocusElement(), C4GUI::Container::IsSelectedChild(), C4GUI::Element::IsVisible(), C4GUI::Dialog::pActiveCtrl, and C4GUI::Dialog::SetFocus().
Referenced by C4GUI::Control::DisableFocus(), C4GUI::Dialog::KeyAdvanceFocus(), and C4ChatControl::OnLoginDataEnter().
|
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().
|
overridevirtualinherited |
Reimplemented from C4GUI::Window.
Definition at line 743 of file C4GuiDialogs.cpp.
References C4GUI::Window::ApplyElementOffset(), C4Viewport::GetOutputRect(), C4GUI::Dialog::GetViewport(), C4Rect::x, and C4Rect::y.
|
overridevirtualinherited |
Reimplemented from C4GUI::Window.
Definition at line 756 of file C4GuiDialogs.cpp.
References C4GUI::Window::ApplyInvElementOffset(), C4Viewport::GetOutputRect(), C4GUI::Dialog::GetViewport(), C4Rect::x, and C4Rect::y.
|
inlineinherited |
Definition at line 824 of file C4Gui.h.
References C4GUI::Container::pFirst.
Referenced by C4ScriptGuiWindow::ClearPointers().
|
virtualinherited |
Definition at line 519 of file C4GuiDialogs.cpp.
References C4GUI::Control::CharIn(), C4GUI::Dialog::GetDefaultControl(), C4GUI::Dialog::pActiveCtrl, and C4GUI::Dialog::SetFocus().
Referenced by C4GUI::Screen::CharIn().
|
protected |
|
inlineprotectedvirtualinherited |
Reimplemented in C4StartupScenSelDlg::ScenListItem.
Definition at line 407 of file C4Gui.h.
Referenced by C4GUI::ListBox::CharIn().
void C4Menu::Clear | ( | ) |
Definition at line 271 of file C4Menu.cpp.
References C4FacetSurface::Clear(), C4GUI::Dialog::ClearFrameDeco(), ClearItems(), C4GUI::Dialog::Close(), fActive, and Symbol.
Referenced by C4MainMenu::C4MainMenu(), DoInit(), DoInitRefSym(), TryClose(), ~C4Menu(), and C4Player::~C4Player().
|
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().
|
inlineinherited |
Definition at line 2200 of file C4Gui.h.
References C4GUI::FrameDecoration::Deref(), and C4GUI::Dialog::pFrameDeco.
Referenced by Clear().
void C4Menu::ClearItems | ( | ) |
Definition at line 895 of file C4Menu.cpp.
References GetItem(), ItemCount, and UpdateScrollBar().
Referenced by C4Object::ActivateMenu(), Clear(), C4MainMenu::DoRefillInternal(), and C4ObjectMenu::DoRefillInternal().
void C4Menu::ClearPointers | ( | C4Object * | pObj | ) |
Definition at line 1158 of file C4Menu.cpp.
References C4MenuItem::ClearPointers(), and GetItem().
Referenced by C4ObjectMenu::ClearPointers(), and C4Player::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 Draw().
|
inherited |
Definition at line 631 of file C4GuiDialogs.cpp.
References C4GUI::Screen::CloseDialog(), C4GUI::Dialog::DestroyConsoleWindow(), C4GUI::Dialog::fOK, C4GUI::Dialog::fShow, C4GUI::Element::GetScreen(), C4GUI::Dialog::OnClosed(), and C4GUI::Dialog::pWindow.
Referenced by C4MainMenu::ActivateMain(), Clear(), C4GUI::Screen::CloseAllDialogs(), C4FullScreen::CloseMenu(), C4Player::CloseMenu(), C4MessageInput::CloseTypeIn(), C4StartupScenSelDlg::DoBack(), C4Scoreboard::DoDlgShow(), C4Network2::DoLobby(), C4Startup::DontStartup(), Enter(), Execute(), C4Scoreboard::HideDlg(), C4Network2::LeaguePlrAuth(), C4Network2::LeagueStart(), C4MainMenu::MenuCommand(), C4GUI::MessageDialog::OnEnter(), C4GameLobby::MainDlg::OnExitBtn(), C4DownloadDlg::OnIdle(), Refill(), C4ChatDlg::StopChat(), C4Network2ClientListDlg::Toggle(), C4ChartDialog::Toggle(), C4ChatDlg::ToggleChat(), TryClose(), C4GUI::Dialog::UserClose(), C4FileSelDlg::UserClose(), and C4StartupPlrPropertiesDlg::UserClose().
bool C4Menu::Control | ( | BYTE | byCom, |
int32_t | iData | ||
) |
Definition at line 420 of file C4Menu.cpp.
References C4MN_AdjustPosition, Columns, COM_MenuClose, COM_MenuDown, COM_MenuEnter, COM_MenuEnterAll, COM_MenuLeft, COM_MenuRight, COM_MenuSelect, COM_MenuShowText, COM_MenuUp, Enter(), IsActive(), ItemCount, MoveSelection(), Selection, SetSelection(), SetTextProgress(), and TryClose().
Referenced by Draw(), KeyControl(), and C4MainMenu::MenuCommand().
|
protectedinherited |
Definition at line 239 of file C4GuiDialogs.cpp.
References Application, StdStrBuf::getData(), C4GUI::Dialog::GetID(), C4GUI::DialogWindow::Init(), C4GUI::DialogWindow::pDialog, C4Window::pSurface, C4GUI::Dialog::pWindow, C4GUI::Element::rcBounds, and C4GUI::Dialog::TitleString.
Referenced by C4GUI::Dialog::Show().
|
virtual |
Reimplemented in C4ObjectMenu, and C4MainMenu.
Definition at line 246 of file C4Menu.cpp.
References Alignment, C4MN_Align_Bottom, C4MN_Align_Right, C4MN_Extra_None, C4MN_Style_Normal, C4SymbolSize, Caption, StdStrBuf::Clear(), CloseCommand, Columns, C4FacetSurface::Default(), Extra, ExtraData, fActive, fEqualIconItemHeight, fHasPortrait, fTextProgressing, Identification, ItemCount, ItemHeight, ItemWidth, Lines, LocationSet, NeedRefill, Permanent, Selection, Style, Symbol, TimeOnSelection, and VisibleCount.
Referenced by C4Menu(), C4MainMenu::Default(), C4ObjectMenu::Default(), DoInit(), and DoInitRefSym().
|
protectedinherited |
Definition at line 262 of file C4GuiDialogs.cpp.
References C4Window::Clear(), C4Window::pSurface, and C4GUI::Dialog::pWindow.
Referenced by C4GUI::Dialog::Close(), C4GUI::Dialog::OnClosed(), and C4GUI::Dialog::~Dialog().
|
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().
|
protected |
Definition at line 300 of file C4Menu.cpp.
References Clear(), Default(), C4FacetSurface::GrabFrom(), and Symbol.
Referenced by C4ObjectMenu::Init(), and C4MainMenu::Init().
|
protected |
Definition at line 307 of file C4Menu.cpp.
References Clear(), Default(), C4FacetSurface::Set(), and Symbol.
Referenced by C4MainMenu::InitRefSym(), and C4ObjectMenu::InitRefSym().
|
inherited |
Definition at line 658 of file C4GuiDialogs.cpp.
References Application, C4GUI::Dialog::fOK, C4GUI::Dialog::fShow, Game, C4Application::IsQuittingGame(), C4Game::IsRunning, C4GUI::Dialog::OnIdle(), and StdScheduler::ScheduleProcs().
Referenced by C4DownloadDlg::ShowModal(), and C4GUI::Screen::ShowModalDlg().
|
inlinevirtualinherited |
Reimplemented in C4GUI::FullscreenDialog, C4ScoreboardDlg, and C4ChatDlg.
Definition at line 2176 of file C4Gui.h.
Referenced by C4GUI::Screen::ShowDialog().
|
inlineprotectedvirtual |
Reimplemented in C4ObjectMenu, and C4MainMenu.
Definition at line 230 of file C4Menu.h.
Referenced by RefillInternal().
|
overrideprotectedvirtual |
Reimplemented from C4GUI::Dialog.
Definition at line 775 of file C4Menu.cpp.
References C4MN_InfoCaption_Delay, C4MN_Style_Info, C4GUI::Element::ClientPos2ScreenPos(), Control(), C4GUI::Screen::DrawToolTip(), fTextProgressing, GetSelectedItem(), C4MenuItem::InfoCaption, InitLocation(), IsActive(), C4GUI::CMouse::IsActiveInput(), LocationSet, C4GUI::Screen::Mouse, pGUI, C4GUI::Container::SetVisibility(), Style, and TimeOnSelection.
Referenced by C4Viewport::DrawMenu().
|
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().
|
protected |
|
protected |
|
overrideprotectedvirtual |
Reimplemented from C4GUI::Dialog.
Definition at line 808 of file C4Menu.cpp.
References C4FCT_Right, C4Id2Def(), C4MN_Extra_Value, C4MN_SymbolSize, DrawFrame(), C4Facet::DrawValue(), Extra, C4GraphicsResource::fctWealth, C4MenuItem::fOwnValue, GetSelectedItem(), C4Def::GetValue(), GraphicsResource, C4Facet::Hgt, C4Rect::Hgt, C4MenuItem::id, C4MenuItem::iValue, NO_OWNER, C4ID::None, C4GUI::Element::rcBounds, C4Facet::Surface, C4TargetFacet::TargetX, C4TargetFacet::TargetY, C4Facet::Wdt, C4Rect::Wdt, C4Facet::X, C4Rect::x, C4Facet::Y, and C4Rect::y.
|
protected |
Definition at line 852 of file C4Menu.cpp.
References C4RGB, C4Draw::DrawFrameDw(), and pDraw.
Referenced by DrawElement().
|
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().
|
protected |
|
protectedinherited |
Definition at line 359 of file C4Gui.cpp.
References C4GUI::Element::DrawHVBar(), C4Rect::Hgt, and C4GUI::Element::rcBounds.
Referenced by C4GUI::ScrollBar::DrawElement().
|
inlineprotectedvirtualinherited |
Reimplemented in C4GUI::Screen, C4GUI::ContextMenu, C4GUI::TextWindow, C4GUI::ListBox, and C4GUI::ScrollWindow.
Definition at line 754 of file C4Gui.h.
Referenced by C4GUI::ScrollWindow::ElementPosChanged(), and C4GUI::Element::UpdatePos().
|
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().
bool C4Menu::Enter | ( | bool | fRight = false | ) |
Definition at line 485 of file C4Menu.cpp.
References _MAX_FNAME_LEN, C4MN_Style_Dialog, C4MN_Style_Info, C4GUI::Dialog::Close(), C4MenuItem::Command, C4MenuItem::Command2, fActive, GetSelectedItem(), IsActive(), MenuCommand(), Permanent, SCopy(), Style, and TryClose().
Referenced by Control(), and C4MainMenu::OnUserEnter().
void C4Menu::Execute | ( | ) |
Definition at line 903 of file C4Menu.cpp.
References C4GUI::Dialog::Close(), fTextProgressing, Game, IsActive(), C4Game::iTick35, NeedRefill, RefillInternal(), and SetTextProgress().
Referenced by C4FullScreen::Execute(), C4ObjectMenu::Execute(), and C4Player::Execute().
|
inherited |
Definition at line 690 of file C4GuiDialogs.cpp.
References C4GUI::Dialog::Execute().
|
inherited |
Definition at line 714 of file C4GuiDialogs.cpp.
References C4GUI::Dialog::eFade, C4GUI::Element::fVisible, C4GUI::Screen::GetScreenS(), C4GUI::Dialog::iFade, C4GUI::Dialog::OnShown(), and C4GUI::Screen::ShowDialog().
Referenced by C4Network2::DoLobby(), and C4Startup::SwitchDialog().
|
inherited |
Definition at line 728 of file C4GuiDialogs.cpp.
References C4GUI::Screen::CloseDialog(), C4GUI::Dialog::eFade, C4GUI::Dialog::fOK, C4GUI::Element::fVisible, C4GUI::Element::GetScreen(), C4GUI::Dialog::IsShown(), and C4GUI::Dialog::OnClosed().
Referenced by C4Startup::SwitchDialog().
|
inlineinherited |
Definition at line 445 of file C4Gui.h.
References C4GUI::Element::rcBounds.
Referenced by C4GUI::ListBox::AddElement(), 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(), 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(), UpdateElementPositions(), C4GUI::ScrollWindow::UpdateOwnPos(), 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(), 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().
|
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(), 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.
|
inlineoverridevirtualinherited |
Reimplemented from C4GUI::Element.
Definition at line 2212 of file C4Gui.h.
References C4GUI::Element::pContextHandler.
|
inlineprotectedvirtual |
Reimplemented in C4ObjectMenu, and C4MainMenu.
Definition at line 238 of file C4Menu.h.
References NO_OWNER.
Referenced by HasMouse().
|
inlinevirtualinherited |
Reimplemented in C4StartupNetDlg, C4GameLobby::MainDlg, C4ChatDlg, and C4StartupModsDlg.
Definition at line 2130 of file C4Gui.h.
Referenced by C4GUI::Dialog::CharIn().
|
staticinherited |
Definition at line 330 of file C4GuiDialogs.cpp.
References C4GUI_MinWoodBarHgt, CStdFont::GetLineHeight(), GraphicsResource, and C4GraphicsResource::TextFont.
|
inlineoverridevirtualinherited |
Reimplemented from C4GUI::Element.
Definition at line 2118 of file C4Gui.h.
References C4GUI::Dialog::pWindow.
|
inlineoverridevirtualinherited |
Reimplemented from C4GUI::Element.
Definition at line 2117 of file C4Gui.h.
Referenced by C4GUI::Screen::GetDialog(), C4GUI::Screen::GetFullscreenDialog(), C4GUI::Screen::GetMouseControlledDialogCount(), C4GUI::Screen::GetTopDialog(), C4GUI::Screen::MouseInput(), and C4StartupPlrSelDlg::PlayerListItem::UpdateCore().
|
inherited |
Definition at line 223 of file C4GuiContainers.cpp.
References C4GUI::Container::pFirst, and C4GUI::Element::pNext.
Referenced by C4GUI::ContextMenu::GetIndexedEntry(), 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(), 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(), 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 2116 of file C4Gui.h.
References C4GUI::Dialog::pActiveCtrl.
Referenced by C4StartupScenSelDlg::DeselectAll(), C4StartupModsDlg::DoOK(), C4StartupNetDlg::DoOK(), C4GUI::Control::MouseInput(), C4GUI::RenameEdit::OnFinishInput(), C4GUI::RenameEdit::RenameEdit(), and C4GUI::Container::SetVisibility().
|
inlineinherited |
|
inlineinherited |
Definition at line 444 of file C4Gui.h.
References C4Rect::Hgt, and C4GUI::Element::rcBounds.
Referenced by C4GUI::Screen::ShowDialog().
|
inlineoverrideprotectedvirtual |
Reimplemented from C4GUI::Dialog.
int32_t C4Menu::GetIdentification | ( | ) |
Definition at line 612 of file C4Menu.cpp.
References Identification.
Referenced by C4Player::Execute().
C4MenuItem * C4Menu::GetItem | ( | int32_t | iIndex | ) |
Definition at line 512 of file C4Menu.cpp.
References C4GUI::Container::GetElementByIndex(), and pClientWindow.
Referenced by AdjustSelection(), ClearItems(), ClearPointers(), GetSelectedItem(), InitLocation(), MoveSelection(), SetSelection(), and SetTextProgress().
int32_t C4Menu::GetItemCount | ( | ) |
Definition at line 517 of file C4Menu.cpp.
References ItemCount.
Referenced by C4MainMenu::ActivateMain(), and C4MainMenu::DoRefillInternal().
|
inline |
|
inlineinherited |
Definition at line 830 of file C4Gui.h.
References C4GUI::Container::pLast.
Referenced by C4GUI::ListBox::GetLast(), InitSize(), and 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().
|
inlineoverrideprotectedvirtual |
Reimplemented from C4GUI::Dialog.
Definition at line 258 of file C4Menu.h.
References C4MN_FrameWidth, C4MN_SymbolSize, Extra, and C4GUI::Dialog::GetMarginBottom().
Referenced by InitSize().
|
inlineoverrideprotectedvirtual |
Reimplemented from C4GUI::Dialog.
Definition at line 259 of file C4Menu.h.
References C4MN_FrameWidth, and C4GUI::Dialog::GetMarginLeft().
Referenced by InitSize().
|
inlineoverrideprotectedvirtual |
Reimplemented from C4GUI::Dialog.
Definition at line 260 of file C4Menu.h.
References C4MN_FrameWidth, and C4GUI::Dialog::GetMarginRight().
Referenced by InitSize().
|
inlineoverridevirtualinherited |
Reimplemented from C4GUI::Window.
Reimplemented in C4StartupScenSelDlg, C4StartupPlrPropertiesDlg, C4StartupPlrSelDlg, and C4GUI::FullscreenDialog.
Definition at line 2141 of file C4Gui.h.
References C4GUI::Element::GetBounds(), C4GUI::Window::GetMarginTop(), C4Rect::Hgt, C4GUI::FrameDecoration::iBorderTop, C4GUI::Dialog::pFrameDeco, and C4GUI::Dialog::pTitle.
Referenced by InitSize(), C4GUI::Dialog::SetClientSize(), and C4ScoreboardDlg::Update().
|
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 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().
|
inlinevirtual |
int32_t C4Menu::GetPosition | ( | ) |
|
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().
C4MenuItem * C4Menu::GetSelectedItem | ( | ) |
Definition at line 583 of file C4Menu.cpp.
References GetItem(), and Selection.
Referenced by AdjustPosition(), Draw(), DrawElement(), Enter(), C4Player::Execute(), C4MainMenu::OnSelectionChanged(), SetSelection(), and UpdateElementPositions().
int32_t C4Menu::GetSelection | ( | ) |
Definition at line 599 of file C4Menu.cpp.
References Selection.
Referenced by C4MainMenu::MenuCommand().
|
inline |
|
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().
|
overrideprotectedvirtual |
Reimplemented from C4GUI::Dialog.
Definition at line 993 of file C4Menu.cpp.
References C4ViewportList::GetFirstViewport(), C4Viewport::GetNext(), and Viewports.
Referenced by C4ObjectMenu::IsReadOnly().
|
inlineinherited |
Definition at line 443 of file C4Gui.h.
References C4GUI::Element::rcBounds, and C4Rect::Wdt.
Referenced by C4GUI::Screen::ShowDialog().
|
inlineoverrideprotectedvirtual |
|
inlinevirtualinherited |
Reimplemented in C4StartupScenSelDlg, C4StartupPlrSelDlg, C4StartupNetDlg, and C4StartupModsDlg.
Definition at line 2155 of file C4Gui.h.
Referenced by C4GUI::Screen::Draw().
|
protected |
Definition at line 1149 of file C4Menu.cpp.
References C4PlayerList::Get(), GetControllingPlayer(), C4Player::MouseControl, NO_OWNER, and Players.
Referenced by SetSelection(), and UpdateElementPositions().
|
inlineprotected |
Definition at line 242 of file C4Menu.h.
References fHasPortrait.
Referenced by InitLocation(), InitSize(), SetTextProgress(), and UpdateElementPositions().
|
protected |
Definition at line 624 of file C4Menu.cpp.
References AdjustPosition(), Alignment, CStdFont::BreakMessage(), C4MN_Align_Bottom, C4MN_Align_Free, C4MN_Align_Left, C4MN_Align_Right, C4MN_Align_Top, C4MN_DefInfoWdt, C4MN_DlgLines, C4MN_DlgPortraitIndent, C4MN_DlgPortraitWdt, C4MN_DlgWdt, C4MN_FrameWidth, C4MN_Style_Context, C4MN_Style_Dialog, C4MN_Style_Info, C4MN_Style_Normal, C4MN_SymbolSize, C4PictureSize, C4SymbolSize, C4MenuItem::Caption, Caption, Columns, C4GraphicsResource::FontRegular, StdStrBuf::getData(), GetItem(), CStdFont::GetLineHeight(), CStdFont::GetTextExtent(), GraphicsResource, HasPortrait(), C4Facet::Hgt, C4Rect::Hgt, C4MenuItem::InfoCaption, InitSize(), ItemCount, ItemHeight, ItemWidth, Lines, C4GUI::Element::rcBounds, C4GUI::Window::SetPos(), C4GUI::Container::SetVisibility(), Style, UpdateElementPositions(), UpdateScrollBar(), C4Facet::Wdt, C4Rect::Wdt, C4Rect::x, X, and C4Rect::y.
Referenced by Draw().
|
protected |
Definition at line 739 of file C4Menu.cpp.
References C4GUI_ScrollBarWdt, C4MN_DlgLineMargin, C4MN_DlgPortraitIndent, C4MN_DlgPortraitWdt, C4MN_Style_Dialog, Columns, C4GUI::Element::GetBounds(), C4GUI::Container::GetLast(), C4GUI::Window::GetMarginBottom(), GetMarginBottom(), C4GUI::Window::GetMarginLeft(), GetMarginLeft(), C4GUI::Window::GetMarginRight(), GetMarginRight(), C4GUI::Window::GetMarginTop(), C4GUI::Dialog::GetMarginTop(), HasPortrait(), C4Rect::Hgt, ItemHeight, ItemWidth, Lines, pClientWindow, C4GUI::Container::pLast, C4GUI::Element::rcBounds, C4GUI::Element::SetBounds(), C4GUI::ScrollWindow::SetScrollBarEnabled(), Style, UpdateOwnPos(), VisibleCount, C4Rect::x, and C4Rect::y.
Referenced by InitLocation(), SetSize(), and UpdateScrollBar().
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().
|
inlineinherited |
Definition at line 2150 of file C4Gui.h.
References C4GUI::Dialog::fOK, and C4GUI::Dialog::fShow.
Referenced by C4Network2::DoLobby(), C4Network2::FinalInit(), C4Game::InitNetworkFromAddress(), C4Network2::LeaguePlrAuth(), C4Network2::LeagueStart(), and C4Network2::RetrieveRes().
bool C4Menu::IsActive | ( | ) |
Definition at line 480 of file C4Menu.cpp.
References fActive.
Referenced by C4Object::ActivateMenu(), Add(), AddRefSym(), C4FullScreen::CloseMenu(), C4Object::CloseMenu(), Control(), C4Object::DirectComContents(), C4Game::DoKeyboardInput(), Draw(), C4Viewport::DrawMenu(), Enter(), Execute(), C4ObjectMenu::Execute(), C4Player::Execute(), C4Viewport::IsViewportMenu(), KeyControl(), Refill(), SetPosition(), SetSelection(), and SetTextProgress().
|
inherited |
Definition at line 699 of file C4GuiDialogs.cpp.
References C4GUI::Element::GetScreen(), C4GUI::Screen::HasContext(), C4GUI::Screen::IsExclusive(), C4GUI::Dialog::IsFading(), C4GUI::Dialog::IsShown(), and C4GUI::Screen::pActiveDlg.
Referenced by C4GUI::Control::HasDrawFocus(), C4GUI::Element::IsInActiveDlg(), C4StartupModsDlg::OnSec1Timer(), and C4StartupNetDlg::OnSec1Timer().
|
inlinevirtualinherited |
Reimplemented in C4ChatInputDialog.
Definition at line 2162 of file C4Gui.h.
Referenced by C4GUI::Screen::ShowDialog().
|
inlineprotectedvirtual |
Reimplemented in C4ObjectMenu.
Definition at line 233 of file C4Menu.h.
Referenced by TryClose().
|
inlineoverridevirtualinherited |
Reimplemented from C4GUI::Window.
Reimplemented in C4StartupPlrPropertiesDlg, and C4GUI::FullscreenDialog.
Definition at line 2106 of file C4Gui.h.
References C4GUI::Dialog::pTitle.
|
inline |
Definition at line 164 of file C4Menu.h.
References C4MN_Style_Context, and Style.
Referenced by C4Object::DirectComContents(), and RefillInternal().
|
inlinevirtualinherited |
Reimplemented in C4ChatInputDialog, C4GameOverDlg, C4AbortGameDialog, and C4ChatDlg.
Definition at line 2165 of file C4Gui.h.
Referenced by C4GUI::Screen::HasKeyboardFocus().
|
inlineoverrideprotectedvirtual |
Reimplemented from C4GUI::Dialog.
|
inlineinherited |
Definition at line 2152 of file C4Gui.h.
References C4GUI::Dialog::eFade.
Referenced by C4GUI::Screen::CloseDialog(), C4GUI::Screen::GetFullscreenDialog(), C4GUI::Dialog::IsActive(), C4GUI::Screen::MouseInput(), and C4GUI::Screen::RecheckActiveDialog().
|
inlineoverridevirtualinherited |
Reimplemented from C4GUI::Container.
Definition at line 2114 of file C4Gui.h.
References C4GUI::Dialog::pActiveCtrl.
Referenced by C4GameLobby::MainDlg::KeyHistoryUpDown().
|
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().
|
inlinevirtualinherited |
Reimplemented in C4ChatInputDialog, C4GameOverDlg, C4AbortGameDialog, and C4ChatDlg.
Definition at line 2159 of file C4Gui.h.
Referenced by C4GUI::Screen::ShowDialog().
|
inlinevirtualinherited |
Reimplemented in C4GUI::FullscreenDialog.
Definition at line 2154 of file C4Gui.h.
Referenced by C4GUI::Screen::GetFullscreenDialog().
|
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().
|
inlineoverrideprotectedvirtual |
|
inlineinherited |
|
inlineoverrideprotectedvirtual |
|
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().
|
inlineprotectedvirtual |
Reimplemented in C4ObjectMenu.
Definition at line 237 of file C4Menu.h.
Referenced by UserClose(), UserEnter(), and UserSelectItem().
|
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().
|
inlineinherited |
Definition at line 2148 of file C4Gui.h.
References C4GUI::Dialog::fShow.
Referenced by C4Network2::DoLobby(), C4Startup::DontStartup(), C4ScenarioListLoader::DoProcessCallback(), C4GUI::Dialog::FadeOut(), C4GUI::Screen::GetMouseControlledDialogCount(), C4GUI::Screen::GetTopDialog(), C4GUI::Dialog::IsActive(), C4GUI::Screen::MouseInput(), C4FileSelDlg::SetPath(), C4Startup::SwitchDialog(), and C4ChatDlg::ToggleChat().
|
inline |
|
inlineinherited |
Definition at line 2173 of file C4Gui.h.
References C4GUI::Dialog::fViewportDlg.
Referenced by C4GUI::Dialog::SetTitle(), C4GUI::Dialog::Show(), and C4GUI::Screen::ShowDialog().
|
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(), C4ScriptGuiWindow::Draw(), C4ScriptGuiWindow::DrawAll(), C4ScriptGuiWindow::DrawChildren(), C4ChatControl::GetDefaultControl(), C4GUI::Screen::GetFullscreenDialog(), C4GUI::Element::IsVisible(), C4ScriptGuiWindow::IsVisibleTo(), C4GUI::Window::MouseInput(), C4GUI::Control::MouseInput(), C4GUI::Screen::MouseInput(), C4GUI::Container::OnHotkey(), C4ScriptGuiWindow::ProcessMouseInput(), SetPosition(), UpdateElementPositions(), and C4GUI::TextWindow::UpdateSize().
|
inlineinherited |
Definition at line 2139 of file C4Gui.h.
References C4GUI::Dialog::AdvanceFocus().
Referenced by C4StartupMainDlg::C4StartupMainDlg(), and C4GUI::Dialog::Dialog().
bool C4Menu::KeyControl | ( | BYTE | byCom | ) |
Definition at line 473 of file C4Menu.cpp.
References Control(), and IsActive().
Referenced by C4FullScreen::MenuKeyControl().
|
inlineinherited |
Definition at line 2134 of file C4Gui.h.
References C4GUI::Dialog::OnEnter().
Referenced by C4FileSelDlg::C4FileSelDlg(), and C4GUI::Dialog::Dialog().
|
inlineinherited |
Definition at line 2136 of file C4Gui.h.
References C4GUI::Dialog::OnEscape().
Referenced by C4ChatInputDialog::C4ChatInputDialog(), and C4GUI::Dialog::Dialog().
|
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().
|
inlineprotectedvirtual |
Reimplemented in C4ObjectMenu, and C4MainMenu.
Definition at line 231 of file C4Menu.h.
Referenced by Enter(), and TryClose().
|
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 C4GUI::Screen::MouseInput().
|
overridevirtualinherited |
Reimplemented from C4GUI::Window.
Definition at line 557 of file C4GuiDialogs.cpp.
References C4GUI::Window::MouseInput().
Referenced by C4GUI::Screen::MouseInput().
|
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 C4GUI::Screen::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().
bool C4Menu::MoveSelection | ( | int32_t | iBy, |
bool | fAdjustPosition, | ||
bool | fDoCalls | ||
) |
Definition at line 522 of file C4Menu.cpp.
References GetItem(), C4MenuItem::IsSelectable, ItemCount, Selection, and SetSelection().
Referenced by Control().
|
virtualinherited |
Reimplemented in C4StartupScenSelDlg, C4StartupPlrPropertiesDlg, C4StartupOptionsDlg, C4StartupNetDlg, C4StartupMainDlg, C4ChatInputDialog, C4GUI::InputDialog, C4GUI::ConfirmationDialog, C4GameOverDlg, C4GameLobby::MainDlg, C4AbortGameDialog, C4PortraitSelDlg, C4FileSelDlg, C4ChatDlg, C4StartupModsDlg, and C4StartupPlrColorPickerDlg.
Definition at line 646 of file C4GuiDialogs.cpp.
References C4GUI::Dialog::DestroyConsoleWindow(), C4GUI::Dialog::fDelOnClose, and C4GUI::Dialog::pWindow.
Referenced by C4GUI::Dialog::Close(), C4GUI::Dialog::FadeOut(), C4FileSelDlg::OnClosed(), C4GUI::ConfirmationDialog::OnClosed(), C4GUI::InputDialog::OnClosed(), and C4StartupOptionsDlg::OnClosed().
|
inlinevirtualinherited |
Reimplemented in C4StartupScenSelDlg, C4StartupPlrSelDlg, C4StartupOptionsDlg, C4StartupNetDlg, C4StartupLegalDlg, C4StartupAboutDlg, C4ChatInputDialog, C4GUI::ProgressDialog, C4GUI::MessageDialog, C4GUI::FullscreenDialog, C4GameOverDlg, and C4StartupModsDlg.
Definition at line 2133 of file C4Gui.h.
References C4GUI::Dialog::UserClose().
Referenced by C4GUI::Dialog::KeyEnter().
|
inlinevirtualinherited |
Reimplemented in C4StartupScenSelDlg, C4StartupPlrSelDlg, C4StartupOptionsDlg, C4StartupNetDlg, C4StartupLegalDlg, C4StartupAboutDlg, C4GameOverDlg, and C4StartupModsDlg.
Definition at line 2135 of file C4Gui.h.
References C4GUI::Dialog::UserClose().
Referenced by C4GUI::Dialog::KeyEscape().
|
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.
|
inlinevirtualinherited |
Reimplemented in C4PortraitSelDlg, and C4DownloadDlg.
Definition at line 2210 of file C4Gui.h.
Referenced by C4GUI::Dialog::DoModal().
|
inlineprotectedvirtual |
Reimplemented in C4ObjectMenu, and C4MainMenu.
Definition at line 232 of file C4Menu.h.
Referenced by SetSelection().
|
inlinevirtualinherited |
Reimplemented in C4StartupScenSelDlg, C4StartupNetDlg, C4StartupMainDlg, C4GameOverDlg, C4AbortGameDialog, C4DefinitionSelDlg, C4FileSelDlg, C4ChatDlg, and C4StartupModsDlg.
Definition at line 2209 of file C4Gui.h.
Referenced by C4GUI::Dialog::FadeIn(), C4StartupModsDlg::OnShown(), C4FileSelDlg::OnShown(), C4StartupNetDlg::OnShown(), C4StartupScenSelDlg::OnShown(), and C4GUI::Dialog::Show().
|
inlineprotectedvirtual |
Reimplemented in C4ObjectMenu, and C4MainMenu.
Definition at line 236 of file C4Menu.h.
Referenced by UserClose().
|
inlineinherited |
Definition at line 2205 of file C4Gui.h.
References C4GUI::Dialog::UserClose().
Referenced by C4GUI::Dialog::SetTitle().
|
inlineprotectedvirtual |
Reimplemented in C4ObjectMenu, and C4MainMenu.
Definition at line 235 of file C4Menu.h.
Referenced by UserEnter().
|
inlineprotectedvirtual |
Reimplemented in C4ObjectMenu, and C4MainMenu.
Definition at line 234 of file C4Menu.h.
Referenced by UserSelectItem().
|
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().
bool C4Menu::Refill | ( | ) |
Definition at line 915 of file C4Menu.cpp.
References C4GUI::Dialog::Close(), IsActive(), and RefillInternal().
Referenced by C4MainMenu::ActivateHostility(), C4Player::ActivateMenuTeamSelection(), C4MainMenu::ActivateObserver(), C4Object::DirectComContents(), and C4ObjectMenu::SetRefillObject().
|
protected |
Definition at line 867 of file C4Menu.cpp.
References AdjustSelection(), DoRefillInternal(), C4GUI::ScrollWindow::Freeze(), IsContextMenu(), ItemCount, LocationSet, NeedRefill, pClientWindow, C4GUI::ScrollWindow::UnFreeze(), and UpdateElementPositions().
Referenced by Execute(), and Refill().
|
overridevirtualinherited |
Reimplemented from C4GUI::Container.
Definition at line 427 of file C4GuiDialogs.cpp.
References C4GUI::Dialog::pActiveCtrl, and C4GUI::Container::RemoveElement().
|
inlineinherited |
Definition at line 827 of file C4Gui.h.
Referenced by C4ScriptGuiWindow::MouseInput(), and C4ScriptGuiWindow::ProcessMouseInput().
|
inline |
Definition at line 195 of file C4Menu.h.
References LocationSet.
Referenced by C4Viewport::DrawMenu().
|
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().
void C4Menu::SetAlignment | ( | int32_t | iAlignment | ) |
Definition at line 857 of file C4Menu.cpp.
References Alignment.
Referenced by C4MainMenu::ActivateClient(), C4MainMenu::ActivateDisplay(), C4MainMenu::ActivateGoals(), C4MainMenu::ActivateHost(), C4MainMenu::ActivateHostility(), C4MainMenu::ActivateMain(), C4Player::ActivateMenuTeamSelection(), C4MainMenu::ActivateNewPlayer(), C4MainMenu::ActivateObserver(), C4MainMenu::ActivateOptions(), C4MainMenu::ActivateRules(), C4MainMenu::ActivateSavegame(), and C4MainMenu::ActivateSurrender().
|
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(), 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(), UpdateElementPositions(), C4GUI::ScrollWindow::UpdateOwnPos(), C4ChatControl::UpdateSize(), C4ChatDlg::UpdateSize(), C4GUI::TextWindow::UpdateSize(), and C4GUI::Dialog::UpdateSize().
|
inherited |
Definition at line 769 of file C4GuiDialogs.cpp.
References C4GUI::Dialog::GetMarginBottom(), C4GUI::Dialog::GetMarginLeft(), C4GUI::Dialog::GetMarginRight(), C4GUI::Dialog::GetMarginTop(), C4Rect::Hgt, C4GUI::Element::rcBounds, C4GUI::Dialog::UpdatePos(), C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by C4LeagueSignupDialog::C4LeagueSignupDialog(), and C4GUI::MessageDialog::MessageDialog().
void C4Menu::SetCloseCommand | ( | const char * | strCommand | ) |
Definition at line 1144 of file C4Menu.cpp.
References CloseCommand, and StdStrBuf::Copy().
Referenced by C4MainMenu::ActivateClient(), C4MainMenu::ActivateDisplay(), C4MainMenu::ActivateGoals(), C4MainMenu::ActivateHost(), C4MainMenu::ActivateHostility(), C4Player::ActivateMenuTeamSelection(), C4MainMenu::ActivateNewPlayer(), C4MainMenu::ActivateObserver(), C4MainMenu::ActivateOptions(), C4MainMenu::ActivateRules(), C4MainMenu::ActivateSavegame(), and C4MainMenu::ActivateSurrender().
|
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 2191 of file C4Gui.h.
References C4GUI::Dialog::fDelOnClose.
Referenced by C4ChatDlg::C4ChatDlg(), C4ChatInputDialog::C4ChatInputDialog(), C4StartupPlrPropertiesDlg::C4StartupPlrPropertiesDlg(), C4GUI::ConfirmationDialog::ConfirmationDialog(), C4GUI::InputDialog::InputDialog(), C4Network2::OpenSurrenderDialog(), C4Network2::OpenVoteDialog(), C4Network2::QueryClientPassword(), C4Game::ShowGameOverDlg(), and C4GUI::Screen::ShowRemoveDlg().
|
inlineinherited |
Definition at line 464 of file C4Gui.h.
References C4GUI::Element::pDragTarget.
Referenced by C4GUI::Dialog::SetTitle().
|
inline |
|
inherited |
Definition at line 563 of file C4GuiDialogs.cpp.
References C4GUI::Control::OnGetFocus(), C4GUI::Control::OnLooseFocus(), and C4GUI::Dialog::pActiveCtrl.
Referenced by C4GUI::Dialog::AdvanceFocus(), C4ChatDlg::C4ChatDlg(), C4GameOverDlg::C4GameOverDlg(), C4LeagueSignupDialog::C4LeagueSignupDialog(), C4StartupModsDlg::C4StartupModsDlg(), C4StartupNetDlg::C4StartupNetDlg(), C4StartupOptionsDlg::C4StartupOptionsDlg(), C4StartupPlrPropertiesDlg::C4StartupPlrPropertiesDlg(), C4StartupPlrSelDlg::C4StartupPlrSelDlg(), C4StartupScenSelDlg::C4StartupScenSelDlg(), C4GUI::Dialog::CharIn(), C4StartupScenSelDlg::DeselectAll(), C4StartupNetDlg::DoOK(), C4FileSelDlg::InitElements(), C4GameLobby::MainDlg::MainDlg(), C4GUI::MessageDialog::MessageDialog(), C4GUI::Label::MouseInput(), C4GUI::Control::MouseInput(), C4StartupScenSelDlg::OnButtonScenario(), C4ChatControl::OnConnectBtn(), C4GUI::RenameEdit::OnFinishInput(), C4GUI::Label::OnHotkey(), C4StartupMainDlg::OnShown(), C4StartupScenSelDlg::OpenFolder(), C4GUI::RenameEdit::RenameEdit(), C4GUI::InputDialog::SetCustomEdit(), C4GUI::Container::SetVisibility(), and C4LeagueSignupDialog::UserClose().
|
inlineinherited |
Definition at line 2194 of file C4Gui.h.
References C4GUI::FrameDecoration::Deref(), C4GUI::Dialog::pFrameDeco, C4GUI::FrameDecoration::Ref(), and C4GUI::Window::UpdateOwnPos().
bool C4Menu::SetLocation | ( | int32_t | iX, |
int32_t | iY | ||
) |
Definition at line 951 of file C4Menu.cpp.
References C4GUI::Window::SetPos().
void C4Menu::SetPermanent | ( | bool | fPermanent | ) |
Definition at line 862 of file C4Menu.cpp.
References Permanent.
Referenced by C4MainMenu::ActivateDisplay(), C4MainMenu::ActivateGoals(), C4MainMenu::ActivateHost(), C4MainMenu::ActivateHostility(), C4Object::ActivateMenu(), C4MainMenu::ActivateOptions(), C4MainMenu::ActivateRules(), and C4MainMenu::ActivateSavegame().
|
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(), InitLocation(), C4StartupPlrSelDlg::OnNewBtn(), C4StartupPlrSelDlg::OnPropertyBtn(), SetLocation(), and C4GUI::Screen::ShowDialog().
bool C4Menu::SetPosition | ( | int32_t | iPosition | ) |
Definition at line 604 of file C4Menu.cpp.
References Columns, IsActive(), C4GUI::Element::IsVisible(), ItemHeight, pClientWindow, and C4GUI::ScrollWindow::SetScroll().
bool C4Menu::SetSelection | ( | int32_t | iSelection, |
bool | fAdjustPosition, | ||
bool | fDoCalls | ||
) |
Definition at line 544 of file C4Menu.cpp.
References AdjustPosition(), C4MN_Style_Normal, C4MenuItem::Caption, Caption, GetItem(), GetSelectedItem(), HasMouse(), IsActive(), C4MenuItem::IsSelectable, ItemCount, OnSelectionChanged(), Selection, C4MenuItem::SetSelected(), C4GUI::Dialog::SetTitle(), Style, and TimeOnSelection.
Referenced by C4MainMenu::ActivateDisplay(), C4MainMenu::ActivateOptions(), AdjustSelection(), Control(), C4MainMenu::DoRefillInternal(), MoveSelection(), C4MainMenu::OnUserEnter(), and C4MainMenu::OnUserSelectItem().
void C4Menu::SetSize | ( | int32_t | iToWdt, |
int32_t | iToHgt | ||
) |
Definition at line 617 of file C4Menu.cpp.
References Columns, InitSize(), and Lines.
bool C4Menu::SetTextProgress | ( | int32_t | iToProgress, |
bool | fAdd | ||
) |
Definition at line 958 of file C4Menu.cpp.
References C4MenuItem::DoTextProgress(), fTextProgressing, GetItem(), HasPortrait(), IsActive(), and C4MenuItem::TextDisplayProgress.
Referenced by Control(), and Execute().
|
inherited |
Definition at line 336 of file C4GuiDialogs.cpp.
References C4GUI::Container::AddElement(), ALeft, Application, C4GUI_CaptionFontClr, C4GUI_TitleAutoScrollTime, StdStrBuf::Copy(), C4GUI::Element::GetBounds(), C4GUI::WoodenLabel::GetDefaultHeight(), C4GUI::Dialog::GetMarginLeft(), C4GUI::Label::GetText(), C4GUI::Element::GetToprightCornerRect(), GraphicsResource, C4GUI::Ico_Close, C4Application::isEditor, C4GUI::Dialog::IsViewportDialog(), LoadResStr(), C4GUI::Dialog::OnUserClose(), C4GUI::Dialog::pCloseBtn, C4GUI::Dialog::pTitle, C4GUI::Dialog::pWindow, C4GUI::Element::rcBounds, SEqual(), C4GUI::WoodenLabel::SetAutoScrollTime(), C4GUI::Element::SetDragTarget(), C4GUI::WoodenLabel::SetRightIndent(), C4GUI::Label::SetText(), C4Window::SetTitle(), C4GUI::Element::SetToolTip(), C4GraphicsResource::TextFont, C4GUI::Dialog::TitleString, and C4Rect::Wdt.
Referenced by C4GUI::Dialog::Dialog(), C4ChatDlg::OnChatTitleChange(), C4StartupModsDownloader::OnConfirmInstallation(), SetSelection(), C4ScoreboardDlg::Update(), and UpdateElementPositions().
|
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(), C4StartupScenSelDlg::C4StartupScenSelDlg(), Draw(), InitLocation(), C4StartupModsDownloader::OnConfirmInstallation(), C4StartupModsListEntry::SetVisibility(), and C4StartupNetListEntry::SetVisibility().
|
inherited |
Definition at line 614 of file C4GuiDialogs.cpp.
References Application, C4GUI::Dialog::CreateConsoleWindow(), C4GUI::Dialog::fShow, C4GUI::Element::fVisible, C4GUI::Screen::GetScreenS(), C4Application::isEditor, C4GUI::Dialog::IsViewportDialog(), C4GUI::Dialog::OnShown(), and C4GUI::Screen::ShowDialog().
Referenced by C4Network2::FinalInit(), C4Game::InitNetworkFromAddress(), C4Network2::LeaguePlrAuth(), C4Network2::LeagueStart(), C4Network2::OpenSurrenderDialog(), C4Network2::OpenVoteDialog(), C4Network2::RetrieveRes(), C4ChatDlg::ShowChat(), C4Game::ShowGameOverDlg(), C4DownloadDlg::ShowModal(), C4GUI::Screen::ShowModalDlg(), C4GUI::Screen::ShowProgressDlg(), C4GUI::Screen::ShowRemoveDlg(), and C4Startup::SwitchDialog().
|
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().
bool C4Menu::TryClose | ( | bool | fOK, |
bool | fControl | ||
) |
Definition at line 280 of file C4Menu.cpp.
References Clear(), C4GUI::Dialog::Close(), CloseCommand, C4GUI::Dialog::fOK, StdStrBuf::getData(), IsCloseDenied(), MenuCommand(), pGUI, and C4GUI::Screen::RemoveElement().
Referenced by C4Object::ActivateMenu(), C4Object::CloseMenu(), Control(), Enter(), C4Player::Execute(), and C4MainMenu::OnUserClose().
|
protected |
Definition at line 1003 of file C4Menu.cpp.
References CStdFont::BreakMessage(), C4MN_DlgLineMargin, C4MN_DlgOptionLineMargin, C4MN_DlgPortraitIndent, C4MN_DlgPortraitWdt, C4MN_Style_Dialog, C4MN_Style_Normal, C4MenuItem::Caption, Caption, Columns, fEqualIconItemHeight, C4GraphicsResource::FontRegular, C4GUI::Element::GetBounds(), C4GUI::Element::GetContainedClientRect(), StdStrBuf::getData(), C4GUI::Container::GetFirst(), CStdFont::GetLineHeight(), C4GUI::Element::GetNext(), GetSelectedItem(), CStdFont::GetTextExtent(), GraphicsResource, HasMouse(), HasPortrait(), C4Facet::Hgt, C4Rect::Hgt, C4MenuItem::IsSelectable, C4GUI::Element::IsVisible(), ItemHeight, ItemWidth, pClientWindow, C4GUI::Element::pNext, C4GUI::Element::pPrev, C4GUI::Element::SetBounds(), C4GUI::ScrollWindow::SetClientHeight(), C4GUI::Dialog::SetTitle(), Style, C4MenuItem::Symbol, C4GUI::Element::UpdateOwnPos(), C4Facet::Wdt, C4Rect::x, and C4Rect::y.
Referenced by InitLocation(), RefillInternal(), and UpdateOwnPos().
|
overrideprotectedvirtual |
Reimplemented from C4GUI::Window.
Definition at line 1108 of file C4Menu.cpp.
References UpdateElementPositions().
Referenced by InitSize().
|
overrideprotectedvirtualinherited |
Reimplemented from C4GUI::Element.
Definition at line 416 of file C4GuiDialogs.cpp.
References C4GUI::Dialog::pWindow, C4GUI::Element::rcBounds, C4GUI::Element::UpdatePos(), C4Rect::x, and C4Rect::y.
Referenced by C4GUI::Dialog::SetClientSize().
|
protected |
Definition at line 766 of file C4Menu.cpp.
References C4GUI::Element::GetBounds(), C4GUI::Container::GetLast(), C4Rect::Hgt, InitSize(), C4GUI::ScrollWindow::IsScrollBarEnabled(), pClientWindow, C4GUI::Container::pLast, and C4Rect::y.
Referenced by ClearItems(), and InitLocation().
|
overrideprotectedvirtualinherited |
Reimplemented from C4GUI::Element.
Definition at line 398 of file C4GuiDialogs.cpp.
References C4GUI::WoodenLabel::GetDefaultHeight(), C4GUI::Dialog::GetMarginLeft(), C4GUI::Element::GetToprightCornerRect(), GraphicsResource, C4Rect::Hgt, C4GUI::Dialog::pCloseBtn, C4GUI::Dialog::pTitle, C4GUI::Dialog::pWindow, C4GUI::Element::rcBounds, C4GUI::Element::SetBounds(), C4Window::SetSize(), C4GraphicsResource::TextFont, C4GUI::Element::UpdateSize(), and C4Rect::Wdt.
Referenced by C4StartupAboutDlg::C4StartupAboutDlg(), C4StartupLegalDlg::C4StartupLegalDlg(), C4StartupModsDlg::C4StartupModsDlg(), C4StartupNetDlg::C4StartupNetDlg(), C4StartupOptionsDlg::C4StartupOptionsDlg(), C4StartupPlrPropertiesDlg::C4StartupPlrPropertiesDlg(), C4StartupPlrSelDlg::C4StartupPlrSelDlg(), C4StartupScenSelDlg::C4StartupScenSelDlg(), and C4FileSelDlg::InitElements().
|
overrideprotectedvirtual |
Reimplemented from C4GUI::Dialog.
Definition at line 1136 of file C4Menu.cpp.
References IsReadOnly(), and OnUserClose().
|
protected |
Definition at line 1126 of file C4Menu.cpp.
References C4MenuItem::iIndex, IsReadOnly(), C4MenuItem::IsSelectable, and OnUserEnter().
Referenced by C4MenuItem::MouseInput().
|
protected |
Definition at line 1116 of file C4Menu.cpp.
References C4MenuItem::iIndex, IsReadOnly(), C4MenuItem::IsSelectable, and OnUserSelectItem().
Referenced by C4MenuItem::MouseEnter().
|
friend |
Definition at line 263 of file C4Menu.h.
Referenced by Add(), and AddRefSym().
|
friend |
|
protected |
Definition at line 144 of file C4Menu.h.
Referenced by Default(), InitLocation(), and SetAlignment().
|
protected |
Definition at line 147 of file C4Menu.h.
Referenced by Default(), InitLocation(), SetSelection(), and UpdateElementPositions().
|
protected |
Definition at line 146 of file C4Menu.h.
Referenced by Default(), SetCloseCommand(), and TryClose().
|
protected |
Definition at line 142 of file C4Menu.h.
Referenced by AdjustPosition(), Control(), Default(), InitLocation(), InitSize(), SetPosition(), SetSize(), and UpdateElementPositions().
|
protectedinherited |
Definition at line 2085 of file C4Gui.h.
Referenced by C4GUI::Dialog::Dialog(), C4GUI::Dialog::Draw(), C4GUI::Dialog::FadeIn(), C4GUI::Dialog::FadeOut(), and C4GUI::Dialog::IsFading().
|
protected |
Definition at line 140 of file C4Menu.h.
Referenced by Default(), DrawElement(), and GetMarginBottom().
|
protected |
|
protected |
|
protectedinherited |
Definition at line 2086 of file C4Gui.h.
Referenced by C4GUI::Dialog::OnClosed(), C4GUI::Dialog::SetDelOnClose(), and C4GUI::Dialog::~Dialog().
|
protectedinherited |
Definition at line 380 of file C4Gui.h.
Referenced by C4GUI::Element::StartDragging().
|
protected |
Definition at line 152 of file C4Menu.h.
Referenced by Default(), SetEqualItemHeight(), and UpdateElementPositions().
|
protected |
Definition at line 150 of file C4Menu.h.
Referenced by Default(), and HasPortrait().
|
protectedinherited |
Definition at line 2083 of file C4Gui.h.
Referenced by C4GUI::Dialog::Close(), C4GUI::Dialog::Dialog(), C4GUI::Dialog::DoModal(), C4GUI::Dialog::FadeOut(), C4GUI::Dialog::IsAborted(), C4GUI::Dialog::IsOK(), C4StartupModsDlg::OnClosed(), C4ChatDlg::OnClosed(), C4FileSelDlg::OnClosed(), C4PortraitSelDlg::OnClosed(), C4AbortGameDialog::OnClosed(), C4GameLobby::MainDlg::OnClosed(), C4GameOverDlg::OnClosed(), C4GUI::ConfirmationDialog::OnClosed(), C4GUI::InputDialog::OnClosed(), C4ChatInputDialog::OnClosed(), C4StartupMainDlg::OnClosed(), C4StartupNetDlg::OnClosed(), C4StartupOptionsDlg::OnClosed(), C4StartupPlrPropertiesDlg::OnClosed(), C4StartupScenSelDlg::OnClosed(), C4GUI::Screen::ShowDialog(), TryClose(), C4GUI::Dialog::UserClose(), C4FileSelDlg::UserClose(), C4StartupOptionsDlg::UserClose(), C4StartupPlrPropertiesDlg::UserClose(), and C4LeagueSignupDialog::UserClose().
|
protectedinherited |
Definition at line 2082 of file C4Gui.h.
Referenced by C4GUI::Dialog::Close(), C4GUI::Screen::CloseDialog(), C4GUI::Dialog::Dialog(), C4GUI::Dialog::DoModal(), C4GUI::Dialog::Draw(), C4GUI::Dialog::Execute(), C4GUI::Dialog::IsAborted(), C4GUI::Dialog::IsShown(), C4GUI::Dialog::Show(), and C4GUI::Screen::ShowDialog().
|
protected |
Definition at line 151 of file C4Menu.h.
Referenced by Default(), Draw(), Execute(), IsTextProgressing(), and SetTextProgress().
|
protectedinherited |
Definition at line 2088 of file C4Gui.h.
Referenced by C4GUI::Dialog::IsViewportDialog().
|
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 |
Definition at line 141 of file C4Menu.h.
Referenced by Default(), C4MainMenu::DoRefillInternal(), C4ObjectMenu::DoRefillInternal(), GetIdentification(), and C4MainMenu::OnSelectionChanged().
|
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 2084 of file C4Gui.h.
Referenced by C4GUI::Dialog::Dialog(), C4GUI::Dialog::Draw(), C4GUI::FullscreenDialog::DrawElement(), and C4GUI::Dialog::FadeIn().
|
protected |
Definition at line 138 of file C4Menu.h.
Referenced by Add(), AddRefSym(), ClearItems(), Control(), Default(), GetItemCount(), InitLocation(), MoveSelection(), RefillInternal(), and SetSelection().
|
protected |
Definition at line 139 of file C4Menu.h.
Referenced by Default(), GetItemHeight(), InitLocation(), InitSize(), SetPosition(), and UpdateElementPositions().
|
protected |
Definition at line 139 of file C4Menu.h.
Referenced by Default(), InitLocation(), InitSize(), and UpdateElementPositions().
|
protected |
Definition at line 143 of file C4Menu.h.
Referenced by AdjustPosition(), Default(), InitLocation(), InitSize(), and SetSize().
|
protected |
Definition at line 133 of file C4Menu.h.
Referenced by Default(), Draw(), RefillInternal(), and ResetLocation().
|
protected |
Definition at line 135 of file C4Menu.h.
Referenced by Default(), Execute(), C4ObjectMenu::Execute(), RefillInternal(), and C4ObjectMenu::SetRefillObject().
|
protectedinherited |
Definition at line 2081 of file C4Gui.h.
Referenced by C4GUI::Dialog::AdvanceFocus(), C4GUI::Dialog::CharIn(), C4GUI::Dialog::Dialog(), C4GUI::Dialog::GetFocus(), C4GUI::Dialog::IsFocused(), C4GUI::Dialog::RemoveElement(), and C4GUI::Dialog::SetFocus().
|
protected |
Definition at line 149 of file C4Menu.h.
Referenced by AdjustPosition(), C4Menu(), GetItem(), InitSize(), RefillInternal(), SetPosition(), UpdateElementPositions(), and UpdateScrollBar().
|
protectedinherited |
Definition at line 2080 of file C4Gui.h.
Referenced by C4GUI::Dialog::SetTitle(), and C4GUI::Dialog::UpdateSize().
|
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().
|
protected |
Definition at line 134 of file C4Menu.h.
Referenced by Default(), Enter(), and SetPermanent().
|
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 2090 of file C4Gui.h.
Referenced by C4GUI::Dialog::ClearFrameDeco(), C4GUI::Dialog::DrawElement(), C4GUI::Dialog::GetFrameDecoration(), C4GUI::Dialog::GetMarginBottom(), C4GUI::Dialog::GetMarginLeft(), C4GUI::Dialog::GetMarginRight(), C4GUI::Dialog::GetMarginTop(), C4GUI::Dialog::SetFrameDeco(), and C4GUI::Dialog::~Dialog().
|
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(), InitSize(), C4GUI::Container::MakeLastElement(), C4GUI::Window::MouseInput(), C4GUI::Screen::MouseInput(), C4GUI::Container::rbegin(), C4GUI::Container::ReaddElement(), C4GUI::Container::RemoveElement(), and 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 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 UpdateElementPositions().
|
protectedinherited |
Definition at line 2079 of file C4Gui.h.
Referenced by C4GUI::Dialog::GetMarginTop(), C4GUI::Dialog::IsComponentOutsideClientArea(), C4GUI::Dialog::SetTitle(), C4ScoreboardDlg::Update(), and C4GUI::Dialog::UpdateSize().
|
protectedinherited |
Definition at line 2089 of file C4Gui.h.
Referenced by C4GUI::Dialog::Close(), C4GUI::Dialog::CreateConsoleWindow(), C4GUI::Dialog::DestroyConsoleWindow(), C4GUI::Dialog::Draw(), C4GUI::Screen::GetDialog(), C4GUI::Dialog::GetDialogWindow(), C4GUI::Dialog::OnClosed(), C4GUI::Dialog::SetTitle(), C4GUI::Dialog::UpdatePos(), and C4GUI::Dialog::UpdateSize().
|
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(), 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(), InitLocation(), InitSize(), C4GUI::ScrollWindow::IsScrollingNecessary(), C4GUI::Label::Label(), C4GUI::LabeledEdit::LabeledEdit(), C4GUI::Window::MouseInput(), C4GUI::CheckBox::MouseInput(), C4GUI::Tabular::MouseInput(), C4GUI::ContextMenu::MouseInput(), C4ScriptGuiWindow::MouseInput(), C4GUI::Screen::MouseInput(), C4GUI::MultilineLabel::MultilineLabel(), C4ChatControl::ChatSheet::NickItem::NickItem(), C4ScriptGuiWindow::OnMouseIn(), C4GUI::ContextMenu::Open(), C4GUI::Picture::Picture(), C4ScriptGuiWindow::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(), 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().
|
protected |
Definition at line 137 of file C4Menu.h.
Referenced by AdjustSelection(), Control(), Default(), GetSelectedItem(), GetSelection(), C4ObjectMenu::IsCloseDenied(), MoveSelection(), and SetSelection().
|
protected |
Definition at line 136 of file C4Menu.h.
Referenced by Add(), AddRefSym(), Default(), Draw(), Enter(), GetSymbolSize(), InitLocation(), InitSize(), IsContextMenu(), SetSelection(), and UpdateElementPositions().
|
protected |
|
protected |
Definition at line 137 of file C4Menu.h.
Referenced by Default(), Draw(), and SetSelection().
|
protectedinherited |
Definition at line 2087 of file C4Gui.h.
Referenced by C4GUI::Dialog::CreateConsoleWindow(), and C4GUI::Dialog::SetTitle().
|
protected |
Definition at line 145 of file C4Menu.h.
Referenced by Default(), and InitSize().