22 #ifndef ULTIMA8_GUMPS_MESSAGEBOXGUMP_H 23 #define ULTIMA8_GUMPS_MESSAGEBOXGUMP_H 25 #include "common/str.h" 26 #include "ultima/ultima8/gfx/texture.h" 27 #include "ultima/ultima8/gumps/modal_gump.h" 28 #include "ultima/ultima8/misc/classtype.h" 29 #include "ultima/ultima8/usecode/intrinsics.h" 44 ENABLE_RUNTIME_CLASSTYPE()
51 void InitGump(
Gump *newparent,
bool take_focus =
true)
override;
52 void Close(
bool no_del =
false)
override;
67 return Show(title, message, TEX32_PACK_RGB(0x30, 0x30, 0x8F), buttons);
void PaintThis(RenderSurface *, int32 lerp_factor, bool scaled) override
Overloadable method to Paint just this Gump (RenderSurface is relative to this)
void Close(bool no_del=false) override
void ChildNotify(Gump *child, uint32 msg) override
Definition: modal_gump.h:34
Definition: render_surface.h:37
Definition: detection.h:27
static ProcId Show(Common::String title, Common::String message, uint32 titleColour, Common::Array< Common::String > *buttons=0)
void InitGump(Gump *newparent, bool take_focus=true) override
Definition: message_box_gump.h:38