]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/include/wx/fl/cbcustom.h
Update to Scintilla 1.48
[wxWidgets.git] / contrib / include / wx / fl / cbcustom.h
... / ...
CommitLineData
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#if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "cbcustom.h"
17#endif
18
19#include "wx/fl/controlbar.h"
20
21/*
22This class enables customization of a bar, popping up a
23menu and handling basic customization such as floating
24and horizontal/vertical alignment of the bar.
25*/
26
27class cbSimpleCustomizationPlugin : public cbPluginBase
28{
29public:
30 DECLARE_DYNAMIC_CLASS( cbSimpleCustomizationPlugin )
31
32 int mCustMenuItemId;
33public:
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