22 #ifndef ULTIMA8_GUMPS_TARGETGUMP_H 23 #define ULTIMA8_GUMPS_TARGETGUMP_H 25 #include "ultima/ultima8/gumps/modal_gump.h" 26 #include "ultima/ultima8/usecode/intrinsics.h" 27 #include "ultima/ultima8/misc/classtype.h" 36 ENABLE_RUNTIME_CLASSTYPE()
44 void InitGump(
Gump *newparent,
bool take_focus =
true)
override;
45 void Close(
bool no_del =
false)
override;
47 void onMouseUp(
int button, int32 mx, int32 my)
override;
48 bool OnKeyDown(
int key,
int mod)
override;
Definition: target_gump.h:34
void InitGump(Gump *newparent, bool take_focus=true) override
Definition: modal_gump.h:34
Definition: render_surface.h:40
void Close(bool no_del=false) override
Definition: detection.h:27
bool PointOnGump(int mx, int my) override
Detect if a point is on the gump.
void PaintThis(RenderSurface *surf, int32 lerp_factor, bool scaled) override
Overloadable method to Paint just this Gump (RenderSurface is relative to this)