#include <bqbase.h>
Inheritance diagram for BqBase:

Public Member Functions | |
| BqBase (const int aId, Window *aParent) | |
| virtual | ~BqBase (void) |
| virtual const bool | MainLoop (void) |
Protected Member Functions | |
| virtual void | SetupDialog (const std::string &aFormname) |
| virtual const bool | SetupWindow (const Message &msg) |
| virtual void | InitDialog (void) |
Protected Attributes | |
| Form * | f |
| bool | isDisplayed |
| set to true if the form is displayed | |
Private Attributes | |
| const int | id |
|
||||||||||||
|
Definition at line 3 of file bqbase.cpp.
00004 : id( aId ) , isDisplayed( false ) , f( 0 ) 00005 { 00006 SetParent( aParent ); 00007 } |
|
|
Definition at line 9 of file bqbase.cpp. References id.
00010 {
00011 Free( id );
00012 }
|
|
|
Reimplemented in Parameters. Definition at line 32 of file bqbase.h. Referenced by Parameters::InitDialog(), Continue::SetupDialog(), and SetupDialog().
00032 {};
|
|
|
Reimplemented in Continue, HallOfFame, MainCredits, MainLoad, MainSave, Parameters, Retire, PlanetInfoDlg, and StarInfoDlg. Definition at line 40 of file bqbase.cpp. References f, and isDisplayed. Referenced by StarInfoDlg::MainLoop(), Retire::MainLoop(), PlanetInfoDlg::MainLoop(), MainSave::MainLoop(), MainLoad::MainLoop(), MainCredits::MainLoop(), HallOfFame::MainLoop(), and Continue::MainLoop().
00041 {
00042 while( isDisplayed )
00043 f->DoDialog();
00044
00045 f->ShutdownDialog( this );
00046
00047 return true;
00048 }
|
|
|
Reimplemented in Continue. Definition at line 23 of file bqbase.cpp. References ArsSendMessage, f, id, InitDialog(), isDisplayed, S_ALIGN_LEFT, and S_ALIGN_TOP. Referenced by StarInfoDlg::MainLoop(), Retire::MainLoop(), PlanetInfoDlg::MainLoop(), Parameters::MainLoop(), MainSave::MainLoop(), MainLoad::MainLoop(), MainCredits::MainLoop(), and HallOfFame::MainLoop().
00024 {
00025 if( !f )
00026 f = Load( aFormname , id );
00027
00028 ArsSendMessage( Message( Message::SETUP_WINDOW , this ) );
00029
00030 if( f )
00031 {
00032 f->InitDialog( this );
00033 InitDialog();
00034 f->Draw();
00035 isDisplayed = true;
00036 }
00037 SetTextAlign( S_ALIGN_TOP , S_ALIGN_LEFT );
00038 }
|
|
|
Reimplemented in Continue, HallOfFame, MainLoad, MainSave, Parameters, Retire, PlanetInfoDlg, and StarInfoDlg. Definition at line 14 of file bqbase.cpp. Referenced by StarInfoDlg::SetupWindow(), Retire::SetupWindow(), PlanetInfoDlg::SetupWindow(), Parameters::SetupWindow(), MainSave::SetupWindow(), MainLoad::SetupWindow(), HallOfFame::SetupWindow(), and Continue::SetupWindow().
00015 {
00016 Window::SetupWindow( msg );
00017
00018 MessageServer::Instance().RegisterMessageClient( this , Message::CTRL_LCLICK );
00019
00020 return true;
00021 }
|
|
|
|
Reimplemented in StarInfoDlg. Definition at line 21 of file bqbase.h. Referenced by SetupDialog(), and ~BqBase(). |
|
|
set to true if the form is displayed
Definition at line 26 of file bqbase.h. Referenced by StarInfoDlg::evMouseLClick(), Retire::evMouseLClick(), PlanetInfoDlg::evMouseLClick(), Parameters::evMouseLClick(), MainSave::evMouseLClick(), MainLoad::evMouseLClick(), MainCredits::evMouseLClick(), HallOfFame::evMouseLClick(), Continue::evMouseLClick(), Parameters::MainLoop(), MainLoop(), Continue::SetupDialog(), and SetupDialog(). |
1.3.3