ScummVM API documentation
Stark::DialogTitleWidget Class Reference

#include <dialogmenu.h>

Inheritance diagram for Stark::DialogTitleWidget:
Stark::StaticLocationWidget

Public Member Functions

 DialogTitleWidget (DialogScreen *screen, Gfx::Driver *gfx, uint logIndex)
 
void setPosition (const Common::Point &pos)
 
uint getHeight ()
 
uint getChapter ()
 
void render () override
 
bool isMouseInside (const Common::Point &mousePos) const override
 
void onClick () override
 
void onMouseMove (const Common::Point &mousePos) override
 
void onScreenChanged () override
 
- Public Member Functions inherited from Stark::StaticLocationWidget
 StaticLocationWidget (const char *renderEntryName, WidgetOnClickCallback *onClickCallback, WidgetOnMouseMoveCallback *onMouseMoveCallback)
 
virtual void onMouseUp ()
 
void setupSounds (int16 enterSound, int16 clickSound)
 
void setTextColor (const Gfx::Color &textColor)
 
bool isVisible () const
 
void setVisible (bool visible)
 
void onGameLoop ()
 
void onMouseEnter ()
 
void onMouseLeave ()
 

Additional Inherited Members

- Protected Member Functions inherited from Stark::StaticLocationWidget
Common::Point getPosition () const
 
- Protected Attributes inherited from Stark::StaticLocationWidget
Gfx::RenderEntry_renderEntry
 

Detailed Description

The dialog widget

Member Function Documentation

◆ render()

void Stark::DialogTitleWidget::render ( )
inlineoverridevirtual

Draw the widget

Reimplemented from Stark::StaticLocationWidget.

◆ isMouseInside()

bool Stark::DialogTitleWidget::isMouseInside ( const Common::Point mousePos) const
overridevirtual

Is the specified point inside the widget?

Reimplemented from Stark::StaticLocationWidget.

◆ onClick()

void Stark::DialogTitleWidget::onClick ( )
overridevirtual

Called when the widget is clicked

Reimplemented from Stark::StaticLocationWidget.

◆ onMouseMove()

void Stark::DialogTitleWidget::onMouseMove ( const Common::Point mousePos)
inlineoverridevirtual

Called when the mouse hovers the widget

Reimplemented from Stark::StaticLocationWidget.

◆ onScreenChanged()

void Stark::DialogTitleWidget::onScreenChanged ( )
overridevirtual

Called when the screen's resolution is changed

Reimplemented from Stark::StaticLocationWidget.


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