]> git.saurik.com Git - wxWidgets.git/blame - contrib/utils/wxrcedit/propframe.h
generated code for wxGTK for all the changes made earlier today
[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
10#ifdef __GNUG__
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();
30
31 void ShowProps(wxXmlNode *node);
32
33 void ClearProps();
34 void AddProps(PropertyInfoArray& plist);
a62da4c5 35 void AddSingleProp(const PropertyInfo& pinfo, wxTreeItemId *root = NULL);
12d9e308
VS
36
37 static PropertiesFrame *Get();
38
39 private:
40
41 static PropertiesFrame *ms_Instance;
42 wxXmlNode *m_Node;
43
44 wxRemotelyScrolledTreeCtrl *m_tree;
45 wxThinSplitterWindow *m_splitter;
46 wxSplitterScrolledWindow *m_scrolledWindow;
47 wxTreeCompanionWindow *m_valueWindow;
48
49 wxHashTable m_EditCtrls;
50
51 friend class PropEditCtrl;
52};
53
54
55#endif