X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2193517f1b909b834dc6e314acc3b873dc8196d9..0daf5e6be21cf6e491447adff8f3c1aad440c456:/contrib/utils/convertrc/rc2wxr.h diff --git a/contrib/utils/convertrc/rc2wxr.h b/contrib/utils/convertrc/rc2wxr.h index 1c3790fb7d..b4bd9e6fc5 100644 --- a/contrib/utils/convertrc/rc2wxr.h +++ b/contrib/utils/convertrc/rc2wxr.h @@ -8,41 +8,40 @@ #include "wx/file.h" #include "stdio.h" -class rc2wxr : public wxObject +class rc2wxr : public wxObject { public: -rc2wxr(); -~rc2wxr(); -void Convert(wxString wxrfile, wxString rcfile); + rc2wxr(); + ~rc2wxr(); + void Convert(wxString wxrfile, wxString rcfile); private: -wxFile m_rc; -FILE *m_wxr; -int m_filesize; -bool m_done; -int m_controlid; -void ParseDialog(wxString dlgname); -void ParseControls(); -void ParseStaticText(); -void ParseTextCtrl(); -void ParsePushButton(); -bool Seperator(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); - + 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 \ No newline at end of file +#endif