22 #ifndef ULTIMA8_GUMPS_MINISTATSGUMP_H 23 #define ULTIMA8_GUMPS_MINISTATSGUMP_H 25 #include "ultima/ultima8/gumps/gump.h" 26 #include "ultima/ultima8/misc/classtype.h" 36 ENABLE_RUNTIME_CLASSTYPE()
40 int32 layer = LAYER_NORMAL);
44 void InitGump(
Gump *newparent,
bool take_focus =
true)
override;
50 uint16
TraceObjId(int32 mx, int32 my)
override;
52 Gump *onMouseDown(
int button, int32 mx, int32 my)
override;
53 void onMouseDouble(
int button, int32 mx, int32 my)
override;
Definition: mini_stats_gump.h:34
Definition: render_surface.h:40
Definition: detection.h:27
uint16 TraceObjId(int32 mx, int32 my) override
Trace a click, and return ObjId.
void InitGump(Gump *newparent, bool take_focus=true) override
void PaintThis(RenderSurface *, int32 lerp_factor, bool scaled) override
Overloadable method to Paint just this Gump (RenderSurface is relative to this)