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

#include <PropTreeItemEdit.h>

Inheritance diagram for CPropTreeItemEdit:
CPropTreeItem CPropTreeItemEditButton CPropTreeItemFileEdit

Public Types

enum  ValueFormat { ValueFormatText, ValueFormatNumber, ValueFormatFloatPointer }
 
- Public Types inherited from CPropTreeItem
enum  { ACTIVATE_TYPE_KEYBOARD, ACTIVATE_TYPE_MOUSE }
 

Public Member Functions

 CPropTreeItemEdit ()
 
virtual ~CPropTreeItemEdit ()
 
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)
 
void SetValueFormat (ValueFormat nFormat)
 
void SetAsPassword (BOOL bPassword)
 
- 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)
 

Protected Member Functions

afx_msg UINT OnGetDlgCode ()
 
afx_msg void OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags)
 
afx_msg void OnKillfocus ()
 

Protected Attributes

CString m_sEdit
 
float m_fValue
 
ValueFormat m_nFormat
 
BOOL m_bPassword
 
- 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

- 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 PropTreeItemEdit.h.

Member Enumeration Documentation

Enumerator
ValueFormatText 
ValueFormatNumber 
ValueFormatFloatPointer 

Definition at line 61 of file PropTreeItemEdit.h.

Constructor & Destructor Documentation

CPropTreeItemEdit::CPropTreeItemEdit ( )

Definition at line 35 of file PropTreeItemEdit.cpp.

CPropTreeItemEdit::~CPropTreeItemEdit ( )
virtual

Definition at line 43 of file PropTreeItemEdit.cpp.

Member Function Documentation

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

Reimplemented from CPropTreeItem.

Reimplemented in CPropTreeItemEditButton.

Definition at line 59 of file PropTreeItemEdit.cpp.

LPARAM CPropTreeItemEdit::GetItemValue ( )
virtual

Reimplemented from CPropTreeItem.

Reimplemented in CPropTreeItemEditButton.

Definition at line 104 of file PropTreeItemEdit.cpp.

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

Reimplemented from CPropTreeItem.

Reimplemented in CPropTreeItemEditButton.

Definition at line 172 of file PropTreeItemEdit.cpp.

void CPropTreeItemEdit::OnCommit ( )
virtual

Reimplemented from CPropTreeItem.

Reimplemented in CPropTreeItemEditButton.

Definition at line 162 of file PropTreeItemEdit.cpp.

UINT CPropTreeItemEdit::OnGetDlgCode ( )
protected

Definition at line 194 of file PropTreeItemEdit.cpp.

void CPropTreeItemEdit::OnKeyDown ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
)
protected

Definition at line 200 of file PropTreeItemEdit.cpp.

void CPropTreeItemEdit::OnKillfocus ( )
protected

Definition at line 209 of file PropTreeItemEdit.cpp.

void CPropTreeItemEdit::OnMove ( )
virtual

Reimplemented from CPropTreeItem.

Reimplemented in CPropTreeItemEditButton.

Definition at line 148 of file PropTreeItemEdit.cpp.

void CPropTreeItemEdit::OnRefresh ( )
virtual

Reimplemented from CPropTreeItem.

Reimplemented in CPropTreeItemEditButton.

Definition at line 155 of file PropTreeItemEdit.cpp.

void CPropTreeItemEdit::SetAsPassword ( BOOL  bPassword)

Definition at line 92 of file PropTreeItemEdit.cpp.

void CPropTreeItemEdit::SetItemValue ( LPARAM  lParam)
virtual

Reimplemented from CPropTreeItem.

Reimplemented in CPropTreeItemEditButton.

Definition at line 120 of file PropTreeItemEdit.cpp.

void CPropTreeItemEdit::SetValueFormat ( ValueFormat  nFormat)

Definition at line 98 of file PropTreeItemEdit.cpp.

Member Data Documentation

BOOL CPropTreeItemEdit::m_bPassword
protected

Definition at line 79 of file PropTreeItemEdit.h.

float CPropTreeItemEdit::m_fValue
protected

Definition at line 76 of file PropTreeItemEdit.h.

ValueFormat CPropTreeItemEdit::m_nFormat
protected

Definition at line 78 of file PropTreeItemEdit.h.

CString CPropTreeItemEdit::m_sEdit
protected

Definition at line 75 of file PropTreeItemEdit.h.


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