mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-29 07:32:25 +00:00
79ad905e05
Excluding 3rd party files.
45 lines
1.2 KiB
C++
45 lines
1.2 KiB
C++
// PropTreeItemStatic.h
|
|
//
|
|
// Copyright (C) 1998-2001 Scott Ramsay
|
|
// sramsay@gonavi.com
|
|
// http://www.gonavi.com
|
|
//
|
|
// This material is provided "as is", with absolutely no warranty expressed
|
|
// or implied. Any use is at your own risk.
|
|
//
|
|
// Permission to use or copy this software for any purpose is hereby granted
|
|
// without fee, provided the above notices are retained on all copies.
|
|
// Permission to modify the code and to distribute modified code is granted,
|
|
// provided the above notices are retained, and a notice that the code was
|
|
// modified is included with the above copyright notice.
|
|
//
|
|
// If you use this code, drop me an email. I'd like to know if you find the code
|
|
// useful.
|
|
|
|
#ifndef _PROPTREEITEMSTATIC_H
|
|
#define _PROPTREEITEMSTATIC_H
|
|
|
|
#include "PropTreeItem.h"
|
|
|
|
class PROPTREE_API CPropTreeItemStatic : public CPropTreeItem
|
|
{
|
|
public:
|
|
CPropTreeItemStatic();
|
|
virtual ~CPropTreeItemStatic();
|
|
|
|
public:
|
|
// The attribute area needs drawing
|
|
virtual void DrawAttribute(CDC* pDC, const RECT& rc);
|
|
|
|
// Retrieve the item's attribute value (in this case the CString)
|
|
virtual LPARAM GetItemValue();
|
|
|
|
// Set the item's attribute value
|
|
virtual void SetItemValue(LPARAM lParam);
|
|
|
|
protected:
|
|
CString m_sAttribute;
|
|
};
|
|
|
|
|
|
#endif // _PROPTREEITEMSTATIC_H
|