cbcustom.h

来自「很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.」· C头文件 代码 · 共 51 行

H
51
字号
/////////////////////////////////////////////////////////////////////////////// Name:        cbcustom.h// Purpose:     cbSimpleCustomizationPlugin class declaration// Author:      Aleksandras Gluchovas// Modified by:// Created:     28/10/98// RCS-ID:      $Id: cbcustom.h,v 1.7 2005/09/23 12:46:55 MR Exp $// Copyright:   (c) Aleksandras Gluchovas// Licence:     wxWindows licence/////////////////////////////////////////////////////////////////////////////#ifndef __CBCUSTOM_G__#define __CBCUSTOM_G__#include "wx/fl/controlbar.h"/*This class enables customization of a bar, popping up amenu and handling basic customization such as floatingand horizontal/vertical alignment of the bar.*/class WXDLLIMPEXP_FL cbSimpleCustomizationPlugin : public cbPluginBase{public:    DECLARE_DYNAMIC_CLASS( cbSimpleCustomizationPlugin )    int mCustMenuItemId;public:        // Default constructor.    cbSimpleCustomizationPlugin(void);        // Constructor, taking parent pane and a pane mask flag.    cbSimpleCustomizationPlugin( wxFrameLayout* pPanel, int paneMask = wxALL_PANES );        // Plugin event handler for cbCustomizeBarEvent.    void OnCustomizeBar( cbCustomizeBarEvent& event );        // Plugin event handler for cbCustomizeLayoutEvent.    void OnCustomizeLayout( cbCustomizeLayoutEvent& event );        // Menu event handler.    void OnMenuItemSelected( wxCommandEvent& event );    DECLARE_EVENT_TABLE()};#endif /* __CBCUSTOM_G__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?