Public Member Functions | |
DialogPanel (Gfx::Driver *gfx, Cursor *cursor) | |
void | reset () |
void | onScreenChanged () |
void | scrollUp () |
void | scrollDown () |
void | focusNextOption () |
void | focusPrevOption () |
void | selectFocusedOption () |
void | selectOption (uint index) |
Public Member Functions inherited from Stark::Window | |
Window (Gfx::Driver *gfx, Cursor *cursor) | |
void | handleMouseMove () |
void | handleClick () |
void | handleRightClick () |
void | handleDoubleClick () |
void | handleGameLoop () |
void | render () |
bool | isMouseInside () const |
bool | isVisible () const |
Graphics::Surface * | getScreenshot () const |
Protected Member Functions | |
void | onMouseMove (const Common::Point &pos) override |
void | onClick (const Common::Point &pos) override |
void | onRightClick (const Common::Point &pos) override |
void | onGameLoop () override |
void | onRender () override |
Protected Member Functions inherited from Stark::Window | |
virtual void | onDoubleClick (const Common::Point &pos) |
Common::Point | getRelativeMousePosition () const |
Additional Inherited Members | |
Protected Attributes inherited from Stark::Window | |
Gfx::Driver * | _gfx |
Cursor * | _cursor |
Common::Rect | _position |
bool | _visible |
void Stark::DialogPanel::reset | ( | ) |
Abort the currently playing dialog
void Stark::DialogPanel::onScreenChanged | ( | ) |
The screen resolution changed, rebuild the text accordingly
void Stark::DialogPanel::scrollUp | ( | ) |
Scroll up and down the panel
void Stark::DialogPanel::focusNextOption | ( | ) |
Select the next or previous option
void Stark::DialogPanel::selectFocusedOption | ( | ) |
Select the focused option
void Stark::DialogPanel::selectOption | ( | uint | index | ) |
Select an option by index