22 #ifndef ULTIMA8_GUMPS_CRUDEMOGUMP_H 23 #define ULTIMA8_GUMPS_CRUDEMOGUMP_H 25 #include "ultima/ultima8/gumps/modal_gump.h" 26 #include "ultima/ultima8/misc/classtype.h" 36 ENABLE_RUNTIME_CLASSTYPE()
40 uint32 flags = FLAG_PREVENT_SAVE, int32 layer = LAYER_MODAL);
44 void InitGump(
Gump *newparent,
bool take_focus =
true)
override;
46 void Close(
bool no_del =
false)
override;
51 bool OnKeyDown(
int key,
int mod)
override;
void Close(bool no_del=false) override
void InitGump(Gump *newparent, bool take_focus=true) override
Definition: cru_demo_gump.h:34
Definition: modal_gump.h:34
Definition: render_surface.h:40
Definition: detection.h:27
RenderSurface * _background
The background picture.
Definition: cru_demo_gump.h:55
void PaintThis(RenderSurface *, int32 lerp_factor, bool scaled) override
Overloadable method to Paint just this Gump (RenderSurface is relative to this)