#include <continue.h>
Inheritance diagram for Continue:


Public Member Functions | |
| Continue (Window *aParent) | |
| ~Continue (void) | |
Protected Member Functions | |
| virtual void | SetupDialog (const std::string &aFormname) |
| 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 | |
| vector< Thread * > | initTasks |
|
|
Definition at line 30 of file continue.cpp. References ePlayGame.
00031 : BqBase( ePlayGame , aParent ) 00032 { 00033 } |
|
|
Definition at line 35 of file continue.cpp.
00036 {
00037 }
|
|
|
Definition at line 83 of file continue.cpp. References BqBase::isDisplayed.
00084 {
00085 if( isDisplayed )
00086 if( ((Window *)msg.source)->GetId() == 11 )
00087 {
00088 isDisplayed= false;
00089 GetParent()->UpdateWindow();
00090 return !isDisplayed;
00091 }
00092
00093 return isDisplayed;
00094 }
|
|
|
true if the screen must be refreshed
Reimplemented from BqBase. Definition at line 69 of file continue.cpp. References initTasks, BqBase::MainLoop(), and SetupDialog().
00070 {
00071 initTasks.clear();
00072 initTasks.push_back( new SetupGalaxyScreen );
00073 initTasks.push_back( new LoadGalaxyData );
00074
00075 for( vector<Thread*>::iterator it = initTasks.begin() ;it != initTasks.end() ; ++it )
00076 (*it)->Start( 0 );
00077
00078 SetupDialog( "PlayGame" );
00079
00080 return BqBase::MainLoop();
00081 }
|
|
|
Reimplemented from BqBase. Definition at line 52 of file continue.cpp. References ArsSendMessage, ePlayGame, BqBase::f, BqBase::InitDialog(), BqBase::isDisplayed, S_ALIGN_LEFT, and S_ALIGN_TOP. Referenced by MainLoop().
00053 {
00054 if( !f )
00055 f = Load( aFormname , ePlayGame );
00056
00057 ArsSendMessage( Message( Message::SETUP_WINDOW , this ) );
00058
00059 if( f )
00060 {
00061 f->InitDialog( this );
00062 InitDialog();
00063 f->Draw();
00064 isDisplayed = true;
00065 }
00066 SetTextAlign( S_ALIGN_TOP , S_ALIGN_LEFT );
00067 }
|
|
|
Reimplemented from BqBase. Definition at line 39 of file continue.cpp. References initTasks, and BqBase::SetupWindow().
00040 {
00041 BqBase::SetupWindow( aMsg );
00042
00043 for( vector<Thread*>::iterator it = initTasks.begin() ;it != initTasks.end() ; ++it )
00044 (*it)->Wait();
00045
00046 for( it = initTasks.begin() ;it != initTasks.end() ; ++it )
00047 delete *it;
00048 initTasks.clear();
00049 return true;
00050 }
|
|
|
Definition at line 21 of file continue.h. Referenced by MainLoop(), and SetupWindow(). |
1.3.3