]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/utils/wxrcedit/pe_adv.h
added wxDatePickerCtrl XRC control
[wxWidgets.git] / contrib / utils / wxrcedit / pe_adv.h
... / ...
CommitLineData
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
10#if defined(__GNUG__) && !defined(__APPLE__)
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) {}
28
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) {}
40
41 virtual wxWindow* CreateEditCtrl();
42
43 virtual void ReadValue();
44 virtual void WriteValue();
45
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
60 virtual bool HasDetails() { return true; }
61 virtual void OnDetails();
62};
63
64
65
66
67class PropEditCtrlFlags : public PropEditCtrlTxt
68{
69 public:
70 PropEditCtrlFlags(PropertiesFrame *propFrame)
71 : PropEditCtrlTxt(propFrame) {}
72
73 virtual bool HasDetails() { return true; }
74 virtual void OnDetails();
75};
76
77
78
79class PropEditCtrlFile : public PropEditCtrlTxt
80{
81 public:
82 PropEditCtrlFile(PropertiesFrame *propFrame)
83 : PropEditCtrlTxt(propFrame) {}
84
85 virtual bool HasDetails() { return true; }
86 virtual void OnDetails();
87
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};
100
101#endif