]>
git.saurik.com Git - wxWidgets.git/blob - contrib/utils/convertrc/wxr2xml.h
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(WXR2XML_H)
9 #include "wx/resource.h"
11 #if !wxUSE_WX_RESOURCES
12 #error "convertc requires wxUSE_WX_RESOURCES"
13 #endif // wxUSE_WX_RESOURCES
15 class wxr2xml
: public wxObject
18 bool Convert(wxString wxrfile
,wxString xmlfile
);
23 void GetFontWeight(wxFont font
);
24 void GetFontStyle(wxFont font
);
25 void ParseBitmapButton(wxItemResource
*res
);
26 void GetFontFace(wxFont font
);
27 void WriteFontInfo(wxItemResource
*res
);
28 wxString
GetValue2(wxItemResource
*res
);
29 wxString
GetValue3(wxItemResource
*res
);
30 wxString
GetValue5(wxItemResource
*res
);
31 void PanelStuff(wxItemResource
*res
);
32 bool m_systemdefaults
;
34 void ParseBitmap(wxItemResource
*res
);
35 void ParseStaticBitmap(wxItemResource
*res
);
36 wxString
FixMenuString(wxString phrase
);
37 void ParseMenuItem(wxItemResource
*res
);
38 void ParseMenu(wxItemResource
*res
);
39 void ParseMenuBar(wxItemResource
*res
);
40 wxString
GenerateName(wxItemResource
*res
);
41 wxString
GetStyles(wxItemResource
*res
);
42 wxString
GetDimension(wxItemResource
*res
);
43 void ParsePanel(wxItemResource
*res
);
44 void ParseRadioButton(wxItemResource
*res
);
45 wxString
GetMin(wxItemResource
*res
);
46 wxString
GetCheckStatus(wxItemResource
*res
);
47 void ParseScrollBar(wxItemResource
*res
);
48 void ParseComboBox(wxItemResource
* res
);
49 wxString
GetMax(wxItemResource
*res
);
50 void ParseSlider(wxItemResource
*res
);
51 wxString
GetValue1(wxItemResource
*res
);
52 wxString
GetRange(wxItemResource
*res
);
53 void ParseGauge(wxItemResource
*res
);
54 void ParseChoice(wxItemResource
*res
);
55 void WriteStringList(wxItemResource
*res
);
56 void ParseStaticBox(wxItemResource
*res
);
57 void ParseRadioBox(wxItemResource
*res
);
58 wxString
GetLabel(wxItemResource
*res
);
59 void ParseCheckBox(wxItemResource
*res
);
60 wxString
GetValue4(wxItemResource
*res
);
61 wxString
GetTitle(wxItemResource
*res
);
62 void ParseTextCtrl(wxItemResource
*res
);
63 void ParseButton(wxItemResource
*res
);
64 wxString
GetPosition(wxItemResource
*res
);
65 void WriteControlInfo(wxItemResource
*res
);
66 void ParseStaticText(wxItemResource
*res
);
67 void ParseListBox(wxItemResource
*res
);
68 wxString
GetSize(wxItemResource
*res
);
69 void ParseControls(wxItemResource
*res
);
70 void ParseDialog(wxItemResource
*res
);
71 bool ParseResources();
73 wxResourceTable m_table
;