Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CBrowseTreeItem Class Reference

#include <CtrlBrowseTree.h>

List of all members.

Public Member Functions

 CBrowseTreeItem (CBrowseTreeItem *pParent=NULL)
virtual ~CBrowseTreeItem ()
CBrowseTreeItemAdd (LPCTSTR pszName)
CBrowseTreeItemAdd (CBrowseTreeItem *pNewItem)
void Delete ()
void Delete (CBrowseTreeItem *pItem)
void Delete (int nItem)
void Clear ()
BOOL IsVisible () const
int GetChildCount () const
void Paint (CDC &dc, CRect &rc, BOOL bTarget, COLORREF crBack=CLR_NONE) const
void AddXML (CXMLElement *pXML)

Public Attributes

CBrowseTreeItemm_pParent
CBrowseTreeItem ** m_pList
int m_nCount
int m_nBuffer
CBrowseTreeItemm_pSelPrev
CBrowseTreeItemm_pSelNext
DWORD m_nCleanCookie
BOOL m_bExpanded
BOOL m_bSelected
BOOL m_bContract1
BOOL m_bContract2
DWORD m_nCookie
CString m_sText
BOOL m_bBold
int m_nIcon16
CSchemam_pSchema
DWORD * m_pFiles
DWORD m_nFiles


Constructor & Destructor Documentation

CBrowseTreeItem::CBrowseTreeItem CBrowseTreeItem pParent = NULL  ) 
 

Definition at line 895 of file CtrlBrowseTree.cpp.

References m_bBold, m_bContract1, m_bContract2, m_bExpanded, m_bSelected, m_nBuffer, m_nCleanCookie, m_nCookie, m_nCount, m_nFiles, m_nIcon16, m_pFiles, m_pList, m_pParent, m_pSchema, m_pSelNext, m_pSelPrev, and NULL.

Referenced by Add().

CBrowseTreeItem::~CBrowseTreeItem  )  [virtual]
 

Definition at line 919 of file CtrlBrowseTree.cpp.

References Clear(), m_pFiles, m_pList, and NULL.


Member Function Documentation

CBrowseTreeItem * CBrowseTreeItem::Add CBrowseTreeItem pNewItem  ) 
 

Definition at line 975 of file CtrlBrowseTree.cpp.

References m_nBuffer, m_nCount, m_pList, and m_sText.

CBrowseTreeItem * CBrowseTreeItem::Add LPCTSTR  pszName  ) 
 

Definition at line 936 of file CtrlBrowseTree.cpp.

References CBrowseTreeItem(), m_nBuffer, m_nCount, m_pList, and m_sText.

void CBrowseTreeItem::AddXML CXMLElement pXML  ) 
 

Definition at line 1138 of file CtrlBrowseTree.cpp.

References CSchemaCache::Get(), CSchema::GetFirstMemberName(), m_bBold, CSchema::m_nIcon16, m_nIcon16, m_pSchema, m_sText, NULL, SchemaCache, CXMLAttribute::schemaName, and CSchema::uriFavouritesFolder.

Referenced by CBrowseTreeCtrl::OnTreePacket().

void CBrowseTreeItem::Clear  ) 
 

Definition at line 1054 of file CtrlBrowseTree.cpp.

References m_nBuffer, m_nCount, m_pList, and NULL.

Referenced by CBrowseTreeCtrl::Clear(), and ~CBrowseTreeItem().

void CBrowseTreeItem::Delete int  nItem  ) 
 

Definition at line 1041 of file CtrlBrowseTree.cpp.

References m_bSelected, m_nCount, and m_pList.

void CBrowseTreeItem::Delete CBrowseTreeItem pItem  ) 
 

Definition at line 1022 of file CtrlBrowseTree.cpp.

References m_nCount, and m_pList.

void CBrowseTreeItem::Delete  ) 
 

Definition at line 1017 of file CtrlBrowseTree.cpp.

References Delete(), and m_pParent.

Referenced by Delete().

int CBrowseTreeItem::GetChildCount  )  const
 

Definition at line 1080 of file CtrlBrowseTree.cpp.

References m_nCount, and m_pList.

Referenced by CBrowseTreeCtrl::Expand(), and CBrowseTreeCtrl::OnTreePacket().

BOOL CBrowseTreeItem::IsVisible  )  const
 

Definition at line 1070 of file CtrlBrowseTree.cpp.

References m_pParent.

Referenced by CBrowseTreeCtrl::Expand(), and CBrowseTreeCtrl::Select().

void CBrowseTreeItem::Paint CDC &  dc,
CRect &  rc,
BOOL  bTarget,
COLORREF  crBack = CLR_NONE
const
 

Definition at line 1097 of file CtrlBrowseTree.cpp.

References CoolInterface, CShellIcons::GetHandle(), m_bExpanded, m_bSelected, CCoolInterface::m_crHighlight, CCoolInterface::m_crHiText, CCoolInterface::m_crText, CCoolInterface::m_crWindow, m_nCount, m_nIcon16, m_sText, NULL, ShellIcons, SHI_FOLDER_CLOSED, SHI_FOLDER_OPEN, SHI_MINUS, and SHI_PLUS.

Referenced by CBrowseTreeCtrl::Paint().


Member Data Documentation

BOOL CBrowseTreeItem::m_bBold
 

Definition at line 129 of file CtrlBrowseTree.h.

Referenced by AddXML(), CBrowseTreeItem(), CBrowseTreeCtrl::GetRect(), and CBrowseTreeCtrl::Paint().

BOOL CBrowseTreeItem::m_bContract1
 

