22 #ifndef XEEN_DIALOGS_H 23 #define XEEN_DIALOGS_H 25 #include "common/array.h" 26 #include "common/stack.h" 27 #include "common/rect.h" 28 #include "mm/xeen/cutscenes.h" 29 #include "mm/xeen/sprites.h" 30 #include "mm/shared/xeen/xsurface.h" 42 uint _frameNum, _selectedFrame;
49 _bounds(bounds), _value(value), _frameNum(frameNum), _selectedFrame(frameNum | 1),
50 _sprites(sprites), _draw(draw) {}
55 UIButton() : _value(0), _frameNum(0), _selectedFrame(0), _sprites(nullptr), _draw(false) {}
62 _selectedFrame = frameNum | 1;
68 void setFrame(uint frameNum, uint selectedFrame) {
70 _selectedFrame = selectedFrame;
91 bool doScroll(
bool rollUp,
bool fadeIn)
override;
110 void setWaitBounds();
121 void restoreButtons();
133 void drawButtons(
XSurface *surface);
Definition: xsurface.h:45
Definition: dialogs.h:141
Definition: cutscenes.h:34
Definition: detection.h:27