#include <DesktopGump.h>
Inheritance diagram for DesktopGump:

Public Member Functions | |
| ENABLE_RUNTIME_CLASSTYPE () | |
| DesktopGump () | |
| DesktopGump (sint32 x, sint32 y, sint32 width, sint32 height) | |
| virtual | ~DesktopGump (void) |
| virtual void | PaintThis (RenderSurface *surf, sint32 lerp_factor, bool scaled) |
| virtual bool | StartDraggingChild (Gump *gump, int mx, int my) |
| virtual void | DraggingChild (Gump *gump, int mx, int my) |
| virtual void | StopDraggingChild (Gump *gump) |
| bool | loadData (IDataSource *ids, uint32 version) |
| void | RenderSurfaceChanged (RenderSurface *surf) |
Protected Member Functions | |
| virtual void | saveData (ODataSource *ods) |
| virtual void | RenderSurfaceChanged () |
Definition at line 24 of file DesktopGump.h.
| DesktopGump::DesktopGump | ( | ) |
Definition at line 29 of file DesktopGump.cpp.
Definition at line 34 of file DesktopGump.cpp.
| DesktopGump::~DesktopGump | ( | void | ) | [virtual] |
Definition at line 40 of file DesktopGump.cpp.
| void DesktopGump::DraggingChild | ( | Gump * | gump, | |
| int | mx, | |||
| int | my | |||
| ) | [virtual] |
Reimplemented from Gump.
Definition at line 64 of file DesktopGump.cpp.
References GUIApp::get_instance(), GUIApp::getDraggingOffset(), and Gump::Move().
| DesktopGump::ENABLE_RUNTIME_CLASSTYPE | ( | ) |
| bool DesktopGump::loadData | ( | IDataSource * | ids, | |
| uint32 | version | |||
| ) |
| void DesktopGump::PaintThis | ( | RenderSurface * | surf, | |
| sint32 | lerp_factor, | |||
| bool | scaled | |||
| ) | [virtual] |
Overloadable method to Paint just this Gump (RenderSurface is relative to this).
Reimplemented from Gump.
Definition at line 44 of file DesktopGump.cpp.
References Gump::children, ConsoleGump::ConsoleIsVisible(), Gump::dims, RenderSurface::Fill32(), GUIApp::get_instance(), GUIApp::getConsoleGump(), Pentagram::Rect::h, and Pentagram::Rect::w.
Referenced by InverterGump::Paint().
| void DesktopGump::RenderSurfaceChanged | ( | ) | [protected, virtual] |
Reimplemented from Gump.
Reimplemented in InverterGump, and ScalerGump.
Definition at line 87 of file DesktopGump.cpp.
References Gump::dims, Gump::GetDims(), Pentagram::Rect::h, Gump::parent, Gump::RenderSurfaceChanged(), and Pentagram::Rect::w.
Referenced by InverterGump::RenderSurfaceChanged().
| void DesktopGump::RenderSurfaceChanged | ( | RenderSurface * | surf | ) |
Definition at line 76 of file DesktopGump.cpp.
References Gump::dims, RenderSurface::GetSurfaceDims(), Pentagram::Rect::h, Gump::RenderSurfaceChanged(), and Pentagram::Rect::w.
| void DesktopGump::saveData | ( | ODataSource * | ods | ) | [protected, virtual] |
| bool DesktopGump::StartDraggingChild | ( | Gump * | gump, | |
| int | mx, | |||
| int | my | |||
| ) | [virtual] |
Called when a child gump starts to be dragged.
Reimplemented from Gump.
Definition at line 56 of file DesktopGump.cpp.
References GUIApp::get_instance(), Gump::MoveChildToFront(), Gump::ParentToGump(), and GUIApp::setDraggingOffset().
| void DesktopGump::StopDraggingChild | ( | Gump * | gump | ) | [virtual] |
1.4.7