Definition at line 124 of file CtrlBrowseTree.h.

Referenced by CBrowseTreeItem(), CBrowseTreeCtrl::CollapseRecursive(), and CBrowseTreeCtrl::Expand().

BOOL CBrowseTreeItem::m_bContract2
 

Definition at line 125 of file CtrlBrowseTree.h.

Referenced by CBrowseTreeItem().

BOOL CBrowseTreeItem::m_bExpanded
 

Definition at line 122 of file CtrlBrowseTree.h.

Referenced by CBrowseTreeItem(), CBrowseTreeCtrl::CollapseRecursive(), CBrowseTreeCtrl::Expand(), CBrowseTreeCtrl::GetRect(), CBrowseTreeCtrl::HitTest(), CBrowseTreeCtrl::OnKeyDown(), CBrowseTreeCtrl::OnTreePacket(), Paint(), CBrowseTreeCtrl::Paint(), and CBrowseFrameCtrl::SelectTree().

BOOL CBrowseTreeItem::m_bSelected
 

Definition at line 123 of file CtrlBrowseTree.h.

Referenced by CBrowseTreeItem(), Delete(), CBrowseTreeCtrl::DeselectAll(), CBrowseTreeCtrl::OnLButtonDown(), Paint(), and CBrowseTreeCtrl::Select().

int CBrowseTreeItem::m_nBuffer
 

Definition at line 117 of file CtrlBrowseTree.h.

Referenced by Add(), CBrowseTreeItem(), and Clear().

DWORD CBrowseTreeItem::m_nCleanCookie
 

Definition at line 120 of file CtrlBrowseTree.h.

Referenced by CBrowseTreeItem().

DWORD CBrowseTreeItem::m_nCookie
 

Definition at line 127 of file CtrlBrowseTree.h.

Referenced by CBrowseTreeItem().

int CBrowseTreeItem::m_nCount
 

Definition at line 116 of file CtrlBrowseTree.h.

Referenced by Add(), CBrowseTreeItem(), CBrowseTreeCtrl::CleanItems(), Clear(), CBrowseTreeCtrl::Clear(), CBrowseTreeCtrl::CollapseRecursive(), Delete(), CBrowseTreeCtrl::DeselectAll(), GetChildCount(), CBrowseTreeCtrl::GetRect(), CBrowseTreeCtrl::HitTest(), CBrowseTreeCtrl::OnKeyDown(), CBrowseTreeCtrl::OnLButtonDblClk(), CBrowseTreeCtrl::OnLButtonDown(), CBrowseTreeCtrl::OnPaint(), Paint(), CBrowseTreeCtrl::Paint(), and CBrowseFrameCtrl::SelectTree().

DWORD CBrowseTreeItem::m_nFiles
 

Definition at line 134 of file CtrlBrowseTree.h.

Referenced by CBrowseTreeItem(), CBrowseTreeCtrl::OnTreePacket(), and CBrowseFrameCtrl::SelectTree().

int CBrowseTreeItem::m_nIcon16
 

Definition at line 130 of file CtrlBrowseTree.h.

Referenced by AddXML(), CBrowseTreeItem(), and Paint().

DWORD* CBrowseTreeItem::m_pFiles
 

Definition at line 133 of file CtrlBrowseTree.h.

Referenced by CBrowseTreeItem(), CBrowseTreeCtrl::OnTreePacket(), CBrowseFrameCtrl::SelectTree(), and ~CBrowseTreeItem().

CBrowseTreeItem** CBrowseTreeItem::m_pList
 

Definition at line 115 of file CtrlBrowseTree.h.

Referenced by Add(), CBrowseTreeItem(), CBrowseTreeCtrl::CleanItems(), Clear(), CBrowseTreeCtrl::CollapseRecursive(), Delete(), CBrowseTreeCtrl::DeselectAll(), GetChildCount(), CBrowseTreeCtrl::GetRect(), CBrowseTreeCtrl::HitTest(), CBrowseTreeCtrl::OnKeyDown(), CBrowseTreeCtrl::OnPaint(), CBrowseTreeCtrl::Paint(), CBrowseFrameCtrl::SelectTree(), and ~CBrowseTreeItem().

CBrowseTreeItem* CBrowseTreeItem::m_pParent
 

Definition at line 114 of file CtrlBrowseTree.h.

Referenced by CBrowseTreeItem(), Delete(), CBrowseTreeCtrl::Highlight(), IsVisible(), and CBrowseTreeCtrl::OnKeyDown().

CSchema* CBrowseTreeItem::m_pSchema
 

Definition at line 132 of file CtrlBrowseTree.h.

Referenced by AddXML(), CBrowseTreeItem(), and CBrowseFrameCtrl::OnTreeSelection().

CBrowseTreeItem* CBrowseTreeItem::m_pSelNext
 

Definition at line 119 of file CtrlBrowseTree.h.

Referenced by CBrowseTreeItem(), CBrowseFrameCtrl::OnTreeSelection(), and CBrowseTreeCtrl::Select().

CBrowseTreeItem* CBrowseTreeItem::m_pSelPrev
 

Definition at line 118 of file CtrlBrowseTree.h.

Referenced by CBrowseTreeItem(), and CBrowseTreeCtrl::Select().

CString CBrowseTreeItem::m_sText
 

Definition at line 128 of file CtrlBrowseTree.h.

Referenced by Add(), AddXML(), CBrowseTreeCtrl::GetRect(), CBrowseTreeCtrl::OnTreePacket(), Paint(), and CBrowseTreeCtrl::Paint().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:04 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2