22 #ifndef ULTIMA8_GUMPS_RESIZABLEGUMP_H 23 #define ULTIMA8_GUMPS_RESIZABLEGUMP_H 25 #include "ultima/ultima8/gumps/gump.h" 36 Gump::Position _dragPosition, _mousePosition;
45 void setMinSize(
int minWidth,
int minHeight) {
47 _minHeight = minHeight;
50 Gump *onMouseMotion(int32 mx, int32 my)
override;
51 void onMouseLeft()
override;
54 void onDragStop(int32 mx, int32 my)
override;
55 void onDrag(int32 mx, int32 my)
override;
58 Gump::Position getPosition(int32 mx, int32 my);
bool onDragStart(int32 mx, int32 my) override
Definition: detection.h:27
Definition: resizable_gump.h:34