ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::DialogTitleWidget Class Reference

The dialog widget. More...

#include <dialogmenu.h>

Inheritance diagram for Stark::DialogTitleWidget:
Collaboration diagram for Stark::DialogTitleWidget:

List of all members.

Public Member Functions

 DialogTitleWidget (DialogScreen *screen, Gfx::Driver *gfx, uint logIndex)
virtual ~DialogTitleWidget ()
void setPosition (const Common::Point &pos)
uint getHeight ()
uint getChapter ()
void render () override
 Draw the widget.
bool isMouseInside (const Common::Point &mousePos) const override
 Is the specified point inside the widget?
void onClick () override
 Called when the widget is clicked.
void onMouseMove (const Common::Point &mousePos) override
 Called when the mouse hovers the widget.
void onScreenChanged () override
 Called when the screen's resolution is changed.

Private Attributes

uint _logIndex
uint _chapter
int _width
int _height
Common::Point _pos
VisualText _text
DialogScreen_screen

Static Private Attributes

static const uint32 _textColorHovered = 0xFF961E1E
static const uint32 _textColorDefault = 0xFF000000

Detailed Description

The dialog widget.

Definition at line 144 of file dialogmenu.h.


Constructor & Destructor Documentation

Stark::DialogTitleWidget::DialogTitleWidget ( DialogScreen screen,
Gfx::Driver gfx,
uint  logIndex 
)

Definition at line 364 of file dialogmenu.cpp.

virtual Stark::DialogTitleWidget::~DialogTitleWidget (  )  [inline, virtual]

Definition at line 147 of file dialogmenu.h.


Member Function Documentation

uint Stark::DialogTitleWidget::getChapter (  )  [inline]

Definition at line 151 of file dialogmenu.h.

uint Stark::DialogTitleWidget::getHeight (  )  [inline]

Definition at line 150 of file dialogmenu.h.

bool Stark::DialogTitleWidget::isMouseInside ( const Common::Point mousePos  )  const [override, virtual]

Is the specified point inside the widget?

Reimplemented from Stark::StaticLocationWidget.

Definition at line 381 of file dialogmenu.cpp.

void Stark::DialogTitleWidget::onClick (  )  [override, virtual]

Called when the widget is clicked.

Reimplemented from Stark::StaticLocationWidget.

Definition at line 386 of file dialogmenu.cpp.

void Stark::DialogTitleWidget::onMouseMove ( const Common::Point mousePos  )  [inline, override, virtual]

Called when the mouse hovers the widget.

Reimplemented from Stark::StaticLocationWidget.

Definition at line 157 of file dialogmenu.h.

void Stark::DialogTitleWidget::onScreenChanged (  )  [override, virtual]

Called when the screen's resolution is changed.

Reimplemented from Stark::StaticLocationWidget.

Definition at line 390 of file dialogmenu.cpp.

void Stark::DialogTitleWidget::render (  )  [inline, override, virtual]

Draw the widget.

Reimplemented from Stark::StaticLocationWidget.

Definition at line 154 of file dialogmenu.h.

void Stark::DialogTitleWidget::setPosition ( const Common::Point pos  )  [inline]

Definition at line 149 of file dialogmenu.h.


Member Data Documentation

Definition at line 166 of file dialogmenu.h.

Definition at line 167 of file dialogmenu.h.

Definition at line 166 of file dialogmenu.h.

Definition at line 168 of file dialogmenu.h.

Definition at line 171 of file dialogmenu.h.

Definition at line 169 of file dialogmenu.h.

const uint32 Stark::DialogTitleWidget::_textColorDefault = 0xFF000000 [static, private]

Definition at line 164 of file dialogmenu.h.

const uint32 Stark::DialogTitleWidget::_textColorHovered = 0xFF961E1E [static, private]

Definition at line 163 of file dialogmenu.h.

Definition at line 167 of file dialogmenu.h.


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


Generated on Sat Jan 12 2019 05:05:09 for ResidualVM by doxygen 1.7.1
curved edge   curved edge