rc2wxr.h

来自「很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.」· C头文件 代码 · 共 48 行

H
48
字号
// wxHandleWXR.h: interface for the wxHandleWXR class.////////////////////////////////////////////////////////////////////////#if !defined(RC2WXR_H)#define RC2WXR_H#include "wx/file.h"#include "stdio.h"class rc2wxr : public wxObject{public:    rc2wxr();    ~rc2wxr();    void Convert(wxString wxrfile, wxString rcfile);private:    wxFile m_rc;    FILE *m_wxr;    wxFileOffset m_filesize;    bool m_done;    int m_controlid;    void ParseDialog(wxString dlgname);    void ParseControls();    void ParseStaticText();    void ParseTextCtrl();    void ParsePushButton();    bool Separator(int ch);    void ParseGroupBox();    void ReadRect(int & x, int & y, int & width, int & height);    wxString GetToken();    wxString GetQuoteField();    void ReadChar(int &ch);    void ParseComboBox();    void ParseMenu(wxString name);    void ParsePopupMenu();    wxString PeekToken();    void ParseControlMS();    void ParseSlider(wxString label, wxString varname);    void ParseProgressBar(wxString label, wxString varname);    bool ReadOrs(wxString & w);    void ParseCtrlButton(wxString label, wxString varname);};#endif

⌨️ 快捷键说明

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