00001 /* 00002 _/_/_/ _/_/_/ _/_/_/_/ _/_/_/ _/ _/ _/_/_/_/ _/_/_/_/ _/_/_/ _/_/_/_/ 00003 _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ 00004 _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ 00005 _/_/_/ _/ _/ _/_/_/_/ _/ _/ _/ _/ _/_/_/ _/_/_/_/ _/ _/ _/_/_/_/ 00006 _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ 00007 _/ _/ _/ _/ _/ _/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ 00008 _/ _/ _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ 00009 _/_/_/_/ _/_/_/ _/ _/ _/ _/_/_/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ 00010 00011 \author Hannosset Christophe 00012 \date 28 - Nov - 2003 00013 */ 00014 #if !defined( __PLANETINFODLG_H__ ) 00015 #define __PLANETINFODLG_H__ 00016 00017 class PlanetImageObject : public XImage { 00018 int atPlanet; 00019 public: 00020 00021 void SetPlanetIndex( const int aAt ) { atPlanet = aAt; } 00022 protected: 00023 00024 virtual void Draw( void ); 00025 }; 00026 00027 class PlanetInfoDlg : public BqBase { 00028 private: 00029 00030 StarSystem *&ss; 00031 bool ans; 00032 00033 public: 00034 00035 PlanetInfoDlg( StarSystem *&aSs , Window *aParent ); 00036 00037 ~PlanetInfoDlg( void ); 00038 00040 virtual const bool MainLoop( void ); 00041 00042 void SetupInfo( Planet *aPl ); 00043 00044 protected: 00045 00046 virtual const bool SetupWindow( const Message &msg ); 00047 00048 virtual const bool evMouseLClick( const CtrlMessage &msg ); 00049 }; 00050 00051 00052 #endif
1.3.3