]> git.saurik.com Git - wxWidgets.git/blame - contrib/utils/convertrc/rc2wxr.h
Removed very out of date files in docs/msw
[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
694f70fa
WS
8#ifdef __GNUG__
9#pragma interface "rc2wxr.h"
10#endif
11
88d42654
VS
12#include "wx/file.h"
13#include "stdio.h"
14
f80ea77b 15class rc2wxr : public wxObject
88d42654
VS
16{
17public:
19311d4e
WS
18 rc2wxr();
19 ~rc2wxr();
20 void Convert(wxString wxrfile, wxString rcfile);
88d42654
VS
21
22private:
19311d4e
WS
23 wxFile m_rc;
24 FILE *m_wxr;
25 wxFileOffset m_filesize;
26 bool m_done;
27 int m_controlid;
28 void ParseDialog(wxString dlgname);
29 void ParseControls();
30 void ParseStaticText();
31 void ParseTextCtrl();
32 void ParsePushButton();
33 bool Seperator(int ch);
34 void ParseGroupBox();
35 void ReadRect(int & x, int & y, int & width, int & height);
36 wxString GetToken();
37 wxString GetQuoteField();
38 void ReadChar(int &ch);
39 void ParseComboBox();
40 void ParseMenu(wxString name);
41 void ParsePopupMenu();
42 wxString PeekToken();
43 void ParseControlMS();
44 void ParseSlider(wxString label, wxString varname);
45 void ParseProgressBar(wxString label, wxString varname);
46 bool ReadOrs(wxString & w);
47 void ParseCtrlButton(wxString label, wxString varname);
88d42654
VS
48};
49
88d42654 50
19f0995a 51#endif