⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wxsstdmanager.h

📁 非常好用的可移植的多平台C/C++源代码编辑器
💻 H
字号:
#ifndef WXSSTDMANAGER_H
#define WXSSTDMANAGER_H

#include "../widget.h"


enum std_widgets
{
    wxsNoneId = 0,
    
    /* Sizers */
    wxsGridSizerId,
    wxsBoxSizerId,
    wxsStaticBoxSizerId,
    wxsFlexGridSizerId,
    
    /* Spacer */
    wxsSpacerId,
    
    /* Controls */
    wxsButtonId,
    wxsToggleButtonId,      /* Warning - not compatible with XRC 2.4 */
    wxsCheckBoxId,
    wxsStaticTextId,
    wxsComboBoxId,
    wxsListBoxId,
    wxsPanelId,
    wxsTextCtrlId,
    wxsGaugeId,
    wxsRadioButtonId,
    wxsScrollBarId,
    wxsSpinButtonId,
    wxsSpinCtrlId,
    wxsTreeCtrlId,
    wxsRadioBoxId,
    wxsDatePickerCtrlId,
    wxsStaticLineId,
    wxsSplitterWindowId,
    wxsNotebookId,
    wxsListbookId,
    
    
    /* Windows */
    wxsDialogId,
    wxsFrameId,
    wxsPanelrId,
    
    /* Count */
    wxsStdIdCount
};

class wxsStdManagerT : public wxsWidgetManager
{
	public:
		wxsStdManagerT();
		virtual ~wxsStdManagerT();
		
		/** Initializing manager */
		virtual bool Initialize();
		
		/** Getting number of handled widgets */
        virtual int GetCount(); 
        
        /** Getting widget's info */
        virtual const wxsWidgetInfo* GetWidgetInfo(int Number);
        
        /** Getting new widget */
        virtual wxsWidget* ProduceWidget(int Id,wxsWindowRes* Res);
        
        /** Killing widget */
        virtual void KillWidget(wxsWidget* Widget);
};

extern wxsStdManagerT wxsStdManager;

#endif // WXSSTDMANAGER_H

⌨️ 快捷键说明

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