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

📄 wxsstyleproperty.h

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

#include "../wxsproperties.h"
#include "../widget.h"

class wxsStylePropertyWindow;
class wxsStyleProperty : public wxsProperty
{
	public:
	
        /** Ctor */
		wxsStyleProperty(wxsProperties* Properties,int &Style,wxsStyle*Styles);
		
		/** DCtor */
		virtual ~wxsStyleProperty();
		
        /** Taking name of value type handled by this item */
        virtual const wxString& GetTypeName();
        
    protected:
    
        #ifdef __NO_PROPGRGID
            virtual wxWindow* BuildEditWindow(wxWindow* Parent);
            virtual void UpdateEditWindow();
        #else
            virtual void AddToPropGrid(wxPropertyGrid* Grid,const wxString& Name);
            virtual bool PropGridChanged(wxPropertyGrid* Grid,wxPGId Id);
            virtual void UpdatePropGrid(wxPropertyGrid* Grid);
        #endif
        
	private:
	
        int& Style;
        wxsStyle* Styles;
        
        #ifdef __NO_PROPGRGID
            wxsStylePropertyWindow* Window;
            friend class wxsStylePropertyWindow;
        #else
            wxPGId PGId;
        #endif
};

#endif // WXSSTYLEPROPERTY_H

⌨️ 快捷键说明

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