doom3-gpl
Doom 3 GPL source release
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
neo
tools
common
PropTree
PropTreeItemStatic.h
Go to the documentation of this file.
1
// PropTreeItemStatic.h
2
//
3
// Copyright (C) 1998-2001 Scott Ramsay
4
// sramsay@gonavi.com
5
// http://www.gonavi.com
6
//
7
// This material is provided "as is", with absolutely no warranty expressed
8
// or implied. Any use is at your own risk.
9
//
10
// Permission to use or copy this software for any purpose is hereby granted
11
// without fee, provided the above notices are retained on all copies.
12
// Permission to modify the code and to distribute modified code is granted,
13
// provided the above notices are retained, and a notice that the code was
14
// modified is included with the above copyright notice.
15
//
16
// If you use this code, drop me an email. I'd like to know if you find the code
17
// useful.
18
19
#ifndef _PROPTREEITEMSTATIC_H
20
#define _PROPTREEITEMSTATIC_H
21
22
#include "
PropTreeItem.h
"
23
24
class
PROPTREE_API
CPropTreeItemStatic
:
public
CPropTreeItem
25
{
26
public
:
27
CPropTreeItemStatic
();
28
virtual
~
CPropTreeItemStatic
();
29
30
public
:
31
// The attribute area needs drawing
32
virtual
void
DrawAttribute
(CDC* pDC,
const
RECT& rc);
33
34
// Retrieve the item's attribute value (in this case the CString)
35
virtual
LPARAM
GetItemValue
();
36
37
// Set the item's attribute value
38
virtual
void
SetItemValue
(
LPARAM
lParam);
39
40
protected
:
41
CString
m_sAttribute
;
42
};
43
44
45
#endif // _PROPTREEITEMSTATIC_H
CPropTreeItemStatic
Definition:
PropTreeItemStatic.h:24
CPropTreeItem::DrawAttribute
virtual void DrawAttribute(CDC *pDC, const RECT &rc)
Definition:
PropTreeItem.cpp:587
PROPTREE_API
#define PROPTREE_API
Definition:
PropTree.h:53
CPropTreeItemStatic::m_sAttribute
CString m_sAttribute
Definition:
PropTreeItemStatic.h:41
CPropTreeItem::GetItemValue
virtual LPARAM GetItemValue()
Definition:
PropTreeItem.cpp:267
CPropTreeItem
Definition:
PropTreeItem.h:24
CPropTreeItem::SetItemValue
virtual void SetItemValue(LPARAM lParam)
Definition:
PropTreeItem.cpp:274
PropTreeItem.h
This page is maintained by
Wladimir van der Laan
. Generated on Mon Nov 17 2014 12:23:29 for doom3-gpl by
1.8.6
.