wxscodegen.h

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

H
30
字号
#ifndef WXSCODEGEN_H
#define WXSCODEGEN_H

#include "widget.h"


class wxsCodeGen
{
    public:
    
        wxsCodeGen(wxsWidget* Widget,int InitialSpaces=0,int TabSize=4,bool DontCreateRoot = true);
        virtual ~wxsCodeGen();
    
        inline const wxString& GetCode()
        {
            return Code;
        }
    
    protected:
    
        /** This function should make the code more beauty ;) */
        virtual void BeautyCode(wxString& Code,int InitialSpaces,int TabSize);
    
    private:
        wxString Code;
    
        void AppendCodeReq(wxsWidget* Widget,wxsCodeParams& Params);
};
#endif // WXSCODEGEN_H

⌨️ 快捷键说明

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