#include <Surface.h>
Inheritance diagram for gui::Surface:
Public Member Functions | |
Surface (SDLControl *pclControl, coord_t x, coord_t y, coord_t w, coord_t h, SurfaceHelper *=NULL) | |
Surface (Surface *pclParent, coord_t x, coord_t y, coord_t w, coord_t h, SurfaceHelper *=NULL) | |
Surface (Surface *pclParent, SurfaceHelper *=NULL) | |
virtual | ~Surface () |
virtual void | Dump (FILE *) |
virtual void | DumpMembers (FILE *) |
virtual void | SaveDialogs () |
void | CreateTemporaryScreen () |
void | DrawTemporaryScreen () |
void | SetUseTemporaryScreen (bool) |
bool | UseTemporaryScreen () |
virtual SDL_Surface * | GetTemporaryScreen () |
virtual void | AddChild (Surface *) |
void | BringToTop (Surface *) |
void | BringToTop () |
Surface * | GetChildOnTop () |
void | Remove (Surface *) |
Surface * | FindSurface (coord_t, coord_t, coord_t X=0, coord_t Y=0) |
void | CalculateAbsolute () |
void | RecreateSurfaces () |
void | FreeSurface (SDL_Surface *) |
void | CalculateClientRect () |
void | InvalidateEv () |
void | InvalidateRectEv (SDL_Rect &) |
void | FillRectEv (SDL_Rect &) |
void | ResetFillRectsEv () |
virtual void | DrawAll () |
void | Blit (coord_t X=0, coord_t Y=0, SDL_Surface *=NULL) |
void | BlitAbsolute (SDL_Rect *, SDL_Surface *=NULL) |
void | Move (Surface *rootSurface, coord_t, coord_t) |
void | MoveTo (Surface *, coord_t, coord_t, bool bVisible=true) |
void | Bond (Surface *) |
void | Unbond (Surface *) |
Surface * | GetBond () |
void | RemoveAllBonds () |
void | CloseAll () |
void | GetExtents (SDL_Rect &) |
virtual void | OnEvent (surface_event_t *) |
virtual void | OnMouseIn () |
virtual void | OnMouseOut () |
virtual void | OnKeyDown (SDL_keysym) |
virtual void | OnKeyUp (SDL_keysym) |
virtual void | OnButton () |
virtual void | OnClose () |
virtual void | OnFocus () |
virtual void | OnLostFocus () |
virtual void | OnHide () |
virtual void | OnShow () |
virtual void | OnSize (SDL_Rect &, int xrel, int yrel) |
virtual void | OnMouseMove (coord_t x, coord_t y, coord_t xrel, coord_t yrel) |
virtual void | OnRightClick (coord_t x, coord_t y) |
virtual void | OnClick (coord_t x, coord_t y) |
virtual void | OnTimer (long id) |
virtual void | SetTimer (long time_ms, long id=0, bool bRepeating=false) |
virtual void | SetParent (Surface *) |
virtual void | SetX (coord_t) |
virtual void | SetY (coord_t) |
virtual void | SetW (coord_t, bool bRealloc=true) |
virtual void | SetH (coord_t, bool bRealloc=true) |
virtual void | SetAbsoluteX (coord_t) |
virtual void | SetAbsoluteY (coord_t) |
virtual void | SetBgColor (Uint8, Uint8, Uint8, Uint8=SDL_ALPHA_OPAQUE) |
virtual void | SetFgColor (Uint8, Uint8, Uint8, Uint8=SDL_ALPHA_OPAQUE) |
virtual void | SetFrameColor (Uint8, Uint8, Uint8, Uint8=SDL_ALPHA_OPAQUE) |
virtual void | SetTTFont (TTFont *) |
virtual void | SetFrameWidth (coord_t) |
virtual void | SetAlpha (alpha_t, bool bRecurse=true) |
virtual void | UpdateAlpha (alpha_t) |
virtual void | SetLocalID (unsigned long) |
virtual void | SetText (const string &) |
virtual void | SetUICommand (long) |
virtual void | SetVisible (bool) |
virtual void | SetChildrenVisible (bool) |
virtual void | SetInverted (bool) |
virtual void | SetTransparent (bool) |
virtual void | SetMoveable (bool) |
virtual void | SetDirty (bool, bool bInvalidate=true) |
virtual void | SetResizeArea (bool) |
virtual void | SetAnchorRight (bool) |
virtual void | SetAnchorDown (bool) |
virtual void | SetMustBeDeleted (bool) |
virtual void | SetClickable (bool) |
virtual SDL_Surface * | GetScreen () |
virtual Surface * | GetParent () |
virtual Surface * | GetRoot () |
virtual SDL_Rect * | GetClientRectPtr () |
virtual SDL_Rect | GetClientRect () |
virtual SDL_Rect * | GetAbsoluteRectPtr () |
virtual SDL_Rect | GetAbsoluteRect () |
virtual SDLControl * | GetSDLControl () |
virtual unsigned long | GetID () |
virtual unsigned long | GetLocalID () |
virtual coord_t | GetX () |
virtual coord_t | GetY () |
virtual coord_t | GetW () |
virtual coord_t | GetH () |
virtual coord_t | GetAbsoluteX () |
virtual coord_t | GetAbsoluteY () |
virtual const char * | GetText () |
virtual long | GetUICommand () |
virtual bool | IsVisible () |
virtual bool | IsInverted () |
virtual bool | IsTransparent () |
virtual bool | IsMoveable () |
virtual bool | IsDirty () |
virtual bool | IsResizeArea () |
virtual bool | IsAnchorRight () |
virtual bool | IsAnchorDown () |
virtual bool | MustBeDeleted () |
virtual bool | IsClickable () |
color_t | GetBgColor () |
void | GetBgColor (SDL_Color &) |
color_t | GetFgColor () |
void | GetFgColor (SDL_Color &) |
color_t | GetFrameColor () |
void | GetFrameColor (SDL_Color &) |
TTFont * | GetTTFont () |
coord_t | GetFrameWidth () |
alpha_t | GetAlpha () |
virtual void | DrawFrame (SDL_Surface *, coord_t, Uint32) |
Protected Member Functions | |
virtual void | Draw () |
SDL_Surface * | CreateSDLSurface (bool) |
Protected Attributes | |
SDL_Surface * | m_screen |
SDL_Surface * | m_temp_screen |
surfacevector_t | m_ChildList |
Private Member Functions | |
void | SetBond (Surface *) |
Private Attributes | |
unsigned long | m_id |
unsigned long | m_local_id |
Surface * | m_pclParent |
SDLControl * | m_pclControl |
SurfaceHelper * | m_pclHelper |
coord_t | m_x |
coord_t | m_y |
coord_t | m_w |
coord_t | m_h |
coord_t | m_x_absolute |
coord_t | m_y_absolute |
SDL_Color | m_bgColor |
bool | m_bBgColorIsSet |
SDL_Color | m_fgColor |
bool | m_bFgColorIsSet |
SDL_Color | m_frameColor |
bool | m_bFrameColorIsSet |
TTFont * | m_pclTTFont |
alpha_t | m_nAlpha |
bool | m_bAlphaIsSet |
coord_t | m_nFrameWidth |
bool | m_bFrameWidthIsSet |
SDL_Rect | m_clientRect |
SDL_Rect | m_absoluteRect |
bool | m_bVisible |
bool | m_bChildrenVisible |
bool | m_bInverted |
bool | m_bTransparent |
bool | m_bMoveable |
bool | m_bDirty |
bool | m_bResizeArea |
bool | m_bAnchorRight |
bool | m_bAnchorDown |
bool | m_bMustBeDeleted |
bool | m_bClickable |
bool | m_bUseTemporaryScreen |
string | m_text |
bool | m_bRedrawTemporary |
surfacevector_t | m_bonds |
Surface * | m_pclBond |
long | m_uicommand |
Static Private Attributes | |
unsigned long | m_unique_id = 0 |
|
Definition at line 71 of file Surface.cpp. References gui::coord_t, CreateSDLSurface(), GetFrameWidth(), m_absoluteRect, m_clientRect, m_h, m_screen, m_w, and UICOMMAND_NONE.
|
|
Definition at line 127 of file Surface.cpp. References gui::coord_t, CreateSDLSurface(), GetFrameWidth(), m_absoluteRect, m_clientRect, m_h, m_screen, m_w, and UICOMMAND_NONE.
|
|
Definition at line 183 of file Surface.cpp. References UICOMMAND_NONE.
|
|
Definition at line 227 of file Surface.cpp. References GetBond(), GetParent(), m_bonds, m_ChildList, m_screen, m_temp_screen, MustBeDeleted(), Remove(), SetBond(), and Unbond().
|
|
Reimplemented in gui::Dialog. Definition at line 334 of file Surface.cpp. References CalculateAbsolute(), m_ChildList, SetLocalID(), and SetParent().
|
|
Definition at line 710 of file Surface.cpp. References Blit(), gui::coord_t, GetFrameWidth(), GetParent(), GetScreen(), GetSDLControl(), GetTemporaryScreen(), IsTransparent(), m_bChildrenVisible, m_bRedrawTemporary, m_bVisible, m_ChildList, m_h, m_w, m_x, m_y, and UseTemporaryScreen(). Referenced by Blit(), and DrawTemporaryScreen().
|
|
Definition at line 765 of file Surface.cpp. References BlitAbsolute(), gui::coord_t, GetAbsoluteRectPtr(), GetScreen(), GetSDLControl(), GetTemporaryScreen(), m_bChildrenVisible, m_bTransparent, m_bVisible, m_ChildList, MAX, MIN, and UseTemporaryScreen(). Referenced by BlitAbsolute().
|
|
Definition at line 1754 of file Surface.cpp. References m_bonds, and SetBond().
|
|
Definition at line 365 of file Surface.cpp. References GetParent(). Referenced by gui::Dialog::AddChild(), and gui::Hotspot::OnSize().
|
|
Definition at line 343 of file Surface.cpp. References GetChildOnTop(), and m_ChildList.
|
|
Definition at line 444 of file Surface.cpp. References gui::coord_t, GetAbsoluteX(), GetAbsoluteY(), GetFrameWidth(), GetX(), GetY(), m_ChildList, SetAbsoluteX(), and SetAbsoluteY(). Referenced by gui::Menu::ActivateSubMenu(), AddChild(), Move(), MoveTo(), and gui::PopupMenuItem::OnClick().
|
|
Definition at line 1237 of file Surface.cpp. References gui::coord_t, GetFrameWidth(), m_ChildList, m_clientRect, m_h, and m_w. Referenced by SetFrameWidth().
|
|
Definition at line 1810 of file Surface.cpp. References m_bonds, and OnClose(). Referenced by gui::MenuItem::OnClick(), and gui::Menu::OnRightClick().
|
|
Definition at line 265 of file Surface.cpp. References DEB, GetScreen(), GetSDLControl(), m_h, and m_w. Referenced by CreateTemporaryScreen(), RecreateSurfaces(), and Surface().
|
|
Definition at line 1642 of file Surface.cpp. References CreateSDLSurface(), m_temp_screen, and SetUseTemporaryScreen(). Referenced by RecreateSurfaces().
|
|
Reimplemented in gui::Button, gui::Dialog, gui::Edit, gui::Menu, gui::MenuItem, gui::Output, gui::PopupMenuItem, gui::Progress, gui::ScrollBarV, gui::SeparatorMenuItem, and gui::Static. Definition at line 644 of file Surface.cpp. Referenced by DrawAll().
|
|
Definition at line 649 of file Surface.cpp. References Draw(), DrawFrame(), DrawTemporaryScreen(), GetFrameColor(), GetFrameWidth(), GetParent(), GetScreen(), IsDirty(), m_ChildList, SetDirty(), and UseTemporaryScreen().
|
|
Definition at line 679 of file Surface.cpp. Referenced by DrawAll().
|
|
Definition at line 1650 of file Surface.cpp. References Blit(), GetX(), GetY(), m_bRedrawTemporary, m_temp_screen, SetUseTemporaryScreen(), and UseTemporaryScreen(). Referenced by DrawAll(), gui::HotButton::OnMouseIn(), and gui::HotButton::OnMouseOut().
|
|
Definition at line 1852 of file Surface.cpp. References Dump(), DumpMembers(), and m_ChildList. Referenced by Dump(), and SaveDialogs().
|
|
Reimplemented in gui::Edit, gui::MenuItem, and gui::PopupMenuItem. Definition at line 1966 of file Surface.cpp. References m_bAlphaIsSet, m_bAnchorDown, m_bAnchorRight, m_bBgColorIsSet, m_bChildrenVisible, m_bClickable, m_bFgColorIsSet, m_bFrameColorIsSet, m_bFrameWidthIsSet, m_bgColor, m_bMoveable, m_bResizeArea, m_bTransparent, m_bUseTemporaryScreen, m_bVisible, m_fgColor, m_frameColor, m_h, m_nAlpha, m_nFrameWidth, m_text, m_uicommand, m_w, m_x, m_y, UICOMMAND_NONE, and util::Xml::Write(). Referenced by Dump().
|
|
Definition at line 558 of file Surface.cpp. References SDL_USEREVENT_FILLRECT.
|
|
Definition at line 409 of file Surface.cpp. References FindSurface(), GetAbsoluteX(), GetAbsoluteY(), GetH(), GetW(), IsVisible(), m_bChildrenVisible, and m_ChildList. Referenced by FindSurface().
|
|
Definition at line 526 of file Surface.cpp. Referenced by RecreateSurfaces().
|
|
Definition at line 1486 of file Surface.cpp. References m_absoluteRect. Referenced by gui::Menu::ActivateSubMenu(), gui::Output::AddLine(), GetExtents(), Move(), and MoveTo().
|
|
Definition at line 1480 of file Surface.cpp. References m_absoluteRect. Referenced by BlitAbsolute().
|
|
Definition at line 1560 of file Surface.cpp. References gui::coord_t, and m_x_absolute. Referenced by CalculateAbsolute(), and FindSurface().
|
|
Definition at line 1566 of file Surface.cpp. References gui::coord_t, and m_y_absolute. Referenced by CalculateAbsolute(), and FindSurface().
|
|
Definition at line 1412 of file Surface.cpp. References gui::alpha_t, m_bAlphaIsSet, m_nAlpha, and m_pclParent.
|
|
Definition at line 1319 of file Surface.cpp. References GetBgColor(), GetFgColor(), IsInverted(), m_bBgColorIsSet, m_bFgColorIsSet, m_bgColor, m_fgColor, and m_pclParent.
|
|
|
Definition at line 1792 of file Surface.cpp. References m_pclBond. Referenced by gui::MenuItem::OnClick(), gui::Menu::OnRightClick(), and ~Surface().
|
|
Definition at line 376 of file Surface.cpp. References m_ChildList. Referenced by BringToTop().
|
|
Definition at line 1474 of file Surface.cpp. References m_clientRect. Referenced by gui::ScrollBarV::Draw(), and gui::Progress::Draw().
|
|
Definition at line 1468 of file Surface.cpp. References m_clientRect. Referenced by gui::Static::Draw(), gui::SeparatorMenuItem::Draw(), gui::PopupMenuItem::Draw(), gui::Output::Draw(), gui::MenuItem::Draw(), gui::Menu::Draw(), gui::Edit::Draw(), gui::Dialog::Draw(), gui::Button::Draw(), and RecreateSurfaces().
|
|
Definition at line 1822 of file Surface.cpp. References gui::coord_t, GetAbsoluteRect(), GetExtents(), and m_bonds. Referenced by GetExtents().
|
|
Definition at line 1377 of file Surface.cpp. References GetBgColor(), GetFgColor(), IsInverted(), m_bBgColorIsSet, m_bFgColorIsSet, m_bgColor, m_fgColor, and m_pclParent.
|
|
|
Definition at line 1454 of file Surface.cpp. References GetFrameColor(), m_bFrameColorIsSet, m_frameColor, and m_pclParent.
|
|
Definition at line 1440 of file Surface.cpp. References gui::color_t, m_bFrameColorIsSet, m_frameColor, m_pclParent, and m_screen. Referenced by gui::Button::Draw(), DrawAll(), and GetFrameColor().
|
|
Definition at line 1426 of file Surface.cpp. References gui::coord_t, m_bFrameWidthIsSet, m_nFrameWidth, and m_pclParent. Referenced by Blit(), CalculateAbsolute(), CalculateClientRect(), gui::Menu::CreateMenu(), gui::Button::Draw(), DrawAll(), SetH(), SetW(), and Surface().
|
|
Definition at line 1554 of file Surface.cpp. References gui::coord_t, and m_h. Referenced by gui::Output::AddLine(), gui::Menu::AddMenuItem(), gui::Static::Draw(), gui::Output::Draw(), gui::MenuItem::Draw(), gui::Edit::Draw(), gui::Button::Draw(), FindSurface(), Move(), MoveTo(), and gui::PopupMenuItem::OnClick().
|
|
Definition at line 1504 of file Surface.cpp. References m_id. Referenced by OnButton(), OnClose(), OnEvent(), and gui::Edit::OnKeyDown().
|
|
Definition at line 1510 of file Surface.cpp. References m_local_id. Referenced by OnButton(), OnClose(), OnEvent(), gui::ScrollBarV::OnEvent(), and gui::Edit::OnKeyDown().
|
|
Definition at line 1278 of file Surface.cpp. References m_pclParent. Referenced by gui::Menu::ActivateSubMenu(), Blit(), BringToTop(), DrawAll(), Move(), MoveTo(), OnButton(), OnClick(), gui::PopupMenuItem::OnClick(), gui::MenuItem::OnClick(), OnClose(), OnEvent(), gui::Edit::OnKeyDown(), gui::HotButton::OnMouseIn(), gui::HotButton::OnMouseOut(), OnRightClick(), and ~Surface().
|
|
Definition at line 1284 of file Surface.cpp. References m_pclParent.
|
|
Reimplemented in gui::Button. Definition at line 1272 of file Surface.cpp. References m_screen. Referenced by Blit(), BlitAbsolute(), CreateSDLSurface(), gui::PopupMenuItem::Draw(), DrawAll(), gui::PopupMenuItem::OnClick(), and RecreateSurfaces().
|
|
Definition at line 1492 of file Surface.cpp. References m_pclControl, and m_pclParent. Referenced by Blit(), BlitAbsolute(), CreateSDLSurface(), and gui::PopupMenuItem::OnClick().
|
|
Definition at line 1675 of file Surface.cpp. References m_temp_screen. Referenced by Blit(), and BlitAbsolute().
|
|
Definition at line 1688 of file Surface.cpp. References m_text. Referenced by gui::Button::Draw(), and SaveDialogs().
|
|
Definition at line 1406 of file Surface.cpp. References m_pclParent, and m_pclTTFont. Referenced by gui::Output::AddLine(), gui::Static::Draw(), gui::Output::Draw(), gui::MenuItem::Draw(), gui::Edit::Draw(), gui::Button::Draw(), and gui::MenuItem::MenuItem().
|
|
Definition at line 1846 of file Surface.cpp. References m_uicommand.
|
|
Definition at line 1548 of file Surface.cpp. References gui::coord_t, and m_w. Referenced by gui::Menu::AddMenuItem(), gui::SeparatorMenuItem::Draw(), gui::Progress::Draw(), gui::Button::Draw(), FindSurface(), Move(), MoveTo(), and gui::PopupMenuItem::OnClick().
|
|
Definition at line 1530 of file Surface.cpp. References gui::coord_t, and m_x. Referenced by CalculateAbsolute(), DrawTemporaryScreen(), Move(), MoveTo(), gui::PopupMenuItem::OnClick(), and OnSize().
|
|
Definition at line 1536 of file Surface.cpp. References gui::coord_t, and m_y. Referenced by CalculateAbsolute(), DrawTemporaryScreen(), Move(), MoveTo(), gui::PopupMenuItem::OnClick(), and OnSize().
|
|
Definition at line 532 of file Surface.cpp. References SDL_USEREVENT_INVALIDATE. Referenced by gui::Menu::ActivateSubMenu(), Move(), MoveTo(), gui::PopupMenuItem::OnClick(), gui::HotButton::OnMouseIn(), gui::HotButton::OnMouseOut(), and SetDirty().
|
|
Definition at line 544 of file Surface.cpp. References SDL_USEREVENT_INVALIDATERECT. Referenced by Move(), and MoveTo().
|
|
Definition at line 1724 of file Surface.cpp. References m_bAnchorDown. Referenced by OnSize().
|
|
Definition at line 1712 of file Surface.cpp. References m_bAnchorRight. Referenced by OnSize().
|
|
Definition at line 1748 of file Surface.cpp. References m_bClickable. Referenced by gui::MenuItem::OnMouseIn(), gui::HotButton::OnMouseIn(), gui::MenuItem::OnMouseOut(), and gui::HotButton::OnMouseOut().
|
|
Definition at line 1636 of file Surface.cpp. References m_bDirty. Referenced by DrawAll().
|
|
Definition at line 1578 of file Surface.cpp. References m_bInverted. Referenced by GetBgColor(), GetFgColor(), gui::Button::GetScreen(), and gui::HotButton::OnTimer().
|
|
Definition at line 1616 of file Surface.cpp. References m_bMoveable.
|
|
Definition at line 1700 of file Surface.cpp. References m_bResizeArea.
|
|
Definition at line 1590 of file Surface.cpp. References m_bTransparent. Referenced by Blit().
|
|
Definition at line 1542 of file Surface.cpp. References m_bVisible. Referenced by gui::Menu::ActivateSubMenu(), FindSurface(), and MoveTo().
|
|
Definition at line 844 of file Surface.cpp. References CalculateAbsolute(), gui::coord_t, GetAbsoluteRect(), GetH(), GetParent(), GetW(), GetX(), GetY(), InvalidateEv(), InvalidateRectEv(), m_bonds, Move(), SetX(), and SetY(). Referenced by Move(), and MoveTo().
|
|
Definition at line 870 of file Surface.cpp. References CalculateAbsolute(), gui::coord_t, GetAbsoluteRect(), GetH(), GetParent(), GetW(), GetX(), GetY(), InvalidateEv(), InvalidateRectEv(), IsVisible(), m_bonds, Move(), SetVisible(), SetX(), and SetY().
|
|
Definition at line 1736 of file Surface.cpp. References m_bMustBeDeleted. Referenced by Remove(), and ~Surface().
|
|
Definition at line 946 of file Surface.cpp. References GetID(), GetLocalID(), GetParent(), GUI_EVENT_BUTTON, gui::surface_event_struct::id, gui::surface_event_struct::local_id, m_uicommand, OnEvent(), gui::surface_event_struct::ptr, SDL_USEREVENT_UICOMMAND, gui::surface_event_struct::type, and UICOMMAND_NONE. Referenced by gui::MenuItem::OnClick(), gui::HotButton::OnClick(), and gui::HotButton::OnTimer().
|
|
Reimplemented in gui::HotButton, gui::MenuItem, and gui::PopupMenuItem. Definition at line 1036 of file Surface.cpp. References GetParent(), and OnClick(). Referenced by OnClick().
|
|
Definition at line 971 of file Surface.cpp. References GetID(), GetLocalID(), GetParent(), GUI_EVENT_CLOSE, gui::surface_event_struct::id, gui::surface_event_struct::local_id, OnEvent(), gui::surface_event_struct::ptr, and gui::surface_event_struct::type. Referenced by CloseAll(), and gui::Dialog::OnRightClick().
|
|
Reimplemented in gui::ScrollBarV. Definition at line 908 of file Surface.cpp. References GetID(), GetLocalID(), GetParent(), OnEvent(), and gui::surface_event_t. Referenced by OnButton(), OnClose(), and OnEvent().
|
|
Reimplemented in gui::Edit. Definition at line 986 of file Surface.cpp.
|
|
Reimplemented in gui::Edit. Definition at line 996 of file Surface.cpp. Referenced by SetVisible().
|
|
Reimplemented in gui::Edit. Definition at line 934 of file Surface.cpp.
|
|
Definition at line 940 of file Surface.cpp.
|
|
Reimplemented in gui::Edit. Definition at line 991 of file Surface.cpp.
|
|
Reimplemented in gui::HotButton, and gui::MenuItem. Definition at line 922 of file Surface.cpp.
|
|
Definition at line 1020 of file Surface.cpp.
|
|
Reimplemented in gui::HotButton, and gui::MenuItem. Definition at line 928 of file Surface.cpp.
|
|
Reimplemented in gui::Dialog, and gui::Menu. Definition at line 1025 of file Surface.cpp. References GetParent(), and OnRightClick(). Referenced by OnRightClick().
|
|
Definition at line 1001 of file Surface.cpp. Referenced by SetVisible().
|
|
Reimplemented in gui::Hotspot. Definition at line 1006 of file Surface.cpp. References GetX(), GetY(), IsAnchorDown(), IsAnchorRight(), SetX(), and SetY(). Referenced by RecreateSurfaces().
|
|
Reimplemented in gui::HotButton. Definition at line 1047 of file Surface.cpp.
|
|
Definition at line 481 of file Surface.cpp. References CreateSDLSurface(), CreateTemporaryScreen(), FreeSurface(), GetClientRectPtr(), GetScreen(), m_ChildList, m_screen, m_temp_screen, OnSize(), SetDirty(), and UseTemporaryScreen(). Referenced by gui::Menu::CreateMenu(), gui::MenuItem::CreateMenuItem(), SetH(), and SetW().
|
|
Definition at line 389 of file Surface.cpp. References m_ChildList, and MustBeDeleted(). Referenced by ~Surface().
|
|
Definition at line 1798 of file Surface.cpp. References m_bonds, and SetBond(). Referenced by gui::MenuItem::OnClick(), and gui::Menu::OnRightClick().
|
|
Definition at line 572 of file Surface.cpp. References SDL_USEREVENT_RESETFILLRECTS.
|
|
Definition at line 2016 of file Surface.cpp. References Dump(), GetText(), and m_ChildList.
|
|
Definition at line 1135 of file Surface.cpp. References m_absoluteRect, and m_x_absolute. Referenced by CalculateAbsolute().
|
|
Definition at line 1142 of file Surface.cpp. References m_absoluteRect, and m_y_absolute. Referenced by CalculateAbsolute().
|
|
Definition at line 1104 of file Surface.cpp. References m_bAlphaIsSet, m_ChildList, m_nAlpha, m_screen, and UpdateAlpha().
|
|
Definition at line 1718 of file Surface.cpp. References m_bAnchorDown. Referenced by gui::Dialog::Dialog().
|
|
Definition at line 1706 of file Surface.cpp. References m_bAnchorRight. Referenced by gui::Dialog::Dialog().
|
|
Definition at line 1193 of file Surface.cpp. References m_bBgColorIsSet, and m_bgColor.
|
|
Definition at line 1786 of file Surface.cpp. References m_pclBond. Referenced by Bond(), RemoveAllBonds(), Unbond(), and ~Surface().
|
|
Definition at line 1178 of file Surface.cpp. References m_bChildrenVisible.
|
|
Definition at line 1742 of file Surface.cpp. References m_bClickable.
|
|
Definition at line 1622 of file Surface.cpp. References InvalidateEv(), and m_bDirty. Referenced by DrawAll(), RecreateSurfaces(), and SetText().
|
|
Definition at line 1212 of file Surface.cpp. References m_bFgColorIsSet, and m_fgColor.
|
|
Definition at line 1262 of file Surface.cpp. References m_bFrameColorIsSet, and m_frameColor.
|
|
Definition at line 1228 of file Surface.cpp. References CalculateClientRect(), m_bFrameWidthIsSet, and m_nFrameWidth. Referenced by gui::Dialog::Dialog().
|
|
Definition at line 1091 of file Surface.cpp. References GetFrameWidth(), m_absoluteRect, m_clientRect, m_h, and RecreateSurfaces().
|
|
Definition at line 1572 of file Surface.cpp. References m_bInverted.
|
|
Definition at line 1498 of file Surface.cpp. References m_local_id. Referenced by AddChild().
|
|
Definition at line 1610 of file Surface.cpp. References m_bMoveable.
|
|
Definition at line 1730 of file Surface.cpp. References m_bMustBeDeleted.
|
|
Definition at line 1060 of file Surface.cpp. References m_pclParent. Referenced by AddChild().
|
|
Definition at line 1694 of file Surface.cpp. References m_bResizeArea. Referenced by gui::Dialog::Dialog().
|
|
Definition at line 1681 of file Surface.cpp. References m_text, and SetDirty().
|
|
|
|
Definition at line 1584 of file Surface.cpp. References m_bTransparent.
|
|
Definition at line 1222 of file Surface.cpp. References m_pclTTFont.
|
|
Definition at line 1840 of file Surface.cpp. References m_uicommand.
|
|
Definition at line 1663 of file Surface.cpp. References m_bUseTemporaryScreen. Referenced by CreateTemporaryScreen(), and DrawTemporaryScreen().
|
|
Definition at line 1149 of file Surface.cpp. References m_bVisible, m_ChildList, OnHide(), and OnShow(). Referenced by MoveTo().
|
|
Definition at line 1078 of file Surface.cpp. References GetFrameWidth(), m_absoluteRect, m_clientRect, m_w, and RecreateSurfaces().
|
|
Definition at line 1066 of file Surface.cpp. References m_x. Referenced by Move(), MoveTo(), and OnSize().
|
|
Definition at line 1072 of file Surface.cpp. References m_y. Referenced by Move(), MoveTo(), and OnSize().
|
|
Definition at line 1770 of file Surface.cpp. References m_bonds, and SetBond(). Referenced by ~Surface().
|
|
Definition at line 1120 of file Surface.cpp. References m_bAlphaIsSet, m_ChildList, m_nAlpha, m_screen, and UpdateAlpha(). Referenced by SetAlpha(), and UpdateAlpha().
|
|
Definition at line 1669 of file Surface.cpp. References m_bUseTemporaryScreen. Referenced by Blit(), BlitAbsolute(), DrawAll(), DrawTemporaryScreen(), gui::HotButton::OnMouseIn(), gui::HotButton::OnMouseOut(), and RecreateSurfaces().
|
|
Definition at line 227 of file Surface.h. Referenced by GetAbsoluteRect(), GetAbsoluteRectPtr(), SetAbsoluteX(), SetAbsoluteY(), SetH(), SetW(), and Surface(). |
|
Definition at line 222 of file Surface.h. Referenced by DumpMembers(), GetAlpha(), SetAlpha(), and UpdateAlpha(). |
|
Definition at line 238 of file Surface.h. Referenced by DumpMembers(), IsAnchorDown(), and SetAnchorDown(). |
|
Definition at line 237 of file Surface.h. Referenced by DumpMembers(), IsAnchorRight(), and SetAnchorRight(). |
|
Definition at line 212 of file Surface.h. Referenced by DumpMembers(), GetBgColor(), GetFgColor(), and SetBgColor(). |
|
Definition at line 231 of file Surface.h. Referenced by Blit(), BlitAbsolute(), DumpMembers(), FindSurface(), and SetChildrenVisible(). |
|
Definition at line 240 of file Surface.h. Referenced by DumpMembers(), IsClickable(), and SetClickable(). |
|
Definition at line 235 of file Surface.h. Referenced by IsDirty(), and SetDirty(). |
|
Definition at line 215 of file Surface.h. Referenced by DumpMembers(), GetBgColor(), GetFgColor(), and SetFgColor(). |
|
Definition at line 218 of file Surface.h. Referenced by DumpMembers(), GetFrameColor(), and SetFrameColor(). |
|
Definition at line 224 of file Surface.h. Referenced by DumpMembers(), GetFrameWidth(), and SetFrameWidth(). |
|
Definition at line 211 of file Surface.h. Referenced by DumpMembers(), GetBgColor(), GetFgColor(), and SetBgColor(). |
|
Definition at line 232 of file Surface.h. Referenced by IsInverted(), and SetInverted(). |
|
Definition at line 234 of file Surface.h. Referenced by DumpMembers(), IsMoveable(), and SetMoveable(). |
|
Definition at line 239 of file Surface.h. Referenced by MustBeDeleted(), and SetMustBeDeleted(). |
|
Definition at line 245 of file Surface.h. Referenced by Bond(), CloseAll(), GetExtents(), Move(), MoveTo(), RemoveAllBonds(), Unbond(), and ~Surface(). |
|
Definition at line 244 of file Surface.h. Referenced by Blit(), and DrawTemporaryScreen(). |
|
Definition at line 236 of file Surface.h. Referenced by DumpMembers(), IsResizeArea(), and SetResizeArea(). |
|
Definition at line 233 of file Surface.h. Referenced by BlitAbsolute(), DumpMembers(), IsTransparent(), and SetTransparent(). |
|
Definition at line 242 of file Surface.h. Referenced by DumpMembers(), SetUseTemporaryScreen(), and UseTemporaryScreen(). |
|
Definition at line 230 of file Surface.h. Referenced by Blit(), BlitAbsolute(), DumpMembers(), IsVisible(), and SetVisible(). |
|
Definition at line 194 of file Surface.h. Referenced by AddChild(), Blit(), BlitAbsolute(), BringToTop(), CalculateAbsolute(), CalculateClientRect(), DrawAll(), Dump(), FindSurface(), GetChildOnTop(), RecreateSurfaces(), Remove(), SaveDialogs(), SetAlpha(), SetVisible(), UpdateAlpha(), and ~Surface(). |
|
Definition at line 225 of file Surface.h. Referenced by CalculateClientRect(), GetClientRect(), GetClientRectPtr(), SetH(), SetW(), and Surface(). |
|
Definition at line 214 of file Surface.h. Referenced by DumpMembers(), GetBgColor(), GetFgColor(), and SetFgColor(). |
|
Definition at line 217 of file Surface.h. Referenced by DumpMembers(), GetFrameColor(), and SetFrameColor(). |
|
Reimplemented in gui::Menu. Definition at line 206 of file Surface.h. Referenced by Blit(), CalculateClientRect(), CreateSDLSurface(), DrawFrame(), DumpMembers(), GetH(), SetH(), and Surface(). |
|
Reimplemented in gui::PopupMenuItem. Definition at line 198 of file Surface.h. Referenced by GetID(). |
|
Definition at line 199 of file Surface.h. Referenced by GetLocalID(), and SetLocalID(). |
|
Definition at line 221 of file Surface.h. Referenced by DumpMembers(), GetAlpha(), SetAlpha(), and UpdateAlpha(). |
|
Definition at line 223 of file Surface.h. Referenced by DumpMembers(), GetFrameWidth(), and SetFrameWidth(). |
|
|
|
Definition at line 201 of file Surface.h. Referenced by GetSDLControl(). |
|
|
|
Definition at line 200 of file Surface.h. Referenced by GetAlpha(), GetBgColor(), GetFgColor(), GetFrameColor(), GetFrameWidth(), GetParent(), GetRoot(), GetSDLControl(), GetTTFont(), and SetParent(). |
|
Definition at line 220 of file Surface.h. Referenced by GetTTFont(), and SetTTFont(). |
|
Definition at line 192 of file Surface.h. Referenced by GetBgColor(), GetFgColor(), GetFrameColor(), GetScreen(), RecreateSurfaces(), SetAlpha(), Surface(), UpdateAlpha(), and ~Surface(). |
|
Definition at line 193 of file Surface.h. Referenced by CreateTemporaryScreen(), DrawTemporaryScreen(), GetTemporaryScreen(), RecreateSurfaces(), and ~Surface(). |
|
Definition at line 243 of file Surface.h. Referenced by DumpMembers(), GetText(), and SetText(). |
|
Definition at line 247 of file Surface.h. Referenced by DumpMembers(), GetUICommand(), OnButton(), and SetUICommand(). |
|
Definition at line 69 of file Surface.cpp. |
|
Reimplemented in gui::Menu. Definition at line 205 of file Surface.h. Referenced by Blit(), CalculateClientRect(), CreateSDLSurface(), DrawFrame(), DumpMembers(), GetW(), SetW(), and Surface(). |
|
Definition at line 203 of file Surface.h. Referenced by Blit(), DumpMembers(), GetX(), and SetX(). |
|
Definition at line 207 of file Surface.h. Referenced by GetAbsoluteX(), and SetAbsoluteX(). |
|
Definition at line 204 of file Surface.h. Referenced by Blit(), DumpMembers(), GetY(), and SetY(). |
|
Definition at line 208 of file Surface.h. Referenced by GetAbsoluteY(), and SetAbsoluteY(). |
|
|