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 (uint32 color)
void onScreenChanged ()

Private Attributes

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

Static Private Attributes

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

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 174 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 193 of file fmvmenu.cpp.

void Stark::FMVWidget::onClick (  ) 

Definition at line 189 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 ( uint32  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 uint32 Stark::FMVWidget::_textColorDefault = 0xFF000000 [static, private]

Definition at line 101 of file fmvmenu.h.

const uint32 Stark::FMVWidget::_textColorHovered = 0xFF961E1E [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 Jan 12 2019 05:05:10 for ResidualVM by doxygen 1.7.1
curved edge   curved edge