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

The widget for FMV entry, specifically built for FMVMenuScreen. More...

#include <fmvmenu.h>

Collaboration diagram for Stark::FMVWidget:

List of all members.

Public Member Functions

 FMVWidget (Gfx::Driver *gfx, uint fmvIndex)
 ~FMVWidget ()
void render ()
bool isMouseInside (const Common::Point &mousePos) const
void onMouseMove (const Common::Point &mousePos)
void onClick ()
void setTextColor (const Color &color)
void onScreenChanged ()

Private Attributes

const Common::String_filename
VisualText _title
int _width
Common::Point _position

Static Private Attributes

static const Color _textColorHovered = Color(0x1E, 0x1E, 0x96)
static const Color _textColorDefault = Color(0x00, 0x00, 0x00)

Detailed Description

The widget for FMV entry, specifically built for FMVMenuScreen.

Definition at line 80 of file fmvmenu.h.

Constructor & Destructor Documentation

Stark::FMVWidget::FMVWidget ( Gfx::Driver gfx,
uint  fmvIndex 

Definition at line 177 of file fmvmenu.cpp.

Stark::FMVWidget::~FMVWidget (  )  [inline]

Definition at line 83 of file fmvmenu.h.

Member Function Documentation

bool Stark::FMVWidget::isMouseInside ( const Common::Point mousePos  )  const

Definition at line 196 of file fmvmenu.cpp.

void Stark::FMVWidget::onClick (  ) 

Definition at line 192 of file fmvmenu.cpp.

void Stark::FMVWidget::onMouseMove ( const Common::Point mousePos  )  [inline]

Definition at line 89 of file fmvmenu.h.

void Stark::FMVWidget::onScreenChanged (  )  [inline]

Definition at line 97 of file fmvmenu.h.

void Stark::FMVWidget::render (  )  [inline]

Definition at line 85 of file fmvmenu.h.

void Stark::FMVWidget::setTextColor ( const Color color  )  [inline]

Definition at line 95 of file fmvmenu.h.

Member Data Documentation

Definition at line 103 of file fmvmenu.h.

Definition at line 107 of file fmvmenu.h.

const Color Stark::FMVWidget::_textColorDefault = Color(0x00, 0x00, 0x00) [static, private]

Definition at line 101 of file fmvmenu.h.

const Color Stark::FMVWidget::_textColorHovered = Color(0x1E, 0x1E, 0x96) [static, private]

Definition at line 100 of file fmvmenu.h.

Definition at line 104 of file fmvmenu.h.

int Stark::FMVWidget::_width [private]

Definition at line 106 of file fmvmenu.h.

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

Generated on Sat Sep 26 2020 05:03:52 for ResidualVM by doxygen 1.7.1
curved edge   curved edge