Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
VegDlg.h
1 //
2 // VegDlg.h
3 //
4 // Copyright (c) 2001-2011 Virtual Terrain Project
5 // Free for all uses, see license.txt for details.
6 //
7 
8 #ifndef VEGDLGH
9 #define VEGDLGH
10 
11 #include "VTBuilder_UI.h"
12 #include "wx/splitter.h"
13 #include "wx/treectrl.h"
14 
15 // WDR: class declarations
16 
17 //----------------------------------------------------------------------------
18 // SpeciesListDlg
19 //----------------------------------------------------------------------------
20 
22 {
23 public:
24  // constructors and destructors
25  SpeciesListDlg( 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 protected:
31  // WDR: method declarations for SpeciesListDlg
32  void RefreshAppeances();
33  void AddAppeance(int idx);
34 
35 private:
36  // WDR: member variable declarations for SpeciesListDlg
37  wxSplitterWindow *m_PSplitter;
38  wxListCtrl *m_PSTable;
39  wxListCtrl *m_PATable;
40 
41  int m_idx;
42 
43 private:
44  // WDR: handler declarations for SpeciesListDlg
45  void OnSelect( wxListEvent &event );
46  void OnOK( wxCommandEvent &event );
47  void OnInitDialog(wxInitDialogEvent& event);
48 
49 private:
50  DECLARE_EVENT_TABLE()
51 };
52 
53 
54 class BioRegionDlg : public wxDialog
55 {
56 public:
57  BioRegionDlg(wxWindow *parent, wxWindowID id, const wxString& title,
58  const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
59  long style = wxDEFAULT_DIALOG_STYLE)
60  : wxDialog(parent, id, title, pos, size, style)
61  {
62  RefreshContents();
63  }
64 
65  void RefreshContents();
66 
67  wxTreeCtrl *m_BTree;
68 };
69 
70 #endif