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 "xeen/cutscenes.h" 29 #include "xeen/sprites.h" 30 #include "xeen/xsurface.h" 41 uint _frameNum, _selectedFrame;
48 _bounds(bounds), _value(value), _frameNum(frameNum), _selectedFrame(frameNum | 1),
49 _sprites(sprites), _draw(draw) {}
54 UIButton() : _value(0), _frameNum(0), _selectedFrame(0), _sprites(nullptr), _draw(false) {}
61 _selectedFrame = frameNum | 1;
67 void setFrame(uint frameNum, uint selectedFrame) {
69 _selectedFrame = selectedFrame;
90 bool doScroll(
bool rollUp,
bool fadeIn)
override;
109 void setWaitBounds();
120 void restoreButtons();
132 void drawButtons(
XSurface *surface);
Definition: xsurface.h:43
Definition: dialogs.h:140
Definition: cutscenes.h:33
Definition: character.h:33