gre/dlgviewzoom.h

Go to the documentation of this file.
00001 /**
00002  * \file dlgviewzoom.h <gre/dlgviewzoom.h>
00003  * \brief Dialog to zoom/pan view to specified location/scale
00004  *
00005  * \if NODOC
00006  * $Id: dlgviewzoom.h_v 1.7 2005/10/17 20:32:37 mju Exp $
00007  *
00008  * $Log: dlgviewzoom.h_v $
00009  * Revision 1.7  2005/10/17 20:32:37  mju
00010  * Exclude log comments from docs.
00011  *
00012  * Revision 1.6  2005/10/14 17:30:00  mju
00013  * GRE namespace.
00014  *
00015  * Revision 1.5  2005/06/24 14:58:18  mju
00016  * Don't use mgui templates.
00017  *
00018  * Revision 1.4  2005/06/23 21:56:01  mju
00019  * Exclude private section from doxygen.
00020  *
00021  * Revision 1.3  2004/07/12 16:00:04  mju
00022  * Use coordop_zoned.
00023  *
00024  * Revision 1.2  2004/07/09 17:40:57  mju
00025  * Support spatref.
00026  *
00027  * Revision 1.1  2003/12/22 20:21:09  mju
00028  * Initial revision
00029  * \endif
00030 **/
00031 
00032 #ifndef  INC_GRE_DLGVIEWZOOM_H
00033 #define  INC_GRE_DLGVIEWZOOM_H
00034 
00035 #ifndef INC_MGUI_DLGSHELL_H
00036 #include <mgui/dlgshell.h>
00037 #endif
00038 
00039 #ifndef INC_MGUI_FORMBTXT_H
00040 #include <mgui/formbtxt.h>
00041 #endif
00042 
00043 #ifndef INC_MGUI_COMBOBOX_H
00044 #include <mgui/combobox.h>
00045 #endif
00046 
00047 #ifndef INC_MGUI_EDIT_H
00048 #include <mgui/edit.h>
00049 #endif
00050 
00051 #ifndef INC_MI32_COORDOP_H
00052 #include <mi32/coordop.h>
00053 #endif
00054 
00055 
00056 namespace GRE {
00057 class VIEW;
00058 
00059 class DLG_VIEWZOOM : public MGUI::DLGSHELL {
00060    public:
00061       DLG_VIEWZOOM (
00062          GRE::VIEW *view
00063          );
00064       ~DLG_VIEWZOOM (
00065          );
00066    private:
00067       #ifndef GENERATING_DOXYGEN_OUTPUT
00068       GRE::VIEW *m_view;
00069       SPATREF::COORDREFSYS m_CoordRefSys;
00070       SPATREF::COORDOP_ZONED m_CoordOpZoned;
00071       MGUI::FORM_COMBOBOX m_CbxGroup;
00072       MGUI::FORM_COMBOBOX m_CbxZoomTo;
00073       MGUI::FORM_EDIT_NUMBER m_EditZoom;
00074       MGUI::CTRL_COMBOBOX m_CbxZoomUnits;
00075       MGUI::CTRL_GROUPBOX m_GbxCenter;
00076       MGUI::FORM_BUTTONTEXT m_BtxCenterRefSys;
00077       MGUI::FORM_EDIT_STRING m_EditCenterMGRS;
00078       MGUI::FORM_EDIT_NUMBER m_EditCenterY;
00079       MGUI::FORM_EDIT_NUMBER m_EditCenterX;
00080 
00081       void CheckEnableApply ();
00082       bool GetCenter (DPOINT2D& center);
00083       void OnCmdRefSys ();
00084       void OnComboZoomTo ();
00085       void OnComboZoomUnits ();
00086       void UpdateControls ();
00087       void UpdateTitle ();
00088       void UpdateZoomControls ();
00089       virtual ERRVALUE v_CreateContent ();
00090       virtual void v_OnApply ();
00091       #endif // GENERATING_DOXYGEN_OUTPUT
00092    };
00093 
00094 }
00095 
00096 #endif

Generated on Thu Apr 26 04:03:31 2007 for TNTsdk by  doxygen 1.5.2