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

CLibraryTileItem Class Reference

#include <CtrlLibraryTileView.h>

List of all members.

Public Member Functions

 CLibraryTileItem (CAlbumFolder *pFolder)
virtual ~CLibraryTileItem ()
BOOL Update ()
void Paint (CDC *pDC, const CRect &rcBlock, CDC *pMemDC)

Public Attributes

CAlbumFolderm_pFolder
DWORD m_nCookie
BOOL m_bSelected
CString m_sTitle
CString m_sSubtitle1
CString m_sSubtitle2
int m_nIcon32
int m_nIcon48
BOOL m_bCollection

Protected Member Functions

void DrawText (CDC *pDC, const CRect *prcClip, int nX, int nY, LPCTSTR pszText, CRect *prcUnion=NULL)


Constructor & Destructor Documentation

CLibraryTileItem::CLibraryTileItem CAlbumFolder pFolder  ) 
 

Definition at line 854 of file CtrlLibraryTileView.cpp.

References m_bSelected, m_nCookie, m_pFolder, and Update().

CLibraryTileItem::~CLibraryTileItem  )  [virtual]
 

Definition at line 862 of file CtrlLibraryTileView.cpp.


Member Function Documentation

void CLibraryTileItem::DrawText CDC *  pDC,
const CRect *  prcClip,
int  nX,
int  nY,
LPCTSTR  pszText,
CRect *  prcUnion = NULL
[protected]
 

Definition at line 977 of file CtrlLibraryTileView.cpp.

References NULL.

Referenced by Paint().

void CLibraryTileItem::Paint CDC *  pDC,
const CRect &  rcBlock,
CDC *  pMemDC
 

Definition at line 901 of file CtrlLibraryTileView.cpp.

References CoolInterface, DrawText(), CShellIcons::GetHandle(), m_bCollection, m_bSelected, CCoolInterface::m_crDisabled, CCoolInterface::m_crHighlight, CCoolInterface::m_crHiText, CCoolInterface::m_crText, CCoolInterface::m_crWindow, CCoolInterface::m_fntBold, CCoolInterface::m_fntNormal, m_nIcon32, m_nIcon48, m_sSubtitle1, m_sSubtitle2, m_sTitle, NULL, ShellIcons, and SHI_O_COLLECTION.

Referenced by CLibraryTileView::OnPaint().

BOOL CLibraryTileItem::Update  ) 
 

Definition at line 869 of file CtrlLibraryTileView.cpp.

References m_bCollection, CAlbumFolder::m_bCollSHA1, m_nCookie, CSchema::m_nIcon32, m_nIcon32, CSchema::m_nIcon48, m_nIcon48, CAlbumFolder::m_nUpdateCookie, m_pFolder, CAlbumFolder::m_pSchema, CAlbumFolder::m_pXML, CAlbumFolder::m_sName, m_sSubtitle1, m_sSubtitle2, CSchema::m_sTileLine1, CSchema::m_sTileLine2, m_sTitle, NULL, and CSchema::ResolveTokens().

Referenced by CLibraryTileItem(), and CLibraryTileView::Update().


Member Data Documentation

BOOL CLibraryTileItem::m_bCollection
 

Definition at line 135 of file CtrlLibraryTileView.h.

Referenced by Paint(), and Update().

BOOL CLibraryTileItem::m_bSelected
 

Definition at line 129 of file CtrlLibraryTileView.h.

Referenced by CLibraryTileItem(), CLibraryTileView::OnLButtonUp(), Paint(), CLibraryTileView::SelectTo(), and CLibraryTileView::Update().

DWORD CLibraryTileItem::m_nCookie
 

Definition at line 128 of file CtrlLibraryTileView.h.

Referenced by CLibraryTileItem(), and Update().

int CLibraryTileItem::m_nIcon32
 

Definition at line 133 of file CtrlLibraryTileView.h.

Referenced by Paint(), and Update().

int CLibraryTileItem::m_nIcon48
 

Definition at line 134 of file CtrlLibraryTileView.h.

Referenced by Paint(), and Update().

CAlbumFolder* CLibraryTileItem::m_pFolder
 

Definition at line 127 of file CtrlLibraryTileView.h.

Referenced by CLibraryTileItem(), CLibraryTileView::OnLibraryAlbumDelete(), CLibraryTileView::OnLibraryAlbumOpen(), CLibraryTileView::OnLibraryAlbumProperties(), Update(), and CLibraryTileView::Update().

CString CLibraryTileItem::m_sSubtitle1
 

Definition at line 131 of file CtrlLibraryTileView.h.

Referenced by Paint(), and Update().

CString CLibraryTileItem::m_sSubtitle2
 

Definition at line 132 of file CtrlLibraryTileView.h.

Referenced by Paint(), and Update().

CString CLibraryTileItem::m_sTitle
 

Definition at line 130 of file CtrlLibraryTileView.h.

Referenced by Paint(), CLibraryTileView::SortList(), and 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