ScummVM API documentation
Stark::DialogPanel Class Reference
Inheritance diagram for Stark::DialogPanel:
Stark::Window

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::SurfacegetScreenshot () 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
 

Member Function Documentation

◆ reset()

void Stark::DialogPanel::reset ( )

Abort the currently playing dialog

◆ onScreenChanged()

void Stark::DialogPanel::onScreenChanged ( )

The screen resolution changed, rebuild the text accordingly

◆ scrollUp()

void Stark::DialogPanel::scrollUp ( )

Scroll up and down the panel

◆ focusNextOption()

void Stark::DialogPanel::focusNextOption ( )

Select the next or previous option

◆ selectFocusedOption()

void Stark::DialogPanel::selectFocusedOption ( )

Select the focused option

◆ selectOption()

void Stark::DialogPanel::selectOption ( uint  index)

Select an option by index


The documentation for this class was generated from the following file: