Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

D:/Programming/GUI Editor (Source)/GUIEditorDoc.h

00001 // GUIEditorDoc.h : interface of the CGUIEditorDoc class 00002 // 00003 00004 #include "GUI.h" 00005 #pragma once 00006 00007 class CGUIEditorDoc : public CDocument 00008 { 00009 protected: // create from serialization only 00010 CGUIEditorDoc(); 00011 DECLARE_DYNCREATE(CGUIEditorDoc) 00012 00013 CGUI *GetGUI() {return m_pGUI; }; 00014 CDoubleList<CGUIElement *> m_lstSelectedElements; 00015 00016 int GetSelectionCount(); 00017 CGUIElement *GetFirst(); 00018 CGUIElement *GetNext(); 00019 // Attributes 00020 public: 00021 00022 // Operations 00023 public: 00024 00025 // Overrides 00026 public: 00027 virtual BOOL OnNewDocument(); 00028 virtual BOOL OnOpenDocument(LPCTSTR lpszPathName); 00029 virtual void OnCloseDocument(); 00030 virtual void Serialize(CArchive& ar); 00031 00032 // Implementation 00033 public: 00034 virtual ~CGUIEditorDoc(); 00035 #ifdef _DEBUG 00036 virtual void AssertValid() const; 00037 virtual void Dump(CDumpContext& dc) const; 00038 #endif 00039 00040 protected: 00041 CGUI *m_pGUI; 00042 CGUIElement *m_pElement; 00043 // Generated message map functions 00044 protected: 00045 DECLARE_MESSAGE_MAP() 00046 public: 00047 virtual BOOL OnSaveDocument(LPCTSTR lpszPathName); 00048 afx_msg void OnFileSave(); 00049 }; 00050 00051

Generated on Sun Jul 17 21:34:26 2005 for OpenGL GUI by doxygen 1.3.8