]> git.saurik.com Git - wxWidgets.git/blame - contrib/utils/convertrc/rc2wxr.h
Bumped version and soname for 2.3.3
[wxWidgets.git] / contrib / utils / convertrc / rc2wxr.h
CommitLineData
88d42654
VS
1// wxHandleWXR.h: interface for the wxHandleWXR class.
2//
3//////////////////////////////////////////////////////////////////////
4
5#if !defined(RC2WXR_H)
6#define RC2WXR_H
7
8#include "wx/file.h"
9#include "stdio.h"
10
2193517f 11class rc2wxr : public wxObject
88d42654
VS
12{
13public:
2193517f
VS
14rc2wxr();
15~rc2wxr();
16void Convert(wxString wxrfile, wxString rcfile);
88d42654
VS
17
18private:
19wxFile m_rc;
20FILE *m_wxr;
21int m_filesize;
22bool m_done;
23int m_controlid;
24void ParseDialog(wxString dlgname);
25void ParseControls();
26void ParseStaticText();
27void ParseTextCtrl();
28void ParsePushButton();
29bool Seperator(int ch);
30void ParseGroupBox();
31void ReadRect(int & x, int & y, int & width, int & height);
32wxString GetToken();
33wxString GetQuoteField();
34void ReadChar(int &ch);
35void ParseComboBox();
36void ParseMenu(wxString name);
37void ParsePopupMenu();
38wxString PeekToken();
39void ParseControlMS();
40void ParseSlider(wxString label, wxString varname);
41void ParseProgressBar(wxString label, wxString varname);
42bool ReadOrs(wxString & w);
43void ParseCtrlButton(wxString label, wxString varname);
44
45};
46
88d42654
VS
47
48#endif