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

#include <launcher.h>

Inheritance diagram for GUI::LauncherDialog:
Collaboration diagram for GUI::LauncherDialog:

List of all members.

Public Member Functions

 LauncherDialog ()
 ~LauncherDialog ()
void rebuild ()
virtual void handleCommand (CommandSender *sender, uint32 cmd, uint32 data)
virtual void handleKeyDown (Common::KeyState state)
virtual void handleKeyUp (Common::KeyState state)
virtual void handleOtherEvent (Common::Event evt)
bool doGameDetection (const Common::String &path)

Protected Member Functions

virtual void reflowLayout ()
void updateListing ()
 Fill the list widget with all currently configured targets, and trigger a redraw.
void updateButtons ()
void switchButtonsText (ButtonWidget *button, const char *normalText, const char *shiftedText)
void build ()
void clean ()
void open ()
void close ()
virtual void addGame ()
 Handle "Add game..." button.
void removeGame (int item)
 Handle "Remove game..." button.
void editGame (int item)
 Handle "Edit game..." button.
void loadGameButtonPressed (int item)
 Facade for "Load..."/"Record..." buttons.
void recordGame (int item)
 Handle "Record..." button.
void loadGame (int item)
 Handle "Load..." button.
void selectTarget (const String &target)
 Select the target with the given name in the launcher game list.

Protected Attributes

EditTextWidget_searchWidget
ListWidget_list
ButtonWidget_addButton
Widget_startButton
ButtonWidget_loadButton
Widget_editButton
Widget_removeButton
GraphicsWidget_logo
GraphicsWidget_searchPic
StaticTextWidget_searchDesc
ButtonWidget_searchClearButton
StringArray _domains
BrowserDialog_browser
SaveLoadChooser_loadDialog
String _search

Private Types

typedef Common::String String
typedef Common::Array
< Common::String
StringArray

Private Member Functions

bool checkModifier (int modifier)

Detailed Description

Definition at line 41 of file launcher.h.


Member Typedef Documentation

Definition at line 42 of file launcher.h.

Definition at line 43 of file launcher.h.


Constructor & Destructor Documentation

GUI::LauncherDialog::LauncherDialog (  ) 

Definition at line 94 of file launcher.cpp.

GUI::LauncherDialog::~LauncherDialog (  ) 

Definition at line 121 of file launcher.cpp.


Member Function Documentation

void GUI::LauncherDialog::addGame (  )  [protected, virtual]

Handle "Add game..." button.

Definition at line 319 of file launcher.cpp.

void GUI::LauncherDialog::build (  )  [protected]

Definition at line 126 of file launcher.cpp.

bool GUI::LauncherDialog::checkModifier ( int  modifier  )  [private]

Definition at line 807 of file launcher.cpp.

void GUI::LauncherDialog::clean (  )  [protected]

Definition at line 204 of file launcher.cpp.

void GUI::LauncherDialog::close (  )  [protected, virtual]

Reimplemented from GUI::Dialog.

Definition at line 236 of file launcher.cpp.

bool GUI::LauncherDialog::doGameDetection ( const Common::String path  ) 

Definition at line 538 of file launcher.cpp.

void GUI::LauncherDialog::editGame ( int  item  )  [protected]

Handle "Edit game..." button.

Definition at line 411 of file launcher.cpp.

void GUI::LauncherDialog::handleCommand ( CommandSender sender,
uint32  cmd,
uint32  data 
) [virtual]

Reimplemented from GUI::Dialog.

Definition at line 638 of file launcher.cpp.

void GUI::LauncherDialog::handleKeyDown ( Common::KeyState  state  )  [virtual]

Reimplemented from GUI::Dialog.

Definition at line 513 of file launcher.cpp.

void GUI::LauncherDialog::handleKeyUp ( Common::KeyState  state  )  [virtual]

Reimplemented from GUI::Dialog.

Definition at line 526 of file launcher.cpp.

void GUI::LauncherDialog::handleOtherEvent ( Common::Event  evt  )  [virtual]

Reimplemented from GUI::Dialog.

Definition at line 531 of file launcher.cpp.

void GUI::LauncherDialog::loadGame ( int  item  )  [protected]

Handle "Load..." button.

Definition at line 480 of file launcher.cpp.

void GUI::LauncherDialog::loadGameButtonPressed ( int  item  )  [protected]

Facade for "Load..."/"Record..." buttons.

Definition at line 437 of file launcher.cpp.

void GUI::LauncherDialog::open (  )  [protected, virtual]

Reimplemented from GUI::Dialog.

Definition at line 224 of file launcher.cpp.

void GUI::LauncherDialog::rebuild (  ) 

Definition at line 217 of file launcher.cpp.

void GUI::LauncherDialog::recordGame ( int  item  )  [protected]

Handle "Record..." button.

void GUI::LauncherDialog::reflowLayout (  )  [protected, virtual]

Reimplemented from GUI::Dialog.

Definition at line 744 of file launcher.cpp.

void GUI::LauncherDialog::removeGame ( int  item  )  [protected]

Handle "Remove game..." button.

Definition at line 394 of file launcher.cpp.

void GUI::LauncherDialog::selectTarget ( const String target  )  [protected]

Select the target with the given name in the launcher game list.

Also scrolls the list so that the newly selected item is visible.

name of target to select

Definition at line 108 of file launcher.cpp.

void GUI::LauncherDialog::switchButtonsText ( ButtonWidget button,
const char *  normalText,
const char *  shiftedText 
) [protected]

Definition at line 729 of file launcher.cpp.

void GUI::LauncherDialog::updateButtons (  )  [protected]

Definition at line 697 of file launcher.cpp.

void GUI::LauncherDialog::updateListing (  )  [protected]

Fill the list widget with all currently configured targets, and trigger a redraw.

Definition at line 248 of file launcher.cpp.


Member Data Documentation

Definition at line 59 of file launcher.h.

Definition at line 71 of file launcher.h.

Definition at line 70 of file launcher.h.

Definition at line 62 of file launcher.h.

Definition at line 58 of file launcher.h.

Definition at line 61 of file launcher.h.

Definition at line 72 of file launcher.h.

Definition at line 65 of file launcher.h.

Definition at line 63 of file launcher.h.

Definition at line 74 of file launcher.h.

Definition at line 69 of file launcher.h.

Definition at line 68 of file launcher.h.

Definition at line 66 of file launcher.h.

Definition at line 57 of file launcher.h.

Definition at line 60 of file launcher.h.


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


Generated on Sat Sep 14 2019 05:04:30 for ResidualVM by doxygen 1.7.1
curved edge   curved edge