22 #ifndef ULTIMA8_GUMPS_MESSAGEBOXGUMP_H 23 #define ULTIMA8_GUMPS_MESSAGEBOXGUMP_H 25 #include "ultima/ultima8/gumps/modal_gump.h" 26 #include "ultima/ultima8/usecode/intrinsics.h" 28 #include "ultima/shared/std/string.h" 29 #include "ultima/shared/std/containers.h" 30 #include "ultima/ultima8/misc/classtype.h" 31 #include "ultima/ultima8/gfx/texture.h" 46 ENABLE_RUNTIME_CLASSTYPE()
53 void InitGump(
Gump *newparent,
bool take_focus =
true)
override;
54 void Close(
bool no_del =
false)
override;
69 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:40
Definition: detection.h:27
void InitGump(Gump *newparent, bool take_focus=true) override
static ProcId Show(Std::string title, Std::string message, uint32 titleColour, Std::vector< Std::string > *buttons=0)
Definition: message_box_gump.h:40
Definition: containers.h:38