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

📄 wxsdialog.h

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

#include "wxswindow.h"

WXS_ST_DECLARE(wxsDialogStyles)
WXS_EV_DECLARE(wxsDialogEvents)

class wxsDialog : public wxsWindow
{
	public:
		wxsDialog(wxsWidgetManager* Man,wxsWindowRes* Res);
		
		virtual ~wxsDialog();
		
        /** Gettign widget's info */
        virtual const wxsWidgetInfo& GetInfo();
        
        /** Getting title */
        inline const wxString& GetTitle() { return Title; }
        
        /** Checking if it's centered */
        inline bool GetCentered() { return Centered; }

        /** Function generating code which should produce widget */
        virtual wxString GetProducingCode(wxsCodeParams& Params);

        /** Function generating code which finishes production process of this
         *  widget
         */
        virtual wxString GetFinalizingCode(wxsCodeParams& Params);

    protected:
    
        void CreateObjectProperties();
        virtual bool MyXmlLoad();
        virtual bool MyXmlSave();
    
    private:
  
        wxString Title;
        bool Centered;
        
        friend class wxsDialogRes;
};

#endif

⌨️ 快捷键说明

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