wxsframe.h

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

H
48
字号
#ifndef WXSFRAME_H
#define WXSFRAME_H

#include "wxswindow.h"

WXS_ST_DECLARE(wxsFrameStyles)
WXS_EV_DECLARE(wxsFrameEvents)

class wxsFrame : public wxsWindow
{
	public:
		wxsFrame(wxsWidgetManager* Man,wxsWindowRes* Res);
		
		virtual ~wxsFrame();
		
        /** 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 wxsFrameRes;
};

#endif

⌨️ 快捷键说明

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