22 #ifndef ULTIMA8_GUMPS_INVERTERGUMP_H 23 #define ULTIMA8_GUMPS_INVERTERGUMP_H 25 #include "ultima/ultima8/gumps/desktop_gump.h" 26 #include "ultima/ultima8/misc/classtype.h" 38 ENABLE_RUNTIME_CLASSTYPE()
40 InverterGump(int32 x, int32 y, int32 width, int32 height);
47 PointRoundDir r = ROUND_TOPLEFT)
override;
49 PointRoundDir r = ROUND_TOPLEFT)
override;
51 void RenderSurfaceChanged()
override;
void Paint(RenderSurface *surf, int32 lerp_factor, bool scaled) override
void PaintChildren(RenderSurface *surf, int32 lerp_factor, bool scaled) override
Paint the Gumps Children (RenderSurface is relative to this)
void GumpToParent(int32 &gx, int32 &gy, PointRoundDir r=ROUND_TOPLEFT) override
Convert a gump point to parent relative point.
Definition: desktop_gump.h:34
void ParentToGump(int32 &px, int32 &py, PointRoundDir r=ROUND_TOPLEFT) override
Convert a parent relative point to a gump point.
Definition: render_surface.h:40
Definition: detection.h:27
Definition: inverter_gump.h:36