00001 00016 #ifndef INC_MGUI_FORM_EDIT_TSD_H 00017 #define INC_MGUI_FORM_EDIT_TSD_H 00018 00019 #ifndef INC_MGUI_EDIT_H 00020 #include <mgui/edit.h> 00021 #endif 00022 00023 #ifndef INC_MGUI_FORM_EDIT_EXTENTS_H 00024 #include <mgui/formextents.h> 00025 #endif 00026 00027 #ifndef INC_MGUI_COMBOBOX_H 00028 #include <mgui/combobox.h> 00029 #endif 00030 00031 #ifndef INC_MGUI_GRID_H 00032 #include <mgui/grid.h> 00033 #endif 00034 00035 #ifndef INC_MI32_FILEPATH_H 00036 #include <mi32/filepath.h> 00037 #endif 00038 00039 namespace MGUI { 00040 00042 class FORM_EDIT_TSD : public MGUI::FORM_COMPOSITE { 00043 public: 00044 FORM_EDIT_TSD (); 00045 ~FORM_EDIT_TSD () {} 00046 00048 ERRVALUE Create ( 00049 MGUI::LAYOUT_PANE_BASE& ParentPane, 00050 const FILEPATH* TSDPath = 0 00051 ); 00052 00054 ERRVALUE Save( 00055 const FILEPATH& TSDPath 00056 ); 00057 00058 private: 00059 #ifndef GENERATING_DOXYGEN_OUTPUT 00060 CTRL_EDIT_STRING m_TitleEdit; 00061 CTRL_EDIT_TEXT m_MetadataEdit; 00062 FORM_COMBOBOX m_StructureCbx; 00063 FORM_EDIT_EXTENTS m_EditExtentsForm; 00064 FORM_EDIT_EXTENTS m_LatLonExtentsForm; 00065 FORM_EDIT_NUMBER m_TileSizeForm; 00066 FORM_COMBOBOX m_TileFormat1Cbx; 00067 FORM_COMBOBOX m_TileFormat2Cbx; 00068 FORM_COMBOBOX m_MinLevelCbx; 00069 FORM_COMBOBOX m_MaxLevelCbx; 00070 CTRL_GRID m_LocationList; 00071 00072 void OnEditExtents(); 00073 void OnEditLatLonExtents(); 00074 bool OnBeginEdit(int itemnum, int column); 00075 #endif 00076 }; 00077 00078 } // End namespace MGUI 00079 00080 #endif // INC_MGUI_FORM_EDIT_TSD_H
1.6.1