wxArt2D
groupdlg.h
Go to the documentation of this file.
1 /*! \file wx/canvas/groupdlg.h
2  \brief Definition of class for dialog to set groups for boolean operations.
3  \author Klaas Holwerda
4  \date Created 05/07/03
5 
6  Copyright: (c)
7 
8  Licence: wxWidgets licence
9 
10  RCS-ID: $Id: groupdlg.h,v 1.3 2008/10/30 23:18:09 titato Exp $
11 */
12 
13 #ifndef _WX_a2dGroupDlgH__
14 #define _WX_a2dGroupDlgH__
15 
16 #include "wx/canvas/canmod.h"
17 
18 //!
19 /*!
20  This class is used to show an execution dialog, in which commands from history can be given to the commandline
21  to be executed by pressing the EXECUTE-button.
22 */
23 class A2DCANVASDLLEXP a2dGroupDlg: public wxDialog
24 {
25 public:
26 
27  // Constructor.
28  a2dGroupDlg( a2dHabitat* habitat, wxFrame* parent, const wxString& title = wxT( "group settings" ),
29  long style = ( wxDEFAULT_DIALOG_STYLE ), const wxString& name = _T( "frame" ) );
30 
31  // Destructor.
32  ~a2dGroupDlg();
33 
34  void Init();
35 
36  // Close window if EXIT-button is pressed.
37  void OnCloseWindow( wxCloseEvent& event );
38 
39 protected:
40 
41  // add item to group a.
42  void CmAdd_A( wxCommandEvent& );
43 
44  // add item to group b.
45  void CmAdd_B( wxCommandEvent& );
46 
47  // add item to destination.
48  void CmAdd_D( wxCommandEvent& );
49 
50  // remove item from a.
51  void CmRemove_A( wxCommandEvent& );
52 
53  // remove item from b.
54  void CmRemove_B( wxCommandEvent& );
55 
56  // remove item from destination.
57  void CmRemove_D( wxCommandEvent& );
58 
59  // remove all items from a.
60  void CmClear_A( wxCommandEvent& );
61 
62  // remove all items from b.
63  void CmClear_B( wxCommandEvent& );
64 
65  // Close window if OK-button is pressed.
66  void CmOk( wxCommandEvent& );
67 
68  // Close window if CANCEL-button is pressed.
69  void CmCancel( wxCommandEvent& );
70 
71  // wxWindows class, the main listbox control.
72  wxListCtrl* m_listbox_main;
73 
74  // wxWindows class.
75  wxCheckBox* m_onlyselect_A;
76 
77  // wxWindows class.
78  wxCheckBox* m_onlyselect_B;
79 
80  // wxWindows class, the a listbox control.
81  wxListCtrl* m_listbox_a;
82 
83  // wxWindows class, the b listbox control.
84  wxListCtrl* m_listbox_b;
85 
86  wxTextCtrl* m_destination;
87 
88  int m_target;
89 
90  // wxWindows class.
91  wxCheckBox* m_clearTarget;
92 
93  a2dSmrtPtr<a2dLayers> m_layersetup;
94 
95  a2dHabitat* m_habitat;
96 
97  // Declare used events.
98  DECLARE_EVENT_TABLE()
99 
100 };
101 
102 #endif
defines common settinsg for a habitat for a set of a2dCameleons.
Definition: canglob.h:439
all headers of the canvas module
groupdlg.h Source File -- Sun Oct 12 2014 17:04:21 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation