X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2193517f1b909b834dc6e314acc3b873dc8196d9..df135587addaaa316f7ab4606815086ef133e846:/contrib/utils/convertrc/rc2xml.h diff --git a/contrib/utils/convertrc/rc2xml.h b/contrib/utils/convertrc/rc2xml.h index 6b2fbf8555..0b53937bff 100644 --- a/contrib/utils/convertrc/rc2xml.h +++ b/contrib/utils/convertrc/rc2xml.h @@ -13,6 +13,8 @@ class rc2xml : public wxObject { public: + wxString m_workingpath; + wxString m_targetpath; void WriteIcon(wxString iconname); void ParseNormalMSControl(); bool Convert(wxString rcfile, wxString xmlfile); @@ -50,17 +52,20 @@ protected: void ParseRichEdit(wxString label, wxString varname); void ParseDialog(wxString dlgname); void ParseControls(); - void ParseListBox(); - void ParseStaticText(); - void ParseTextCtrl(); - void ParsePushButton(); + void ParseListBox(wxString varname); + void ParseStaticText(wxString phrase,wxString varname); + void ParseTextCtrl(wxString varname); + void ParseRadioButton(wxString phrase,wxString varname); + void ParseCheckBox(wxString phrase,wxString varname); + void ParsePushButton(wxString phrase, wxString varname); bool Seperator(int ch); - void ParseGroupBox(); - void ReadRect(int & x, int & y, int & width, int & height); - wxString GetToken(); + void ParseGroupBox(wxString phrase, wxString varname); + bool ReadRect(int & x, int & y, int & width, int & height); + wxString GetToken(bool *listseperator = 0); wxString GetQuoteField(); + wxString GetStringQuote(); void ReadChar(int &ch); - void ParseComboBox(); + void ParseComboBox(wxString varname); void ParseMenu(wxString varname); void ParsePopupMenu(); wxString PeekToken(); @@ -88,4 +93,4 @@ protected: }; -#endif \ No newline at end of file +#endif