Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals

mainload.cpp

Go to the documentation of this file.
00001 #include "borqueror.h"
00002 
00003 MainLoad::MainLoad( Window *aParent )
00004 : BqBase( eLoadGame , aParent ) , res( Cfg::GetCfg().GetFilename() )
00005 {
00006 }
00007 
00008 MainLoad::~MainLoad( void )
00009 {
00010 }
00011 
00012 const bool MainLoad::SetupWindow( const Message &aMsg )
00013 {
00014         BqBase::SetupWindow( aMsg );
00015 
00016         return true;
00017 }
00018 
00019 const bool MainLoad::MainLoop( void )
00020 {
00021         SetupDialog( "LoadGame" );
00022 
00023         return BqBase::MainLoop();
00024 }
00025 
00026 const bool MainLoad::evMouseLClick( const CtrlMessage &msg )
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 
00037         return isDisplayed;
00038 }
00039 

Generated on Fri Dec 5 04:05:59 2003 for Borqueror by doxygen 1.3.3