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

GUI::SaveLoadChooserDialog Class Reference

#include <saveload-dialog.h>

Inheritance diagram for GUI::SaveLoadChooserDialog:
Collaboration diagram for GUI::SaveLoadChooserDialog:

List of all members.

Public Member Functions

 SaveLoadChooserDialog (const Common::String &dialogName, const bool saveMode)
 SaveLoadChooserDialog (int x, int y, int w, int h, const bool saveMode)
virtual ~SaveLoadChooserDialog ()
virtual void open ()
virtual void close ()
virtual void reflowLayout ()
virtual void handleCommand (CommandSender *sender, uint32 cmd, uint32 data)
virtual void handleTickle ()
virtual SaveLoadChooserType getType () const =0
int run (const Common::String &target, const MetaEngine *metaEngine)
virtual const Common::StringgetResultString () const =0

Protected Member Functions

virtual int runIntern ()=0
virtual void updateSaveList ()
 Common function to refresh the list on the screen.
virtual void listSaves ()
 Common function to get saves list from MetaEngine.
void addChooserButtons ()
ButtonWidgetcreateSwitchButton (const Common::String &name, const char *desc, const char *tooltip, const char *image, uint32 cmd=0)

Protected Attributes

const bool _saveMode
const MetaEngine_metaEngine
bool _delSupport
bool _metaInfoSupport
bool _thumbnailSupport
bool _saveDateSupport
bool _playTimeSupport
Common::String _target
bool _dialogWasShown
SaveStateList _saveList
ButtonWidget_listButton
ButtonWidget_gridButton

Detailed Description

Definition at line 71 of file saveload-dialog.h.


Constructor & Destructor Documentation

GUI::SaveLoadChooserDialog::SaveLoadChooserDialog ( const Common::String dialogName,
const bool  saveMode 
)

Definition at line 133 of file saveload-dialog.cpp.

GUI::SaveLoadChooserDialog::SaveLoadChooserDialog ( int  x,
int  y,
int  w,
int  h,
const bool  saveMode 
)

Definition at line 146 of file saveload-dialog.cpp.

GUI::SaveLoadChooserDialog::~SaveLoadChooserDialog (  )  [virtual]

Definition at line 159 of file saveload-dialog.cpp.


Member Function Documentation

void GUI::SaveLoadChooserDialog::addChooserButtons (  )  [protected]

Definition at line 329 of file saveload-dialog.cpp.

void GUI::SaveLoadChooserDialog::close (  )  [virtual]

Reimplemented from GUI::Dialog.

Reimplemented in GUI::SaveLoadChooserSimple, and GUI::SaveLoadChooserGrid.

Definition at line 175 of file saveload-dialog.cpp.

ButtonWidget * GUI::SaveLoadChooserDialog::createSwitchButton ( const Common::String name,
const char *  desc,
const char *  tooltip,
const char *  image,
uint32  cmd = 0 
) [protected]

Definition at line 348 of file saveload-dialog.cpp.

virtual const Common::String& GUI::SaveLoadChooserDialog::getResultString (  )  const [pure virtual]
virtual SaveLoadChooserType GUI::SaveLoadChooserDialog::getType (  )  const [pure virtual]
void GUI::SaveLoadChooserDialog::handleCommand ( CommandSender sender,
uint32  cmd,
uint32  data 
) [virtual]

Reimplemented from GUI::Dialog.

Reimplemented in GUI::SaveLoadChooserSimple, and GUI::SaveLoadChooserGrid.

Definition at line 194 of file saveload-dialog.cpp.

void GUI::SaveLoadChooserDialog::handleTickle (  )  [virtual]

Reimplemented from GUI::Dialog.

Definition at line 242 of file saveload-dialog.cpp.

void GUI::SaveLoadChooserDialog::listSaves (  )  [protected, virtual]

Common function to get saves list from MetaEngine.

It also checks whether there are some locked saves because of saves sync and adds such saves as locked slots. User sees these slots, but is unable to save or load from these.

Definition at line 296 of file saveload-dialog.cpp.

void GUI::SaveLoadChooserDialog::open (  )  [virtual]

Reimplemented from GUI::Dialog.

Reimplemented in GUI::SaveLoadChooserSimple, and GUI::SaveLoadChooserGrid.

Definition at line 165 of file saveload-dialog.cpp.

void GUI::SaveLoadChooserDialog::reflowLayout (  )  [virtual]

Reimplemented from GUI::Dialog.

Reimplemented in GUI::SaveLoadChooserSimple, and GUI::SaveLoadChooserGrid.

Definition at line 265 of file saveload-dialog.cpp.

int GUI::SaveLoadChooserDialog::run ( const Common::String target,
const MetaEngine metaEngine 
)

Definition at line 182 of file saveload-dialog.cpp.

virtual int GUI::SaveLoadChooserDialog::runIntern (  )  [protected, pure virtual]
void GUI::SaveLoadChooserDialog::updateSaveList (  )  [protected, virtual]

Common function to refresh the list on the screen.

Reimplemented in GUI::SaveLoadChooserSimple, and GUI::SaveLoadChooserGrid.

Definition at line 288 of file saveload-dialog.cpp.


Member Data Documentation

Definition at line 115 of file saveload-dialog.h.

Definition at line 121 of file saveload-dialog.h.

Definition at line 114 of file saveload-dialog.h.

Definition at line 116 of file saveload-dialog.h.

Definition at line 119 of file saveload-dialog.h.

Definition at line 118 of file saveload-dialog.h.

const bool GUI::SaveLoadChooserDialog::_saveMode [protected]

Definition at line 113 of file saveload-dialog.h.

Definition at line 117 of file saveload-dialog.h.


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


Generated on Sat Jul 20 2019 05:03:08 for ResidualVM by doxygen 1.7.1
curved edge   curved edge