47 #ifndef GRAPHICS_MACGUI_MACDIALOG_H 48 #define GRAPHICS_MACGUI_MACDIALOG_H 50 #include "common/str.h" 51 #include "common/rect.h" 63 class MacWindowManager;
66 kMacDialogQuitRequested = -2
77 bounds.
right = x1 + w - 1;
78 bounds.bottom = y1 + h - 1;
90 virtual bool processEvent(
const Common::Event &event) {
return false; }
102 MacDialogButtonArray *_buttons;
104 bool _mouseOverPressedButton;
105 int _mouseOverButton;
112 const Font *getDialogFont();
113 void drawOutline(
Common::Rect &bounds,
int *spec,
int speclen);
116 virtual void paint();
118 void mouseMove(
int x,
int y);
119 void mouseClick(
int x,
int y);
120 int mouseRaise(
int x,
int y);
121 int matchButton(
int x,
int y);
Definition: managed_surface.h:51
T left
Definition: rect.h:170
Definition: macwindowmanager.h:147
T right
Definition: rect.h:171
Definition: algorithm.h:29
Definition: formatinfo.h:28
Definition: macdialog.h:84