]> git.saurik.com Git - wxWidgets.git/blame - contrib/utils/wxrcedit/propframe.h
Removed very out of date files in docs/msw
[wxWidgets.git] / contrib / utils / wxrcedit / propframe.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 "propframe.h"
12#endif
13
14#ifndef _PROPFRAME_H_
15#define _PROPFRAME_H_
16
17#include "splittree.h"
18
19class WXDLLEXPORT wxXmlNode;
20class PropEditCtrl;
21#include "wx/hash.h"
22#include "wx/frame.h"
23#include "nodesdb.h"
24
25class PropertiesFrame : public wxFrame
26{
27 public:
28 PropertiesFrame();
29 ~PropertiesFrame();
f80ea77b 30
12d9e308 31 void ShowProps(wxXmlNode *node);
f80ea77b 32
12d9e308
VS
33 void ClearProps();
34 void AddProps(PropertyInfoArray& plist);
a62da4c5 35 void AddSingleProp(const PropertyInfo& pinfo, wxTreeItemId *root = NULL);
f80ea77b 36
12d9e308 37 static PropertiesFrame *Get();
f80ea77b 38
12d9e308
VS
39 private:
40
41 static PropertiesFrame *ms_Instance;
42 wxXmlNode *m_Node;
43
44 wxRemotelyScrolledTreeCtrl *m_tree;
45 wxThinSplitterWindow *m_splitter;
f80ea77b 46 wxSplitterScrolledWindow *m_scrolledWindow;
12d9e308 47 wxTreeCompanionWindow *m_valueWindow;
f80ea77b 48
12d9e308 49 wxHashTable m_EditCtrls;
f80ea77b 50
12d9e308
VS
51 friend class PropEditCtrl;
52};
53
54
55#endif