wxspanel.h

来自「非常好用的可移植的多平台C/C++源代码编辑器」· C头文件 代码 · 共 46 行

H
46
字号
#ifndef WXSPANEL_H
#define WXSPANEL_H

#include "wxswindow.h"

WXS_ST_DECLARE(wxsPanelStyles)
WXS_EV_DECLARE(wxsPanelEvents)

/** Standard panel - it may be used as a widget */
class wxsPanel : public wxsWindow
{
	public:
		wxsPanel(wxsWidgetManager* Man,wxsWindowRes* Res);
		
		virtual ~wxsPanel();
		
        /** Gettign widget's info */
        virtual const wxsWidgetInfo& GetInfo();
        
        /** Function generating code which should produce widget */
        virtual wxString GetProducingCode(wxsCodeParams& Params);
        
        /** Function generating code which generates variable containing this widget. */
        virtual wxString GetDeclarationCode(wxsCodeParams& Params);
};

WXS_ST_DECLARE(wxsPanelrStyles)
WXS_EV_DECLARE(wxsPanelrEvents)

/** Resource panel - may be used as a resource */
class wxsPanelr : public wxsWindow
{
	public:
		wxsPanelr(wxsWidgetManager* Man,wxsWindowRes* Res);
		
		virtual ~wxsPanelr();
		
        virtual const wxsWidgetInfo& GetInfo();
        
        /** Function generating code which should produce widget */
        virtual wxString GetProducingCode(wxsCodeParams& Params);

};

#endif // WXSPANEL_H

⌨️ 快捷键说明

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