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