00001 #pragma once
00002
00003 class KLandModelObject;
00004
00005
00006
00007 class CBrushView : public CTreeView
00008 {
00009 DECLARE_DYNCREATE(CBrushView)
00010
00011 protected:
00012 CBrushView();
00013 virtual ~CBrushView();
00014
00015 void AddLandModel( HTREEITEM hFather, KLandModelObject* pLandModel, const char* pModelName );
00016
00017 public:
00018 void AddLandModelObject( KLandModelObject* pLandModel );
00019 void Refresh();
00020
00021 #ifdef _DEBUG
00022 virtual void AssertValid() const;
00023 virtual void Dump(CDumpContext& dc) const;
00024 #endif
00025
00026 protected:
00027 DECLARE_MESSAGE_MAP()
00028 public:
00029 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00030 virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
00031 protected:
00032 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
00033 };
00034
00035