doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
CPropTreeItemColor Class Reference

#include <PropTreeItemColor.h>

Inheritance diagram for CPropTreeItemColor:
CPropTreeItem

Public Member Functions

 CPropTreeItemColor ()
 
virtual ~CPropTreeItemColor ()
 
virtual void DrawAttribute (CDC *pDC, const RECT &rc)
 
virtual LPARAM GetItemValue ()
 
virtual void SetItemValue (LPARAM lParam)
 
virtual void OnMove ()
 
virtual void OnRefresh ()
 
virtual void OnCommit ()
 
virtual void OnActivate (int activateType, CPoint point)
 
- Public Member Functions inherited from CPropTreeItem
 CPropTreeItem ()
 
virtual ~CPropTreeItem ()
 
BOOL IsExpanded ()
 
BOOL IsSelected ()
 
BOOL IsChecked ()
 
BOOL IsReadOnly ()
 
BOOL IsActivated ()
 
void Select (BOOL bSelect=TRUE)
 
void Expand (BOOL bExpand=TRUE)
 
void Check (BOOL bCheck=TRUE)
 
void ReadOnly (BOOL bReadOnly=TRUE)
 
BOOL IsCheckBox ()
 
void HasCheckBox (BOOL bCheckbox=TRUE)
 
BOOL HitExpand (const POINT &pt)
 
BOOL HitCheckBox (const POINT &pt)
 
virtual BOOL HitButton (const POINT &pt)
 
BOOL IsRootLevel ()
 
LONG GetTotalHeight ()
 
void SetLabelText (LPCTSTR sLabel)
 
LPCTSTR GetLabelText ()
 
void SetInfoText (LPCTSTR sInfo)
 
LPCTSTR GetInfoText ()
 
void SetCtrlID (UINT nCtrlID)
 
UINT GetCtrlID ()
 
virtual LONG DrawItem (CDC *pDC, const RECT &rc, LONG x, LONG y)
 
void CommitChanges ()
 
void Activate (int activateType, CPoint point)
 
virtual LONG GetHeight ()
 
void SetPropOwner (CPropTree *pProp)
 
const POINTGetLocation ()
 
CPropTreeItemGetParent ()
 
CPropTreeItemGetSibling ()
 
CPropTreeItemGetChild ()
 
CPropTreeItemGetNextVisible ()
 
void SetParent (CPropTreeItem *pParent)
 
void SetSibling (CPropTreeItem *pSibling)
 
void SetChild (CPropTreeItem *pChild)
 
void SetNextVisible (CPropTreeItem *pVis)
 

Static Public Member Functions

static void SetDefaultColorsList (COLORREF *pColors)
 

Protected Member Functions

afx_msg void OnKillFocus (CWnd *pNewWnd)
 
afx_msg void OnPaint ()
 
afx_msg void OnClose ()
 
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
 
afx_msg BOOL OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message)
 
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
 

Protected Attributes

COLORREF m_cColor
 
COLORREF m_cPrevColor
 
CRect m_rcButton
 
LONG m_nSpot
 
BOOL m_bButton
 
BOOL m_bInDialog
 
- Protected Attributes inherited from CPropTreeItem
CPropTreem_pProp
 
CString m_sLabel
 
CString m_sInfo
 
CPoint m_loc
 
CRect m_rc
 
LPARAM m_lParam
 
UINT m_nCtrlID
 
DWORD m_dwState
 
BOOL m_bActivated
 
BOOL m_bCommitOnce
 
CRect m_rcExpand
 
CRect m_rcCheckbox
 
CRect m_rcButton
 
CPropTreeItemm_pParent
 
CPropTreeItemm_pSibling
 
CPropTreeItemm_pChild
 
CPropTreeItemm_pVis
 

Static Protected Attributes

static COLORREF * s_pColors = NULL
 

Additional Inherited Members

- Public Types inherited from CPropTreeItem
enum  { ACTIVATE_TYPE_KEYBOARD, ACTIVATE_TYPE_MOUSE }
 
