dlgviewzoom.h

Go to the documentation of this file.
00001 /**
00002  * gre/dlgviewzoom.h - Dialog to zoom/pan view to specified location/scale
00003  *
00004  * $Id: dlgviewzoom.h_v 1.3 2004/07/12 16:00:04 mju Exp $
00005  *
00006  * $Log: dlgviewzoom.h_v $
00007  * Revision 1.3  2004/07/12 16:00:04  mju
00008  * Use coordop_zoned.
00009  *
00010  * Revision 1.2  2004/07/09 17:40:57  mju
00011  * Support spatref.
00012  *
00013  * Revision 1.1  2003/12/22 20:21:09  mju
00014  * Initial revision
00015  *
00016 **/
00017 
00018 #ifndef  INC_GRE_DLGVIEWZOOM_H
00019 #define  INC_GRE_DLGVIEWZOOM_H
00020 
00021 #ifndef INC_MGUI_DLGSHELL_H
00022 #include <mgui/dlgshell.h>
00023 #endif
00024 
00025 #ifndef INC_MGUI_FORMBTXT_H
00026 #include <mgui/formbtxt.h>
00027 #endif
00028 
00029 #ifndef INC_MGUI_COMBOBOX_H
00030 #include <mgui/combobox.h>
00031 #endif
00032 
00033 #ifndef INC_MI32_COORDOP_H
00034 #include <mi32/coordop.h>
00035 #endif
00036 
00037 class GRE_VIEW;
00038 class GRE_GROUP;
00039 
00040 namespace GRE {
00041 
00042 class DLG_VIEWZOOM : public MGUI::DLGSHELL {
00043    public:
00044       DLG_VIEWZOOM (
00045          GRE_VIEW *view
00046          );
00047       ~DLG_VIEWZOOM (
00048          );
00049    private:
00050       GRE_VIEW *m_view;
00051       SPATREF::COORDREFSYS m_CoordRefSys;
00052       SPATREF::COORDOP_ZONED m_CoordOpZoned;
00053       MGUI::FORM_COMBOBOX m_CbxGroup;
00054       MGUI::FORM_COMBOBOX_T<DLG_VIEWZOOM> m_CbxZoomTo;
00055       MGUI::FORM_EDIT_NUMBER_T<DLG_VIEWZOOM> m_EditZoom;
00056       MGUI::CTRL_COMBOBOX_T<DLG_VIEWZOOM> m_CbxZoomUnits;
00057       MGUI::CTRL_GROUPBOX m_GbxCenter;
00058       MGUI::FORM_BUTTONTEXT_T<DLG_VIEWZOOM> m_BtxCenterRefSys;
00059       MGUI::FORM_EDIT_STRING_T<DLG_VIEWZOOM> m_EditCenterMGRS;
00060       MGUI::FORM_EDIT_NUMBER_T<DLG_VIEWZOOM> m_EditCenterY;
00061       MGUI::FORM_EDIT_NUMBER_T<DLG_VIEWZOOM> m_EditCenterX;
00062 
00063       void CheckEnableApply ();
00064       bool GetCenter (DPOINT2D& center);
00065       void OnCmdRefSys ();
00066       void OnComboZoomTo ();
00067       void OnComboZoomUnits ();
00068       void UpdateControls ();
00069       void UpdateTitle ();
00070       void UpdateZoomControls ();
00071       virtual ERRVALUE v_CreateContent ();
00072       virtual void v_OnApply ();
00073    };
00074 
00075 }
00076 
00077 #endif

Generated on Tue Dec 14 13:18:12 2004 for TNTsdk by  doxygen 1.3.8-20040913