#include <FastAreaVisGump.h>
Inheritance diagram for FastAreaVisGump:
Public Member Functions | |
ENABLE_RUNTIME_CLASSTYPE () | |
FastAreaVisGump (void) | |
virtual | ~FastAreaVisGump (void) |
virtual void | PaintThis (RenderSurface *surf, sint32 lerp_factor, bool scaled) |
virtual uint16 | TraceObjId (int mx, int my) |
Static Public Member Functions | |
static void | ConCmd_toggle (const Console::ArgvType &argv) |
Definition at line 24 of file FastAreaVisGump.h.
FastAreaVisGump::FastAreaVisGump | ( | void | ) |
Definition at line 28 of file FastAreaVisGump.cpp.
FastAreaVisGump::~FastAreaVisGump | ( | void | ) | [virtual] |
Definition at line 32 of file FastAreaVisGump.cpp.
void FastAreaVisGump::ConCmd_toggle | ( | const Console::ArgvType & | argv | ) | [static] |
"FastAreaVisGump::toggle" console command
Definition at line 50 of file FastAreaVisGump.cpp.
References Gump::Close(), Gump::FindGump(), GUIApp::get_instance(), GUIApp::getDesktopGump(), Gump::InitGump(), Gump::setRelativePosition(), and Gump::TOP_RIGHT.
Referenced by GUIApp::shutdownGame(), and GUIApp::startupGame().
FastAreaVisGump::ENABLE_RUNTIME_CLASSTYPE | ( | ) |
Reimplemented from Gump.
void FastAreaVisGump::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 36 of file FastAreaVisGump.cpp.
References RenderSurface::Fill32(), World::get_instance(), World::getCurrentMap(), CurrentMap::isChunkFast(), Gump::x, and Gump::y.
uint16 FastAreaVisGump::TraceObjId | ( | int | mx, | |
int | my | |||
) | [virtual] |
Trace a click, and return ObjId.
Reimplemented from Gump.
Definition at line 66 of file FastAreaVisGump.cpp.
References Object::getObjId(), Object::objid, Gump::PointOnGump(), and Gump::TraceObjId().