Back to Evolution Project page
00001 #ifndef SCREENLEVELEDITOR_EVO 00002 #define SCREENLEVELEDITOR_EVO 00003 #include "Screen.h" 00004 00005 /* 00006 #include "Window.h" 00007 #include "WindowLE_Level.h" 00008 #include "WindowLE_Messages.h" 00009 #include "WindowLE_ObjList.h" 00010 #include "WindowLE_ObjProperties.h" 00011 #include "WindowLE_sbup1.h" 00012 #include "WindowLE_sbup2.h" 00013 #include "WindowLE_sbdw1.h" 00014 #include "WindowLE_sbdw2.h" 00015 */ 00016 00017 #include "configs.h" 00018 00019 class TScreenLevelEditor : public TScreen { 00020 public: 00021 TScreenLevelEditor (CL_ResourceManager* resources_new, TLevel * gamelevel) : TScreen(resources_new, gamelevel) { 00022 /* 00023 window_array[0]= wnd_level = new TWindowLE_Level (this, 4*UNIT_SIZE, 0, 00024 26*UNIT_SIZE, 26*UNIT_SIZE); 00025 window_array[1]= wnd_messages = new TWindowLE_Messages (this, 4*UNIT_SIZE, 0, 00026 26*UNIT_SIZE, 26*UNIT_SIZE); 00027 window_array[2]= wnd_objlist = new TWindowLE_ObjList (this, 4*UNIT_SIZE, 0, 00028 26*UNIT_SIZE, 26*UNIT_SIZE); 00029 window_array[3]= wnd_objproperties = new TWindowLE_ObjProperties(this, 4*UNIT_SIZE, 0, 00030 26*UNIT_SIZE, 26*UNIT_SIZE); 00031 window_array[4]= wnd_sbup1 = new TWindowLE_sbup1 (this, 4*UNIT_SIZE, 0, 00032 26*UNIT_SIZE, 26*UNIT_SIZE); 00033 window_array[5]= wnd_sbup2 = new TWindowLE_sbup2 (this, 4*UNIT_SIZE, 0, 00034 26*UNIT_SIZE, 26*UNIT_SIZE); 00035 window_array[6]= wnd_sbdw1 = new TWindowLE_sbdw1 (this, 4*UNIT_SIZE, 0, 00036 26*UNIT_SIZE, 26*UNIT_SIZE); 00037 window_array[7]= wnd_sbdw2 = new TWindowLE_sbdw2 (this, 4*UNIT_SIZE, 0, 00038 26*UNIT_SIZE, 26*UNIT_SIZE); 00039 */ 00040 } 00041 virtual ~TScreenLevelEditor() { 00042 /* 00043 delete wnd_level; 00044 delete wnd_messages; 00045 delete wnd_objlist; 00046 delete wnd_objproperties; 00047 delete wnd_sbup1; 00048 delete wnd_sbup2; 00049 delete wnd_sbdw1; 00050 delete wnd_sbdw2; 00051 */ 00052 } 00053 virtual int Show(); 00054 /* 00055 virtual void OnMouseLeftClick(const CL_ClipRect& rectmouse); 00056 virtual void OnMouseRightClick(const CL_ClipRect& rectmouse); 00057 */ 00058 private: 00059 00060 protected: 00061 /* 00062 TWindow* window_array[8]; 00063 TWindowLE_Level* wnd_level; 00064 TWindowLE_Messages* wnd_messages; 00065 TWindowLE_ObjList* wnd_objlist; 00066 TWindowLE_ObjProperties* wnd_objproperties; 00067 TWindowLE_sbup1* wnd_sbup1; 00068 TWindowLE_sbup2* wnd_sbup2; 00069 TWindowLE_sbdw1* wnd_sbdw1; 00070 TWindowLE_sbdw2* wnd_sbdw2; 00071 // 00072 void draw_windows(); 00073 */ 00074 }; 00075 00076 00077 #endif //SCREENLEVELEDITOR_EVO