22 #ifndef ULTIMA8_GUMPS_WIDGETS_BUTTONWIDGET_H 23 #define ULTIMA8_GUMPS_WIDGETS_BUTTONWIDGET_H 25 #include "ultima/shared/std/string.h" 26 #include "ultima/ultima8/gumps/gump.h" 27 #include "ultima/ultima8/gfx/frame_id.h" 28 #include "ultima/ultima8/misc/classtype.h" 36 ENABLE_RUNTIME_CLASSTYPE()
40 uint32 mouseOverBlendCol = 0,
int width = 0,
int height = 0,
41 int32 layer = LAYER_NORMAL);
43 bool mouseOver =
false, int32 layer = LAYER_NORMAL);
46 void InitGump(
Gump *newparent,
bool take_focus =
true)
override;
47 uint16
TraceObjId(int32 mx, int32 my)
override;
50 Gump *onMouseDown(
int button, int32 mx, int32 my)
override;
51 void onMouseUp(
int button, int32 mx, int32 my)
override;
52 void onMouseClick(
int button, int32 mx, int32 my)
override;
53 void onMouseDouble(
int button, int32 mx, int32 my)
override;
55 void onMouseOver()
override;
56 void onMouseLeft()
override;
76 uint32 _mouseOverBlendCol;
Definition: detection.h:27
Definition: frame_id.h:30