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

#include <PropTreeItemButton.h>

Inheritance diagram for CPropTreeItemButton:
CPropTreeItem

Public Member Functions

 CPropTreeItemButton ()
 
virtual ~CPropTreeItemButton ()
 
virtual LONG DrawItem (CDC *pDC, const RECT &rc, LONG x, LONG y)
 
virtual void DrawAttribute (CDC *pDC, const RECT &rc)
 
virtual LPARAM GetItemValue ()
 
virtual void SetItemValue (LPARAM lParam)
 
virtual BOOL HitButton (const POINT &pt)
 
void SetButtonText (LPCSTR text)
 
- 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)
 
BOOL IsRootLevel ()
 
LONG GetTotalHeight ()
 
void SetLabelText (LPCTSTR sLabel)
 
LPCTSTR GetLabelText ()
 
void SetInfoText (LPCTSTR sInfo)
 
LPCTSTR GetInfoText ()
 
void SetCtrlID (UINT nCtrlID)
 
UINT GetCtrlID ()
 
void CommitChanges ()
 
void Activate (int activateType, CPoint point)
 
virtual LONG GetHeight ()
 
virtual void OnMove ()
 
virtual void OnRefresh ()
 
virtual void OnCommit ()
 
virtual void OnActivate (int activateType, CPoint point)
 
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)
 

Protected Attributes

CString buttonText
 
CRect buttonRect
 
CRect hitTestRect
 
bool mouseDown
 
- 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
 

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 26 of file PropTreeItemButton.h.

Constructor & Destructor Documentation

CPropTreeItemButton::CPropTreeItemButton ( )

Definition at line 37 of file PropTreeItemButton.cpp.

CPropTreeItemButton::~CPropTreeItemButton ( )
virtual

Definition at line 41 of file PropTreeItemButton.cpp.

Member Function Documentation

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

Reimplemented from CPropTreeItem.

Definition at line 84 of file PropTreeItemButton.cpp.

LONG CPropTreeItemButton::DrawItem ( CDC *  pDC,
const RECT &  rc,
LONG  x,
LONG  y 
)
virtual

Reimplemented from CPropTreeItem.

Definition at line 48 of file PropTreeItemButton.cpp.

LPARAM CPropTreeItemButton::GetItemValue ( )
virtual

Reimplemented from CPropTreeItem.

Definition at line 88 of file PropTreeItemButton.cpp.

BOOL CPropTreeItemButton::HitButton ( const POINT pt)
virtual

Reimplemented from CPropTreeItem.

Definition at line 97 of file PropTreeItemButton.cpp.

void CPropTreeItemButton::SetButtonText ( LPCSTR  text)

Definition at line 101 of file PropTreeItemButton.cpp.

void CPropTreeItemButton::SetItemValue ( LPARAM  lParam)
virtual

Reimplemented from CPropTreeItem.

Definition at line 93 of file PropTreeItemButton.cpp.

Member Data Documentation

CRect CPropTreeItemButton::buttonRect
protected

Definition at line 54 of file PropTreeItemButton.h.

CString CPropTreeItemButton::buttonText
protected

Definition at line 53 of file PropTreeItemButton.h.

CRect CPropTreeItemButton::hitTestRect
protected

Definition at line 55 of file PropTreeItemButton.h.

bool CPropTreeItemButton::mouseDown
protected

Definition at line 56 of file PropTreeItemButton.h.


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