home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2233.zip / wxOS2-2_3_3.zip / wxWindows-2.3.3 / contrib / utils / wxrcedit / propframe.h < prev    next >
C/C++ Source or Header  |  2002-09-08  |  1KB  |  56 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Purpose:     XML resources editor
  3. // Author:      Vaclav Slavik
  4. // Created:     2000/05/05
  5. // RCS-ID:      $Id: propframe.h,v 1.3 2002/09/07 12:15:24 GD Exp $
  6. // Copyright:   (c) 2000 Vaclav Slavik
  7. // Licence:     wxWindows licence
  8. /////////////////////////////////////////////////////////////////////////////
  9.  
  10. #if defined(__GNUG__) && !defined(__APPLE__)
  11.     #pragma interface "propframe.h"
  12. #endif
  13.  
  14. #ifndef _PROPFRAME_H_
  15. #define _PROPFRAME_H_
  16.  
  17. #include "splittree.h"
  18.  
  19. class WXDLLEXPORT wxXmlNode;
  20. class PropEditCtrl;
  21. #include "wx/hash.h"
  22. #include "wx/frame.h"
  23. #include "nodesdb.h"
  24.  
  25. class 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);
  35.         void AddSingleProp(const PropertyInfo& pinfo, wxTreeItemId *root = NULL);
  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
  56.