22 #ifndef ULTIMA8_GUMPS_PAPERDOLLGUMP_H 23 #define ULTIMA8_GUMPS_PAPERDOLLGUMP_H 25 #include "ultima/shared/std/string.h" 26 #include "ultima/ultima8/gumps/container_gump.h" 27 #include "ultima/ultima8/misc/classtype.h" 39 ENABLE_RUNTIME_CLASSTYPE()
43 uint32 flags = FLAG_DRAGGABLE, int32 layer = LAYER_NORMAL);
47 void InitGump(
Gump *newparent,
bool take_focus =
true)
override;
50 void Close(
bool no_del =
false)
override;
58 uint16
TraceObjId(int32 mx, int32 my)
override;
63 int32 lerp_factor = 256)
override;
85 uint32 _draggingArmourClass;
86 uint32 _draggingWeight;
89 const Rect _backpackRect;
void InitGump(Gump *newparent, bool take_focus=true) override
bool StartDraggingItem(Item *item, int mx, int my) override
Definition: container_gump.h:37
void PaintStat(RenderSurface *surf, unsigned int n, Std::string text, int val)
Paint a single stat.
void Close(bool no_del=false) override
void PaintThis(RenderSurface *, int32 lerp_factor, bool scaled) override
Overloadable method to Paint just this Gump (RenderSurface is relative to this)
Definition: render_surface.h:40
Definition: rendered_text.h:30
bool GetLocationOfItem(uint16 itemid, int32 &gx, int32 &gy, int32 lerp_factor=256) override
Definition: detection.h:27
Definition: paperdoll_gump.h:37
bool DraggingItem(Item *item, int mx, int my) override
void DropItem(Item *item, int mx, int my) override
void PaintStats(RenderSurface *, int32 lerp_factor)
Paint the stats.
uint16 TraceObjId(int32 mx, int32 my) override
Trace a click, and return ObjId.
void ChildNotify(Gump *child, uint32 message) override