X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/159933045eb704d37c152a1af1041ee59da004cc..3b92f0e01438c3e00436b4c9efd314d3db9c54aa:/contrib/utils/convertrc/rc2xml.h diff --git a/contrib/utils/convertrc/rc2xml.h b/contrib/utils/convertrc/rc2xml.h index 04b5e7485a..0481665f4b 100644 --- a/contrib/utils/convertrc/rc2xml.h +++ b/contrib/utils/convertrc/rc2xml.h @@ -10,7 +10,7 @@ #include -class rc2xml : public wxObject +class rc2xml : public wxObject { public: wxString m_workingpath; @@ -22,8 +22,8 @@ public: ~rc2xml(); protected: - wxString LookUpId(wxString id); - + wxString LookUpId(wxString id); + void ParseResourceHeader(); void WriteBitmap(wxString bitmapname); void ParseListCtrl(wxString label,wxString varname); @@ -37,7 +37,7 @@ protected: wxList * m_iconlist; void ParseIconStatic(); void ParseMenuItem(); - + //Functions bool SplitHelp(wxString msg, wxString &shorthelp, wxString &longhelp); bool LookUpString(wxString strid,wxString & st); @@ -52,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(); @@ -90,4 +93,4 @@ protected: }; -#endif \ No newline at end of file +#endif