23 #ifndef M4_BURGER_INTERFACE_H 24 #define M4_BURGER_INTERFACE_H 26 #include "m4/adv_r/adv_interface.h" 27 #include "m4/adv_r/adv_hotspot.h" 28 #include "m4/graphics/graphics.h" 29 #include "m4/graphics/gr_buff.h" 30 #include "m4/burger/gui/gui_cheapo.h" 41 ControlStatus trackHotspots(
int event,
int x,
int y);
42 void dispatch_command();
43 void handleState(ControlStatus status);
59 int _savedX = 0, _savedY = 0;
60 char _prepText[40] = { 0 };
61 char _nounText[40] = { 0 };
62 char _verbText[40] = { 0 };
63 bool _iconSelected =
false;
69 bool init(
int arrow,
int wait,
int look,
int grab,
int use)
override;
71 void cancel_sentence()
override;
73 void freshen_sentence()
override;
75 bool set_interface_palette(
RGB8 *myPalette)
override;
77 void track_hotspots_refresh()
override;
79 bool eventHandler(
void *bufferPtr, int32 eventType, int32 event, int32 x, int32 y,
bool *z)
override;
83 void refresh_right_arrow();
84 void refresh_left_arrow();
Definition: adv_interface.h:30
Definition: gui_cheapo.h:176
Definition: m4_types.h:88
Definition: database.h:28
Definition: interface.h:36
Definition: gui_cheapo.h:151
Definition: adv_hotspot.h:30
Definition: gui_cheapo.h:80