]>
git.saurik.com Git - wxWidgets.git/blob - contrib/utils/convertrc/rc2xml.h
3 //////////////////////////////////////////////////////////////////////
13 class rc2xml
: public wxObject
16 void WriteIcon(wxString iconname
);
17 void ParseNormalMSControl();
18 bool Convert(wxString rcfile
, wxString xmlfile
);
23 wxString
LookUpId(wxString id
);
25 void ParseResourceHeader();
26 void WriteBitmap(wxString bitmapname
);
27 void ParseListCtrl(wxString label
,wxString varname
);
28 void ParseCalendar(wxString label
,wxString varname
);
29 void ParseTreeCtrl(wxString label
,wxString varname
);
30 void ParseScrollBar();
31 void ParseWeirdMSControl();
32 void ParseStaticBitmap(wxString label
,wxString varname
);
33 wxString
CleanName(wxString name
);
34 void ParseIcon(wxString varname
);
36 void ParseIconStatic();
40 bool SplitHelp(wxString msg
, wxString
&shorthelp
, wxString
&longhelp
);
41 bool LookUpString(wxString strid
,wxString
& st
);
42 void ParseStringTable(wxString varname
);
43 void WriteToolButton(wxString name
,int index
,int width
,int height
,wxBitmap bitmap
);
44 wxString
LookupString(wxString varname
,wxStringList id
,wxStringList msg
);
45 void ParseToolBar(wxString varname
);
48 void ParseBitmap(wxString varname
);
49 void ParseSpinCtrl(wxString label
,wxString varname
);
50 void ParseRichEdit(wxString label
, wxString varname
);
51 void ParseDialog(wxString dlgname
);
54 void ParseStaticText();
56 void ParsePushButton();
57 bool Seperator(int ch
);
59 void ReadRect(int & x
, int & y
, int & width
, int & height
);
61 wxString
GetQuoteField();
62 void ReadChar(int &ch
);
64 void ParseMenu(wxString varname
);
65 void ParsePopupMenu();
67 void ParseControlMS();
68 void ParseSlider(wxString label
, wxString varname
);
69 void ParseProgressBar(wxString label
, wxString varname
);
70 bool ReadOrs(wxString
& w
);
71 void ParseCtrlButton(wxString label
, wxString varname
);
72 void WriteStyle(wxString style
);
73 void WriteBasicInfo(int x
,int y
,int width
,int height
,wxString name
);
74 void WriteName(wxString name
);
75 void WriteTitle(wxString title
);
76 void WritePosition(int x
,int y
);
77 void WriteSize(int width
,int height
);
78 void WriteLabel(wxString label
);
80 wxList
* m_stringtable
;
82 wxList
* m_resourcelist
;