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

MainLoad Class Reference

#include <mainload.h>

Inheritance diagram for MainLoad:

Inheritance graph
[legend]
Collaboration diagram for MainLoad:

Collaboration graph
[legend]

Public Member Functions

 MainLoad (Window *aParent)
 ~MainLoad (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

Constructor & Destructor Documentation

MainLoad::MainLoad Window *  aParent  ) 
 

Definition at line 3 of file mainload.cpp.

References eLoadGame, and Cfg::GetCfg().

00004 : BqBase( eLoadGame , aParent ) , res( Cfg::GetCfg().GetFilename() )
00005 {
00006 }

MainLoad::~MainLoad void   ) 
 

Definition at line 8 of file mainload.cpp.

00009 {
00010 }


Member Function Documentation

const bool MainLoad::evMouseLClick const CtrlMessage &  msg  )  [protected, virtual]
 

Definition at line 26 of file mainload.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 
00037         return isDisplayed;
00038 }

const bool MainLoad::MainLoop void   )  [protected, virtual]
 

true if the screen must be refreshed

Reimplemented from BqBase.

Definition at line 19 of file mainload.cpp.

References BqBase::MainLoop(), and BqBase::SetupDialog().

00020 {
00021         SetupDialog( "LoadGame" );
00022 
00023         return BqBase::MainLoop();
00024 }

const bool MainLoad::SetupWindow const Message &  msg  )  [protected, virtual]
 

Reimplemented from BqBase.

Definition at line 12 of file mainload.cpp.

References BqBase::SetupWindow().

00013 {
00014         BqBase::SetupWindow( aMsg );
00015 
00016         return true;
00017 }


Field Documentation

Rsrc MainLoad::res [private]
 

Definition at line 21 of file mainload.h.


The documentation for this class was generated from the following files:
Generated on Fri Dec 5 04:06:26 2003 for Borqueror by doxygen 1.3.3