#include <mainsave.h>
Inheritance diagram for MainSave:


Public Member Functions | |
| MainSave (Window *aParent) | |
| ~MainSave (void) | |
Protected Member Functions | |
| virtual const bool | SetupWindow (const Message &msg) |
| virtual const bool | MainLoop (void) |
| true if the screen must be refreshed | |
| virtual const bool | evMouseLClick (const CtrlMessage &msg) |
Private Attributes | |
| Rsrc | res |
|
|
Definition at line 3 of file mainsave.cpp. References eSaveGame, and Cfg::GetCfg().
|
|
|
Definition at line 8 of file mainsave.cpp.
00009 {
00010 }
|
|
|
Definition at line 26 of file mainsave.cpp. References BqBase::isDisplayed.
00027 {
00028 BqBase::evMouseLClick( msg );
00029
00030 if( isDisplayed )
00031 if( ((Window *)msg.source)->GetId() == 1 )
00032 {
00033 isDisplayed= false;
00034 return !isDisplayed;
00035 }
00036 else if( ((Window *)msg.source)->GetId() == 2 )
00037 {
00038 // ArsPostMessage( UserMessage( Message::USER , 0 , SAVE_GALAXY , strdup( fname.c_str() ) ) );
00039 }
00040
00041 return isDisplayed;
00042 }
|
|
|
true if the screen must be refreshed
Reimplemented from BqBase. Definition at line 19 of file mainsave.cpp. References BqBase::MainLoop(), and BqBase::SetupDialog().
00020 {
00021 SetupDialog( "SaveGame" );
00022
00023 return BqBase::MainLoop();
00024 }
|
|
|
Reimplemented from BqBase. Definition at line 12 of file mainsave.cpp. References BqBase::SetupWindow().
00013 {
00014 BqBase::SetupWindow( aMsg );
00015
00016 return true;
00017 }
|
|
|
Definition at line 21 of file mainsave.h. |
1.3.3