22 #ifndef STARK_UI_DIALOG_PANEL_H 23 #define STARK_UI_DIALOG_PANEL_H 25 #include "engines/stark/ui/window.h" 26 #include "engines/stark/gfx/color.h" 28 #include "common/scummsys.h" 29 #include "common/str.h" 30 #include "common/str-array.h" 31 #include "common/array.h" 32 #include "common/rect.h" 53 void onScreenChanged();
60 void focusNextOption();
61 void focusPrevOption();
64 void selectFocusedOption();
67 void selectOption(uint index);
73 void onGameLoop()
override;
74 void onRender()
override;
77 void updateSubtitleVisual();
78 void clearSubtitleVisual();
79 void updateDialogOptions();
82 void renderScrollArrows()
const;
84 void updateFirstVisibleOption();
85 void updateLastVisibleOption();
94 bool _scrollUpArrowVisible;
95 bool _scrollDownArrowVisible;
100 void abortCurrentSpeech();
102 uint32 _firstVisibleOption, _lastVisibleOption;
103 uint32 _focusedOption;
105 bool _acceptIdleMousePos;
109 static const uint32 _optionsTop = 4;
110 static const uint32 _optionsLeft = 30;
111 static const uint32 _optionsHeight = 80;
116 #endif // STARK_UI_DIALOG_PANEL_H
Definition: dialogpanel.h:44