]> git.saurik.com Git - wxWidgets.git/blob - contrib/include/wx/fl/cbcustom.h
1. changed doubleclick events sequence to 'down,up,double,up' (turned out to be MGL...
[wxWidgets.git] / contrib / include / wx / fl / cbcustom.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: cbcustom.h
3 // Purpose: cbSimpleCustomizationPlugin class declaration
4 // Author: Aleksandras Gluchovas
5 // Modified by:
6 // Created: 28/10/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Aleksandras Gluchovas
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef __CBCUSTOM_G__
13 #define __CBCUSTOM_G__
14
15 #ifdef __GNUG__
16 #pragma interface "cbcustom.h"
17 #endif
18
19 #include "wx/fl/controlbar.h"
20
21 /*
22 This class enables customization of a bar, popping up a
23 menu and handling basic customization such as floating
24 and horizontal/vertical alignment of the bar.
25 */
26
27 class cbSimpleCustomizationPlugin : public cbPluginBase
28 {
29 public:
30 DECLARE_DYNAMIC_CLASS( cbSimpleCustomizationPlugin )
31
32 int mCustMenuItemId;
33 public:
34
35 // Default constructor.
36 cbSimpleCustomizationPlugin(void);
37
38 // Constructor, taking parent pane and a pane mask flag.
39 cbSimpleCustomizationPlugin( wxFrameLayout* pPanel, int paneMask = wxALL_PANES );
40
41 // Plugin event handler for cbCustomizeBarEvent.
42 void OnCustomizeBar( cbCustomizeBarEvent& event );
43
44 // Plugin event handler for cbCustomizeLayoutEvent.
45 void OnCustomizeLayout( cbCustomizeLayoutEvent& event );
46
47 // Menu event handler.
48 void OnMenuItemSelected( wxCommandEvent& event );
49
50 DECLARE_EVENT_TABLE()
51 };
52
53 #endif /* __CBCUSTOM_G__ */
54