22 #ifndef ULTIMA8_GUMPS_SHAPEVIEWERGUMP_H 23 #define ULTIMA8_GUMPS_SHAPEVIEWERGUMP_H 25 #include "ultima/ultima8/gumps/modal_gump.h" 26 #include "ultima/ultima8/misc/classtype.h" 41 DisposeAfterUse::Flag _disposeAfterUse;
44 : _name(name), _archive(archive), _disposeAfterUse(disposeAfterUse) {}
47 ENABLE_RUNTIME_CLASSTYPE()
52 uint32 flags = FLAG_PREVENT_SAVE, int32 layer = LAYER_MODAL);
57 bool OnKeyDown(
int key,
int mod)
override;
60 void InitGump(
Gump *newparent,
bool take_focus =
true)
override;
62 static void U8ShapeViewer();
69 unsigned int _curArchive;
81 int32 _shapeW, _shapeH, _shapeX, _shapeY;
Definition: shape_archive.h:34
Definition: shape_viewer_gump.h:38
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:36
Definition: modal_gump.h:34
Definition: render_surface.h:37
Definition: detection.h:27
uint32 _fontNo
The font used in the shape viewer.
Definition: shape_viewer_gump.h:76