]>
git.saurik.com Git - wxWidgets.git/blob - contrib/utils/wxrcedit/pe_adv.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Purpose: XML resources editor
3 // Author: Vaclav Slavik
6 // Copyright: (c) 2000 Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #pragma interface "pe_adv.h"
20 class WXDLLEXPORT wxChoice
;
23 class PropEditCtrlFont
: public PropEditCtrlTxt
26 PropEditCtrlFont(PropertiesFrame
*propFrame
)
27 : PropEditCtrlTxt(propFrame
) {}
29 virtual wxWindow
* CreateEditCtrl();
30 virtual wxTreeItemId
CreateTreeEntry(wxTreeItemId parent
, const PropertyInfo
& pinfo
);
35 class PropEditCtrlChoice
: public PropEditCtrl
38 PropEditCtrlChoice(PropertiesFrame
*propFrame
)
39 : PropEditCtrl(propFrame
) {}
41 virtual wxWindow
* CreateEditCtrl();
43 virtual void ReadValue();
44 virtual void WriteValue();
50 void OnChoice(wxCommandEvent
& event
);
54 class PropEditCtrlColor
: public PropEditCtrlTxt
57 PropEditCtrlColor(PropertiesFrame
*propFrame
)
58 : PropEditCtrlTxt(propFrame
) {}
60 virtual bool HasDetails() { return TRUE
; }
61 virtual void OnDetails();
67 class PropEditCtrlFlags
: public PropEditCtrlTxt
70 PropEditCtrlFlags(PropertiesFrame
*propFrame
)
71 : PropEditCtrlTxt(propFrame
) {}
73 virtual bool HasDetails() { return TRUE
; }
74 virtual void OnDetails();
79 class PropEditCtrlFile
: public PropEditCtrlTxt
82 PropEditCtrlFile(PropertiesFrame
*propFrame
)
83 : PropEditCtrlTxt(propFrame
) {}
85 virtual bool HasDetails() { return TRUE
; }
86 virtual void OnDetails();
88 virtual wxString
GetFileTypes();
92 class PropEditCtrlImageFile
: public PropEditCtrlFile
95 PropEditCtrlImageFile(PropertiesFrame
*propFrame
)
96 : PropEditCtrlFile(propFrame
) {}
98 virtual wxString
GetFileTypes();