]> git.saurik.com Git - wxWidgets.git/blame - contrib/utils/wxrcedit/pe_adv.h
Changed version number
[wxWidgets.git] / contrib / utils / wxrcedit / pe_adv.h
CommitLineData
12d9e308
VS
1/////////////////////////////////////////////////////////////////////////////
2// Purpose: XML resources editor
3// Author: Vaclav Slavik
4// Created: 2000/05/05
5// RCS-ID: $Id$
6// Copyright: (c) 2000 Vaclav Slavik
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
ab7ce33c 10#if defined(__GNUG__) && !defined(__APPLE__)
12d9e308
VS
11 #pragma interface "pe_adv.h"
12#endif
13
14#ifndef _PE_ADV_H_
15#define _PE_ADV_H_
16
17#include "propedit.h"
18#include "pe_basic.h"
19
20class WXDLLEXPORT wxChoice;
21
22
23class PropEditCtrlFont : public PropEditCtrlTxt
24{
25 public:
26 PropEditCtrlFont(PropertiesFrame *propFrame)
27 : PropEditCtrlTxt(propFrame) {}
f80ea77b 28
12d9e308
VS
29 virtual wxWindow* CreateEditCtrl();
30 virtual wxTreeItemId CreateTreeEntry(wxTreeItemId parent, const PropertyInfo& pinfo);
31};
32
33
34
35class PropEditCtrlChoice : public PropEditCtrl
36{
37 public:
38 PropEditCtrlChoice(PropertiesFrame *propFrame)
39 : PropEditCtrl(propFrame) {}
f80ea77b 40
12d9e308 41 virtual wxWindow* CreateEditCtrl();
f80ea77b 42
12d9e308
VS
43 virtual void ReadValue();
44 virtual void WriteValue();
f80ea77b 45
12d9e308
VS
46 protected:
47 wxChoice *m_Choice;
48
49 DECLARE_EVENT_TABLE()
50 void OnChoice(wxCommandEvent& event);
51};
52
53
54class PropEditCtrlColor : public PropEditCtrlTxt
55{
56 public:
57 PropEditCtrlColor(PropertiesFrame *propFrame)
58 : PropEditCtrlTxt(propFrame) {}
59
f80ea77b 60 virtual bool HasDetails() { return true; }
12d9e308
VS
61 virtual void OnDetails();
62};
63
64
65
66
a62da4c5
VS
67class PropEditCtrlFlags : public PropEditCtrlTxt
68{
69 public:
70 PropEditCtrlFlags(PropertiesFrame *propFrame)
71 : PropEditCtrlTxt(propFrame) {}
72
f80ea77b 73 virtual bool HasDetails() { return true; }
a62da4c5
VS
74 virtual void OnDetails();
75};
76
77
78
26607f41
VS
79class PropEditCtrlFile : public PropEditCtrlTxt
80{
81 public:
82 PropEditCtrlFile(PropertiesFrame *propFrame)
83 : PropEditCtrlTxt(propFrame) {}
a62da4c5 84
f80ea77b 85 virtual bool HasDetails() { return true; }
26607f41 86 virtual void OnDetails();
f80ea77b 87
26607f41
VS
88 virtual wxString GetFileTypes();
89};
90
91
92class PropEditCtrlImageFile : public PropEditCtrlFile
93{
94 public:
95 PropEditCtrlImageFile(PropertiesFrame *propFrame)
96 : PropEditCtrlFile(propFrame) {}
97
98 virtual wxString GetFileTypes();
99};
12d9e308
VS
100
101#endif