]> git.saurik.com Git - wxWidgets.git/blob - utils/configtool/src/configbrowser.h
Doc fix
[wxWidgets.git] / utils / configtool / src / configbrowser.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: configbrowser.h
3 // Purpose: Configuration browser
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 2003-08-14
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence:
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _CONFIGBROWSER_H_
13 #define _CONFIGBROWSER_H_
14
15 /*!
16 * Includes
17 */
18
19 ////@begin includes
20 ////@end includes
21
22 /*!
23 * Forward declarations
24 */
25
26 ////@begin forward declarations
27 class ctConfigurationBrowserControlPanel;
28 ////@end forward declarations
29
30 /*!
31 * Control identifiers
32 */
33
34 ////@begin control identifiers
35 #define ID_DIALOG 2000
36 #define ID_CONFIGBROWSER_SPLITTERWINDOW 2001
37 #define ID_CONFIGURATION_BROWSER_TREECTRL 2002
38 #define ID_PANEL 2003
39 #define ID_ADD_CONFIGURATION 2004
40 #define ID_REMOVE_CONFIGURATION 2005
41 #define ID_RENAME_CONFIGURATION 2006
42 #define ID_CONFIGURATION_NAME 2007
43 #define ID_CONFIGURATION_DESCRIPTION 2008
44 ////@end control identifiers
45
46 /*!
47 * ctConfigurationBrowserWindow class declaration
48 */
49
50 class ctConfigurationBrowserWindow: public wxPanel
51 {
52 DECLARE_CLASS( ctConfigurationBrowserWindow )
53 DECLARE_EVENT_TABLE()
54
55 public:
56 /// Constructor
57 ctConfigurationBrowserWindow( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxNO_FULL_REPAINT_ON_RESIZE|wxCLIP_CHILDREN );
58
59 /// Creates the controls and sizers
60 void CreateControls();
61
62 ////@begin ctConfigurationBrowserWindow event handler declarations
63
64 /// Event handler for ID_CONFIGURATION_BROWSER_TREECTRL
65 void OnConfigurationBrowserTreectrl( wxTreeEvent& event );
66
67 ////@end ctConfigurationBrowserWindow event handler declarations
68
69 ////@begin ctConfigurationBrowserWindow member function declarations
70
71 ////@end ctConfigurationBrowserWindow member function declarations
72
73 /// Should we show tooltips?
74 static bool ShowToolTips();
75
76 ////@begin ctConfigurationBrowserWindow member variables
77 ////@end ctConfigurationBrowserWindow member variables
78 };
79
80 /*!
81 * ctConfigurationBrowserControlPanel class declaration
82 */
83
84 class ctConfigurationBrowserControlPanel: public wxPanel
85 {
86 DECLARE_CLASS( ctConfigurationBrowserControlPanel )
87 DECLARE_EVENT_TABLE()
88
89 public:
90 /// Constructor
91 ctConfigurationBrowserControlPanel( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxNO_BORDER|wxTAB_TRAVERSAL );
92
93 /// Creates the controls and sizers
94 void CreateControls();
95
96 ////@begin ctConfigurationBrowserControlPanel event handler declarations
97
98 /// Event handler for ID_ADD_CONFIGURATION
99 void OnAddConfiguration( wxCommandEvent& event );
100
101 /// Update event handler for ID_ADD_CONFIGURATION
102 void OnUpdateAddConfiguration( wxUpdateUIEvent& event );
103
104 /// Event handler for ID_REMOVE_CONFIGURATION
105 void OnRemoveConfiguration( wxCommandEvent& event );
106
107 /// Update event handler for ID_REMOVE_CONFIGURATION
108 void OnUpdateRemoveConfiguration( wxUpdateUIEvent& event );
109
110 /// Event handler for ID_RENAME_CONFIGURATION
111 void OnRenameConfiguration( wxCommandEvent& event );
112
113 /// Update event handler for ID_RENAME_CONFIGURATION
114 void OnUpdateRenameConfiguration( wxUpdateUIEvent& event );
115
116 ////@end ctConfigurationBrowserControlPanel event handler declarations
117
118 ////@begin ctConfigurationBrowserControlPanel member function declarations
119
120 ////@end ctConfigurationBrowserControlPanel member function declarations
121
122 /// Should we show tooltips?
123 static bool ShowToolTips();
124
125 ////@begin ctConfigurationBrowserControlPanel member variables
126 ////@end ctConfigurationBrowserControlPanel member variables
127 };
128
129 #endif
130 // _CONFIGBROWSER_H_