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

📄 rc2wxr.h

📁 Wxpython Implemented on Windows CE, Source code
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -