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

CLibraryTreeItem Class Reference

#include <CtrlLibraryTree.h>

List of all members.

Public Member Functions

 CLibraryTreeItem (CLibraryTreeItem *pParent=NULL)
virtual ~CLibraryTreeItem ()
CLibraryTreeItemAdd (LPCTSTR pszName)
void Delete ()
void Delete (CLibraryTreeItem *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
int GetFileList (CLibraryList *pList, BOOL bRecursive=FALSE) const

Public Attributes

CLibraryTreeItemm_pParent
CLibraryTreeItem ** m_pList
int m_nCount
int m_nBuffer
CLibraryTreeItemm_pSelPrev
CLibraryTreeItemm_pSelNext
DWORD m_nCleanCookie
BOOL m_bExpanded
BOOL m_bSelected
BOOL m_bContract1
BOOL m_bContract2
CLibraryFolderm_pPhysical
CAlbumFolderm_pVirtual
DWORD m_nCookie
CString m_sText
BOOL m_bBold
BOOL m_bShared
BOOL m_bCollection
int m_nIcon16


Constructor & Destructor Documentation

CLibraryTreeItem::CLibraryTreeItem CLibraryTreeItem pParent = NULL  ) 
 

Definition at line 1023 of file CtrlLibraryTree.cpp.

References m_bBold, m_bCollection, m_bContract1, m_bContract2, m_bExpanded, m_bSelected, m_bShared, m_nBuffer, m_nCleanCookie, m_nCookie, m_nCount, m_nIcon16, m_pList, m_pParent, m_pPhysical, m_pSelNext, m_pSelPrev, m_pVirtual, and NULL.

Referenced by Add().

CLibraryTreeItem::~CLibraryTreeItem  )  [virtual]
 

Definition at line 1047 of file CtrlLibraryTree.cpp.

References Clear(), and m_pList.


Member Function Documentation

CLibraryTreeItem * CLibraryTreeItem::Add LPCTSTR  pszName  ) 
 

Definition at line 1059 of file CtrlLibraryTree.cpp.

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

Referenced by CLibraryTreeView::Update().

void CLibraryTreeItem::Clear  ) 
 

Definition at line 1138 of file CtrlLibraryTree.cpp.

References m_nBuffer, m_nCount, m_pList, and NULL.

Referenced by CLibraryTreeCtrl::Clear(), and ~CLibraryTreeItem().

void CLibraryTreeItem::Delete int  nItem  ) 
 

Definition at line 1125 of file CtrlLibraryTree.cpp.

References m_bSelected, m_nCount, and m_pList.

void CLibraryTreeItem::Delete CLibraryTreeItem pItem  ) 
 

Definition at line 1106 of file CtrlLibraryTree.cpp.

References m_nCount, and m_pList.

void CLibraryTreeItem::Delete  ) 
 

Definition at line 1101 of file CtrlLibraryTree.cpp.

References Delete(), and m_pParent.

Referenced by Delete().

int CLibraryTreeItem::GetChildCount  )  const
 

Definition at line 1164 of file CtrlLibraryTree.cpp.

References m_nCount, and m_pList.

Referenced by CLibraryTreeCtrl::Expand().

int CLibraryTreeItem::GetFileList CLibraryList pList,
BOOL  bRecursive = FALSE
const
 

Definition at line 1227 of file CtrlLibraryTree.cpp.

References CLibraryFolders::CheckAlbum(), CLibraryFolders::CheckFolder(), CLibraryFolder::GetFileList(), LibraryFolders, m_pPhysical, and m_pVirtual.

BOOL CLibraryTreeItem::IsVisible  )  const
 

Definition at line 1154 of file CtrlLibraryTree.cpp.

References m_pParent.

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

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

Definition at line 1181 of file CtrlLibraryTree.cpp.

References CoolInterface, CShellIcons::GetHandle(), m_bCollection, m_bExpanded, CShareazaApp::m_bRTL, m_bSelected, m_bShared, 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, SHI_O_COLLECTION, SHI_O_LOCKED, SHI_PLUS, and theApp.

Referenced by CLibraryTreeCtrl::Paint().


Member Data Documentation

BOOL CLibraryTreeItem::m_bBold
 

Definition at line 143 of file CtrlLibraryTree.h.

Referenced by CLibraryTreeItem(), CLibraryTreeCtrl::GetRect(), CLibraryTreeCtrl::Paint(), and CLibraryTreeView::Update().

BOOL CLibraryTreeItem::m_bCollection
 

Definition at line 145 of file CtrlLibraryTree.h.

Referenced by CLibraryTreeItem(), Paint(), and CLibraryTreeView::Update().

BOOL CLibraryTreeItem::m_bContract1
 

Definition at line 136 of file CtrlLibraryTree.h.

Referenced by CLibraryTreeItem(), CLibraryTreeCtrl::CollapseRecursive(), and CLibraryTreeCtrl::Expand().

BOOL CLibraryTreeItem::m_bContract2
 

Definition at line 137 of file CtrlLibraryTree.h.

Referenced by CLibraryTreeItem().

BOOL CLibraryTreeItem::m_bExpanded
 

Definition at line 134 of file CtrlLibraryTree.h.

Referenced by CLibraryTreeItem(), CLibraryTreeCtrl::CollapseRecursive(), CLibraryTreeCtrl::Expand(), CLibraryTreeCtrl::GetRect(), CLibraryTreeCtrl::HitTest(), CLibraryTreeCtrl::OnKeyDown(), Paint(), CLibraryTreeCtrl::Paint(), CLibraryTreeCtrl::SelectAll(), and CLibraryTreeView::Update().

BOOL CLibraryTreeItem::m_bSelected
 

Definition at line 135 of file CtrlLibraryTree.h.

Referenced by CLibraryTreeItem(), Delete(), CLibraryTreeCtrl::DeselectAll(), CLibraryTreeCtrl::OnLButtonDown(), Paint(), CLibraryTreeCtrl::Select(), CLibraryTreeView::SelectFolder(), and CLibraryTreeView::Update().

BOOL CLibraryTreeItem::m_bShared
 

Definition at line 144 of file CtrlLibraryTree.h.

Referenced by CLibraryTreeItem(), Paint(), and CLibraryTreeView::Update().

int CLibraryTreeItem::m_nBuffer
 

Definition at line 129 of file CtrlLibraryTree.h.

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

DWORD CLibraryTreeItem::m_nCleanCookie
 

Definition at line 132 of file CtrlLibraryTree.h.

Referenced by CLibraryTreeItem(), and CLibraryTreeView::Update().

DWORD CLibraryTreeItem::m_nCookie
 

Definition at line 141 of file CtrlLibraryTree.h.

Referenced by CLibraryTreeItem(), and CLibraryTreeView::Update().

int CLibraryTreeItem::m_nCount
 

Definition at line 128 of file CtrlLibraryTree.h.

Referenced by Add(), CLibraryTreeCtrl::CleanItems(), Clear(), CLibraryTreeCtrl::Clear(), CLibraryTreeItem(), CLibraryTreeCtrl::CollapseRecursive(), Delete(), CLibraryTreeCtrl::DeselectAll(), GetChildCount(), CLibraryTreeCtrl::GetFolderItem(), CLibraryTreeCtrl::GetRect(), CLibraryTreeCtrl::HitTest(), CLibraryTreeCtrl::OnKeyDown(), CLibraryTreeCtrl::OnLButtonDblClk(), CLibraryTreeCtrl::OnLButtonDown(), CLibraryTreeCtrl::OnPaint(), Paint(), CLibraryTreeCtrl::Paint(), CLibraryTreeCtrl::SelectAll(), CLibraryTreeView::Update(), and CLibraryTreeView::UpdatePhysical().

int CLibraryTreeItem::m_nIcon16
 

Definition at line 146 of file CtrlLibraryTree.h.

Referenced by CLibraryTreeItem(), Paint(), and CLibraryTreeView::Update().

CLibraryTreeItem** CLibraryTreeItem::m_pList
 

Definition at line 127 of file CtrlLibraryTree.h.

Referenced by Add(), CLibraryTreeCtrl::CleanItems(), Clear(), CLibraryTreeItem(), CLibraryTreeCtrl::CollapseRecursive(), Delete(), CLibraryTreeCtrl::DeselectAll(), GetChildCount(), CLibraryTreeCtrl::GetFolderItem(), CLibraryTreeCtrl::GetRect(), CLibraryTreeCtrl::HitTest(), CLibraryTreeCtrl::OnKeyDown(), CLibraryTreeCtrl::OnPaint(), CLibraryTreeCtrl::Paint(), CLibraryTreeCtrl::SelectAll(), CLibraryTreeView::Update(), CLibraryTreeView::UpdatePhysical(), and ~CLibraryTreeItem().

CLibraryTreeItem* CLibraryTreeItem::m_pParent
 

Definition at line 126 of file CtrlLibraryTree.h.

Referenced by CLibraryTreeItem(), Delete(), CLibraryView::GetHeaderContent(), CLibraryTreeCtrl::Highlight(), IsVisible(), CLibraryTreeCtrl::OnKeyDown(), and CLibraryTreeView::OnLibraryParent().

CLibraryFolder* CLibraryTreeItem::m_pPhysical
 

Definition at line 139 of file CtrlLibraryTree.h.

Referenced by CLibraryTreeItem(), CLibraryTreeView::DropObjects(), CLibraryTreeCtrl::Expand(), GetFileList(), CLibraryTreeView::OnLibraryExplore(), and CLibraryTreeView::Update().

CLibraryTreeItem* CLibraryTreeItem::m_pSelNext
 

Definition at line 131 of file CtrlLibraryTree.h.

Referenced by CLibraryTileView::CheckAvailable(), CLibraryMetaPanel::CheckAvailable(), CLibraryFileView::CheckAvailable(), CLibraryTreeItem(), CLibraryTreeCtrl::CreateDragImage(), CLibraryTreeView::DropObjects(), CLibraryView::GetSelectedAlbum(), CLibraryHeaderPanel::GetSelectedAlbum(), CLibraryTreeView::OnLibraryExportCollection(), CLibraryTreeView::OnLibraryFolderDelete(), CLibraryTreeView::OnLibraryFolderEnqueue(), CLibraryTreeView::OnLibraryFolderFileProperties(), CLibraryTreeView::OnLibraryFolderMetadata(), CLibraryTreeView::OnLibraryRebuild(), CLibraryTreeView::OnLibraryRemove(), CLibraryTreeView::OnLibraryScan(), CLibraryTreeView::OnLibraryShared(), CLibraryFileView::OnLibraryUnlink(), CLibraryTreeView::OnUpdateLibraryFolderEnqueue(), CLibraryTreeView::OnUpdateLibraryRemove(), CLibraryTreeView::OnUpdateLibraryShared(), CLibraryFileView::OnUpdateLibraryUnlink(), CLibraryTreeCtrl::Select(), CLibraryFrame::SetView(), CLibraryTreeCtrl::StartDragging(), CLibraryTileView::Update(), CLibraryDetailView::Update(), and CLibraryAlbumView::Update().

CLibraryTreeItem* CLibraryTreeItem::m_pSelPrev
 

Definition at line 130 of file CtrlLibraryTree.h.

Referenced by CLibraryTreeItem(), and CLibraryTreeCtrl::Select().

CAlbumFolder* CLibraryTreeItem::m_pVirtual
 

Definition at line 140 of file CtrlLibraryTree.h.

Referenced by CLibraryTileView::CheckAvailable(), CLibraryMetaPanel::CheckAvailable(), CLibraryFileView::CheckAvailable(), CLibraryTreeItem(), CLibraryTreeView::DropObjects(), CLibraryTreeCtrl::Expand(), GetFileList(), CLibraryView::GetHeaderContent(), CLibraryView::GetSelectedAlbum(), CLibraryHeaderPanel::GetSelectedAlbum(), CLibraryTreeCtrl::OnLButtonDown(), CLibraryTreeView::OnLibraryExportCollection(), CLibraryTreeView::OnLibraryFolderDelete(), CLibraryTreeView::OnLibraryFolderNew(), CLibraryTreeView::OnLibraryFolderProperties(), CLibraryFileView::OnLibraryUnlink(), CLibraryTreeView::OnUpdateLibraryFolderDelete(), CLibraryTreeView::OnUpdateLibraryFolderMetadata(), CLibraryTreeView::OnUpdateLibraryFolderNew(), CLibraryTreeView::OnUpdateLibraryFolderProperties(), CLibraryFileView::OnUpdateLibraryUnlink(), CLibraryTreeView::Update(), CLibraryTileView::Update(), CLibraryFrame::Update(), CLibraryDetailView::Update(), and CLibraryAlbumView::Update().

CString CLibraryTreeItem::m_sText
 

Definition at line 142 of file CtrlLibraryTree.h.

Referenced by Add(), CLibraryView::GetHeaderContent(), CLibraryTreeCtrl::GetRect(), Paint(), CLibraryTreeCtrl::Paint(), and CLibraryTreeView::Update().


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