#include <saveloadmenu.h>
Public Member Functions | |
SaveDataWidget (int slot, Gfx::Driver *gfx, SaveLoadMenuScreen *screen) | |
void | render () override |
bool | isMouseInside (const Common::Point &mousePos) const override |
void | onClick () override |
void | onMouseMove (const Common::Point &mousePos) override |
void | onScreenChanged () override |
int | getSlot () |
Common::String | getName () |
void | loadSaveDataElements () |
bool | hasSave () |
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 |
The widget of save data
|
overridevirtual |
Draw the widget
Reimplemented from Stark::StaticLocationWidget.
|
overridevirtual |
Is the specified point inside the widget?
Reimplemented from Stark::StaticLocationWidget.
|
overridevirtual |
Called when the widget is clicked
Reimplemented from Stark::StaticLocationWidget.
|
overridevirtual |
Called when the mouse hovers the widget
Reimplemented from Stark::StaticLocationWidget.
|
overridevirtual |
Called when the screen's resolution is changed
Reimplemented from Stark::StaticLocationWidget.
void Stark::SaveDataWidget::loadSaveDataElements | ( | ) |
Load the thumbnail and info from the save data
|
inline |
Check whether the save slot has data