22 #ifndef ULTIMA8_GUMPS_SHAPEVIEWERGUMP_H 23 #define ULTIMA8_GUMPS_SHAPEVIEWERGUMP_H 25 #include "ultima/ultima8/gumps/modal_gump.h" 27 #include "ultima/shared/std/containers.h" 28 #include "ultima/ultima8/misc/classtype.h" 43 DisposeAfterUse::Flag _disposeAfterUse;
46 : _name(name), _archive(archive), _disposeAfterUse(disposeAfterUse) {}
49 ENABLE_RUNTIME_CLASSTYPE()
54 uint32 flags = FLAG_PREVENT_SAVE, int32 layer = LAYER_MODAL);
59 bool OnKeyDown(
int key,
int mod)
override;
62 void InitGump(
Gump *newparent,
bool take_focus =
true)
override;
64 static void U8ShapeViewer();
71 unsigned int _curArchive;
83 int32 _shapeW, _shapeH, _shapeX, _shapeY;
Definition: shape_archive.h:34
Definition: shape_viewer_gump.h:40
void PaintThis(RenderSurface *, int32 lerp_factor, bool scaled) override
Overloadable method to Paint just this Gump (RenderSurface is relative to this)
void InitGump(Gump *newparent, bool take_focus=true) override
Definition: shape_viewer_gump.h:38
Definition: modal_gump.h:34
Definition: render_surface.h:40
Definition: detection.h:27
uint32 _fontNo
The font used in the shape viewer.
Definition: shape_viewer_gump.h:78