- Protected Types inherited from CPropTreeItem
enum  TreeItemStates {
  TreeItemSelected = 0x00000001, TreeItemExpanded = 0x00000002, TreeItemCheckbox = 0x00000004, TreeItemChecked = 0x00000008,
  TreeItemActivated = 0x00000010, TreeItemReadOnly = 0x00000020
}
 

Detailed Description

Definition at line 30 of file PropTreeItemColor.h.

Constructor & Destructor Documentation

CPropTreeItemColor::CPropTreeItemColor ( )

Definition at line 123 of file PropTreeItemColor.cpp.

CPropTreeItemColor::~CPropTreeItemColor ( )
virtual

Definition at line 132 of file PropTreeItemColor.cpp.

Member Function Documentation

void CPropTreeItemColor::DrawAttribute ( CDC *  pDC,
const RECT &  rc 
)
virtual

Reimplemented from CPropTreeItem.

Definition at line 158 of file PropTreeItemColor.cpp.

LPARAM CPropTreeItemColor::GetItemValue ( )
virtual

Reimplemented from CPropTreeItem.

Definition at line 190 of file PropTreeItemColor.cpp.

void CPropTreeItemColor::OnActivate ( int  activateType,
CPoint  point 
)
virtual

Reimplemented from CPropTreeItem.

Definition at line 218 of file PropTreeItemColor.cpp.

void CPropTreeItemColor::OnClose ( )
protected

Definition at line 284 of file PropTreeItemColor.cpp.

void CPropTreeItemColor::OnCommit ( )
virtual

Reimplemented from CPropTreeItem.

Definition at line 212 of file PropTreeItemColor.cpp.

void CPropTreeItemColor::OnKillFocus ( CWnd *  pNewWnd)
protected

Definition at line 248 of file PropTreeItemColor.cpp.

void CPropTreeItemColor::OnLButtonDown ( UINT  nFlags,
CPoint  point 
)
protected

Definition at line 333 of file PropTreeItemColor.cpp.

void CPropTreeItemColor::OnMouseMove ( UINT  nFlags,
CPoint  point 
)
protected

Definition at line 290 of file PropTreeItemColor.cpp.

void CPropTreeItemColor::OnMove ( )
virtual

Reimplemented from CPropTreeItem.

Definition at line 202 of file PropTreeItemColor.cpp.

void CPropTreeItemColor::OnPaint ( )
protected

Definition at line 257 of file PropTreeItemColor.cpp.

void CPropTreeItemColor::OnRefresh ( )
virtual

Reimplemented from CPropTreeItem.

Definition at line 207 of file PropTreeItemColor.cpp.

BOOL CPropTreeItemColor::OnSetCursor ( CWnd *  pWnd,
UINT  nHitTest,
UINT  message 
)
protected

Definition at line 312 of file PropTreeItemColor.cpp.

void CPropTreeItemColor::SetDefaultColorsList ( COLORREF *  pColors)
static

Definition at line 152 of file PropTreeItemColor.cpp.

void CPropTreeItemColor::SetItemValue ( LPARAM  lParam)
virtual

Reimplemented from CPropTreeItem.

Definition at line 196 of file PropTreeItemColor.cpp.

Member Data Documentation

BOOL CPropTreeItemColor::m_bButton
protected

Definition at line 67 of file PropTreeItemColor.h.

BOOL CPropTreeItemColor::m_bInDialog
protected

Definition at line 68 of file PropTreeItemColor.h.

COLORREF CPropTreeItemColor::m_cColor
protected

Definition at line 63 of file PropTreeItemColor.h.

COLORREF CPropTreeItemColor::m_cPrevColor
protected

Definition at line 64 of file PropTreeItemColor.h.

LONG CPropTreeItemColor::m_nSpot
protected

Definition at line 66 of file PropTreeItemColor.h.

CRect CPropTreeItemColor::m_rcButton
protected

Definition at line 65 of file PropTreeItemColor.h.

COLORREF * CPropTreeItemColor::s_pColors = NULL
staticprotected

Definition at line 70 of file PropTreeItemColor.h.


The documentation for this class was generated from the following files: