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 | Static Private Member Functions | List of all members
CPropTree Class Reference

#include <PropTree.h>

Inheritance diagram for CPropTree:

Public Member Functions

 CPropTree ()
 
virtual ~CPropTree ()
 
BOOL Create (DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID)
 
CPropTreeItemGetRootItem ()
 
CPropTreeItemGetFocusedItem ()
 
BOOL EnumItems (CPropTreeItem *pItem, ENUMPROPITEMPROC proc, LPARAM lParam=0L)
 
CPropTreeItemInsertItem (CPropTreeItem *pItem, CPropTreeItem *pParent=NULL)
 
void DeleteItem (CPropTreeItem *pItem)
 
void DeleteAllItems ()
 
LONG GetColumn ()
 
void SetColumn (LONG nColumn)
 
void SetFocusedItem (CPropTreeItem *pItem)
 
void ShowInfoText (BOOL bShow=TRUE)
 
BOOL IsItemVisible (CPropTreeItem *pItem)
 
void EnsureVisible (CPropTreeItem *pItem)
 
LONG HitTest (const POINT &pt)
 
CPropTreeItemFindItem (const POINT &pt)
 
CPropTreeItemFindItem (UINT nCtrlID)
 
void AddToVisibleList (CPropTreeItem *pItem)
 
void ClearVisibleList ()
 
void SetOriginOffset (LONG nOffset)
 
void UpdatedItems ()
 
void UpdateMoveAllItems ()
 
void RefreshItems (CPropTreeItem *pItem=NULL)
 
void DisableInput (BOOL bDisable=TRUE)
 
BOOL IsDisableInput ()
 
BOOL IsSingleSelection ()
 
CPropTreeItemGetVisibleList ()
 
CWnd * GetCtrlParent ()
 
const POINTGetOrigin ()
 
void SelectItems (CPropTreeItem *pItem, BOOL bSelect=TRUE)
 
CPropTreeItemFocusFirst ()
 
CPropTreeItemFocusLast ()
 
CPropTreeItemFocusPrev ()
 
CPropTreeItemFocusNext ()
 
LRESULT SendNotify (UINT nNotifyCode, CPropTreeItem *pItem=NULL)
 

Static Public Member Functions

static CFont * GetNormalFont ()
 
static CFont * GetBoldFont ()
 

Protected Member Functions

void ResizeChildWindows (int cx, int cy)
 
void InitGlobalResources ()
 
void FreeGlobalResources ()
 
void Delete (CPropTreeItem *pItem)
 
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
 
afx_msg void OnSize (UINT nType, int cx, int cy)
 
afx_msg void OnEnable (BOOL bEnable)
 
afx_msg void OnSysColorChange ()
 

Protected Attributes

CPropTreeList m_List
 
CPropTreeInfo m_Info
 
BOOL m_bShowInfo
 
LONG m_nInfoHeight
 
CPropTreeItem m_Root
 
CPropTreeItemm_pVisbleList
 
CPropTreeItemm_pFocus
 
CPoint m_Origin
 
UINT m_nLastUID
 
BOOL m_bDisableInput
 

Static Protected Attributes

static UINT s_nInstanceCount
 
static CFont * s_pNormalFont
 
static CFont * s_pBoldFont
 
static CPropTreeItems_pFound
 

Static Private Member Functions

static BOOL CALLBACK EnumFindItem (CPropTree *pProp, CPropTreeItem *pItem, LPARAM lParam)
 
static BOOL CALLBACK EnumSelectAll (CPropTree *, CPropTreeItem *pItem, LPARAM lParam)
 
static BOOL CALLBACK EnumMoveAll (CPropTree *, CPropTreeItem *pItem, LPARAM)
 
static BOOL CALLBACK EnumRefreshAll (CPropTree *, CPropTreeItem *pItem, LPARAM)
 

Detailed Description

Definition at line 111 of file PropTree.h.

Constructor & Destructor Documentation

CPropTree::CPropTree ( )

Definition at line 81 of file PropTree.cpp.

CPropTree::~CPropTree ( )
virtual

Definition at line 99 of file PropTree.cpp.

Member Function Documentation

void CPropTree::AddToVisibleList ( CPropTreeItem pItem)

Definition at line 308 of file PropTree.cpp.

void CPropTree::ClearVisibleList ( )

Definition at line 296 of file PropTree.cpp.

BOOL CPropTree::Create ( DWORD  dwStyle,
const RECT &  rect,
CWnd *  pParentWnd,
UINT  nID 
)

Definition at line 130 of file PropTree.cpp.

void CPropTree::Delete ( CPropTreeItem pItem)
protected

Definition at line 414 of file PropTree.cpp.

void CPropTree::DeleteAllItems ( )

Definition at line 376 of file PropTree.cpp.

void CPropTree::DeleteItem ( CPropTreeItem pItem)

Definition at line 384 of file PropTree.cpp.

void CPropTree::DisableInput ( BOOL  bDisable = TRUE)

Definition at line 671 of file PropTree.cpp.

void CPropTree::EnsureVisible ( CPropTreeItem pItem)

Definition at line 502 of file PropTree.cpp.

BOOL CALLBACK CPropTree::EnumFindItem ( CPropTree pProp,
CPropTreeItem pItem,
LPARAM  lParam 
)
staticprivate

Definition at line 651 of file PropTree.cpp.

BOOL CPropTree::EnumItems ( CPropTreeItem pItem,
ENUMPROPITEMPROC  proc,
LPARAM  lParam = 0L 
)

Definition at line 332 of file PropTree.cpp.

BOOL CALLBACK CPropTree::EnumMoveAll ( CPropTree ,
CPropTreeItem pItem,
LPARAM   
)
staticprivate

Definition at line 849 of file PropTree.cpp.

BOOL CALLBACK CPropTree::EnumRefreshAll ( CPropTree ,
CPropTreeItem pItem,
LPARAM   
)
staticprivate

Definition at line 838 of file PropTree.cpp.

BOOL CALLBACK CPropTree::EnumSelectAll ( CPropTree ,
CPropTreeItem pItem,
LPARAM  lParam 
)
staticprivate

Definition at line 827 of file PropTree.cpp.

CPropTreeItem * CPropTree::FindItem ( const POINT pt)

Definition at line 620 of file PropTree.cpp.

CPropTreeItem * CPropTree::FindItem ( UINT  nCtrlID)

Definition at line 641 of file PropTree.cpp.

CPropTreeItem * CPropTree::FocusFirst ( )

Definition at line 691 of file PropTree.cpp.

CPropTreeItem * CPropTree::FocusLast ( )

Definition at line 712 of file PropTree.cpp.

CPropTreeItem * CPropTree::FocusNext ( )

Definition at line 779 of file PropTree.cpp.

CPropTreeItem * CPropTree::FocusPrev ( )

Definition at line 742 of file PropTree.cpp.

void CPropTree::FreeGlobalResources ( )
protected

Definition at line 256 of file PropTree.cpp.

CFont * CPropTree::GetBoldFont ( )
static

Definition at line 278 of file PropTree.cpp.

LONG CPropTree::GetColumn ( )

Definition at line 391 of file PropTree.cpp.

CWnd * CPropTree::GetCtrlParent ( )

Definition at line 180 of file PropTree.cpp.

CPropTreeItem * CPropTree::GetFocusedItem ( )

Definition at line 284 of file PropTree.cpp.

CFont * CPropTree::GetNormalFont ( )
static

Definition at line 272 of file PropTree.cpp.

const POINT & CPropTree::GetOrigin ( void  )

Definition at line 124 of file PropTree.cpp.

CPropTreeItem * CPropTree::GetRootItem ( )

Definition at line 290 of file PropTree.cpp.

CPropTreeItem * CPropTree::GetVisibleList ( )

Definition at line 302 of file PropTree.cpp.

LONG CPropTree::HitTest ( const POINT pt)

Definition at line 586 of file PropTree.cpp.

void CPropTree::InitGlobalResources ( )
protected

Definition at line 211 of file PropTree.cpp.

CPropTreeItem * CPropTree::InsertItem ( CPropTreeItem pItem,
CPropTreeItem pParent = NULL 
)

Definition at line 549 of file PropTree.cpp.

BOOL CPropTree::IsDisableInput ( )

Definition at line 665 of file PropTree.cpp.

BOOL CPropTree::IsItemVisible ( CPropTreeItem pItem)

Definition at line 487 of file PropTree.cpp.

BOOL CPropTree::IsSingleSelection ( )

Definition at line 919 of file PropTree.cpp.

int CPropTree::OnCreate ( LPCREATESTRUCT  lpCreateStruct)
protected

Definition at line 140 of file PropTree.cpp.

void CPropTree::OnEnable ( BOOL  bEnable)
protected

Definition at line 904 of file PropTree.cpp.

void CPropTree::OnSize ( UINT  nType,
int  cx,
int  cy 
)
protected

Definition at line 186 of file PropTree.cpp.

void CPropTree::OnSysColorChange ( )
protected

Definition at line 911 of file PropTree.cpp.

void CPropTree::RefreshItems ( CPropTreeItem pItem = NULL)

Definition at line 816 of file PropTree.cpp.

void CPropTree::ResizeChildWindows ( int  cx,
int  cy 
)
protected

Definition at line 193 of file PropTree.cpp.

void CPropTree::SelectItems ( CPropTreeItem pItem,
BOOL  bSelect = TRUE 
)

Definition at line 682 of file PropTree.cpp.

LRESULT CPropTree::SendNotify ( UINT  nNotifyCode,
CPropTreeItem pItem = NULL 
)

Definition at line 860 of file PropTree.cpp.

void CPropTree::SetColumn ( LONG  nColumn)

Definition at line 397 of file PropTree.cpp.

void CPropTree::SetFocusedItem ( CPropTreeItem pItem)

Definition at line 464 of file PropTree.cpp.

void CPropTree::SetOriginOffset ( LONG  nOffset)

Definition at line 358 of file PropTree.cpp.

void CPropTree::ShowInfoText ( BOOL  bShow = TRUE)

Definition at line 476 of file PropTree.cpp.

void CPropTree::UpdatedItems ( )

Definition at line 364 of file PropTree.cpp.

void CPropTree::UpdateMoveAllItems ( )

Definition at line 810 of file PropTree.cpp.

Member Data Documentation

BOOL CPropTree::m_bDisableInput
protected

Definition at line 204 of file PropTree.h.

BOOL CPropTree::m_bShowInfo
protected

Definition at line 178 of file PropTree.h.

CPropTreeInfo CPropTree::m_Info
protected

Definition at line 175 of file PropTree.h.

CPropTreeList CPropTree::m_List
protected

Definition at line 172 of file PropTree.h.

LONG CPropTree::m_nInfoHeight
protected

Definition at line 181 of file PropTree.h.

UINT CPropTree::m_nLastUID
protected

Definition at line 196 of file PropTree.h.

CPoint CPropTree::m_Origin
protected

Definition at line 193 of file PropTree.h.

CPropTreeItem* CPropTree::m_pFocus
protected

Definition at line 190 of file PropTree.h.

CPropTreeItem* CPropTree::m_pVisbleList
protected

Definition at line 187 of file PropTree.h.

CPropTreeItem CPropTree::m_Root
protected

Definition at line 184 of file PropTree.h.

UINT CPropTree::s_nInstanceCount
staticprotected

Definition at line 199 of file PropTree.h.

CFont * CPropTree::s_pBoldFont
staticprotected

Definition at line 202 of file PropTree.h.

CPropTreeItem * CPropTree::s_pFound
staticprotected

Definition at line 207 of file PropTree.h.

CFont * CPropTree::s_pNormalFont
staticprotected

Definition at line 201 of file PropTree.h.


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