Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
StatePlaneDlg.h
1 //
2 // Name: StatePlaneDlg.h
3 //
4 // Copyright (c) 2002-2011 Virtual Terrain Project
5 // Free for all uses, see license.txt for details.
6 //
7 
8 #ifndef __StatePlaneDlg_H__
9 #define __StatePlaneDlg_H__
10 
11 #include "vtui_UI.h"
12 #include "AutoDialog.h"
13 #include "vtdata/Projections.h"
14 
15 // WDR: class declarations
16 
17 //----------------------------------------------------------------------------
18 // StatePlaneDlg
19 //----------------------------------------------------------------------------
20 
22 {
23 public:
24  // constructors and destructors
25  StatePlaneDlg( wxWindow *parent, wxWindowID id, const wxString &title,
26  const wxPoint& pos = wxDefaultPosition,
27  const wxSize& size = wxDefaultSize,
28  long style = wxDEFAULT_DIALOG_STYLE );
29 
30  // WDR: method declarations for StatePlaneDlg
31  wxListBox* GetStatePlanes() { return (wxListBox*) FindWindow( ID_STATEPLANES ); }
32  wxRadioButton* GetNad27() { return (wxRadioButton*) FindWindow( ID_NAD27 ); }
33  wxRadioButton* GetNad83() { return (wxRadioButton*) FindWindow( ID_NAD83 ); }
34  wxRadioButton* GetFeetUs() { return (wxRadioButton*) FindWindow( ID_RADIO_FEET_US ); }
35 
36 public:
37  // WDR: member variable declarations for StatePlaneDlg
38  int m_iStatePlane;
39  bool m_bNAD27;
40  bool m_bNAD83;
41  bool m_bMeters;
42  bool m_bFeet;
43  bool m_bFeetUS;
44  bool m_bSetting;
45 
46 private:
47  // WDR: handler declarations for StatePlaneDlg
48  void OnNad83( wxCommandEvent &event );
49  void OnNad27( wxCommandEvent &event );
50  void OnListBox( wxCommandEvent &event );
51  void OnInitDialog(wxInitDialogEvent& event);
52 
53 private:
54  DECLARE_EVENT_TABLE()
55 };
56 
57 #endif // __StatePlaneDlg_H__