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

CAlbumTipCtrl Class Reference

#include <CtrlTipAlbum.h>

Inheritance diagram for CAlbumTipCtrl:

CCoolTipCtrl List of all members.

Public Member Functions

 CAlbumTipCtrl ()
virtual ~CAlbumTipCtrl ()
virtual BOOL OnPrepare ()
virtual void OnCalcSize (CDC *pDC)
virtual void OnPaint (CDC *pDC)

Protected Member Functions

void DrawThumb (CDC *pDC, CRect &rcThumb)

Protected Attributes

CString m_sName
CString m_sType
int m_nIcon32
int m_nIcon48
BOOL m_bCollection
CMetaList m_pMetadata
int m_nKeyWidth
COLORREF m_crLight

Constructor & Destructor Documentation

CAlbumTipCtrl::CAlbumTipCtrl  ) 
 

Definition at line 50 of file CtrlTipAlbum.cpp.

References CCoolInterface::CalculateColour(), CoolInterface, and CCoolInterface::m_crTipBack.

CAlbumTipCtrl::~CAlbumTipCtrl  )  [virtual]
 

Definition at line 55 of file CtrlTipAlbum.cpp.


Member Function Documentation

void CAlbumTipCtrl::DrawThumb CDC *  pDC,
CRect &  rcThumb
[protected]
 

Definition at line 174 of file CtrlTipAlbum.cpp.

References CoolInterface, CShellIcons::GetHandle(), m_bCollection, m_crLight, CCoolInterface::m_crTipBorder, m_nIcon32, m_nIcon48, ShellIcons, and SHI_O_COLLECTION.

Referenced by OnPaint().

void CAlbumTipCtrl::OnCalcSize CDC *  pDC  )  [virtual]
 

Reimplemented from CCoolTipCtrl.

Definition at line 114 of file CtrlTipAlbum.cpp.

References CCoolTipCtrl::AddSize(), CMetaList::ComputeWidth(), CoolInterface, CMetaList::GetCount(), CCoolInterface::m_fntNormal, m_nKeyWidth, m_pMetadata, m_sName, m_sType, CCoolTipCtrl::m_sz, TIP_GAP, TIP_RULE, and TIP_TEXTHEIGHT.

void CAlbumTipCtrl::OnPaint CDC *  pDC  )  [virtual]
 

Reimplemented from CCoolTipCtrl.

Definition at line 138 of file CtrlTipAlbum.cpp.

References CoolInterface, CCoolTipCtrl::DrawRule(), CCoolTipCtrl::DrawText(), DrawThumb(), CMetaList::GetIterator(), CMetaList::GetNext(), CCoolInterface::m_fntNormal, m_nKeyWidth, m_pMetadata, CMetaItem::m_sKey, m_sName, m_sType, CMetaItem::m_sValue, and TIP_TEXTHEIGHT.

BOOL CAlbumTipCtrl::OnPrepare  )  [virtual]
 

Reimplemented from CCoolTipCtrl.

Definition at line 62 of file CtrlTipAlbum.cpp.

References CCoolTipCtrl::CalcSizeHelper(), CLibraryFolders::CheckAlbum(), CMetaList::Clean(), CMetaList::Clear(), CMetaList::Combine(), IDS_TIP_FOLDER, Library, LibraryFolders, LoadString(), m_bCollection, CAlbumFolder::m_bCollSHA1, CShareazaApp::m_bRTL, CSchema::m_nIcon32, m_nIcon32, CSchema::m_nIcon48, m_nIcon48, CCoolTipCtrl::m_pContext, m_pMetadata, CAlbumFolder::m_pSchema, CLibrary::m_pSection, CAlbumFolder::m_pXML, CAlbumFolder::m_sName, m_sName, CSchema::m_sTitle, m_sType, CCoolTipCtrl::m_sz, NULL, CMetaList::Setup(), SHI_FOLDER_OPEN, and theApp.


Member Data Documentation

BOOL CAlbumTipCtrl::m_bCollection [protected]
 

Definition at line 46 of file CtrlTipAlbum.h.

Referenced by DrawThumb(), and OnPrepare().

COLORREF CAlbumTipCtrl::m_crLight [protected]
 

Definition at line 49 of file CtrlTipAlbum.h.

Referenced by DrawThumb().

int CAlbumTipCtrl::m_nIcon32 [protected]
 

Definition at line 44 of file CtrlTipAlbum.h.

Referenced by DrawThumb(), and OnPrepare().

int CAlbumTipCtrl::m_nIcon48 [protected]
 

Definition at line 45 of file CtrlTipAlbum.h.

Referenced by DrawThumb(), and OnPrepare().

int CAlbumTipCtrl::m_nKeyWidth [protected]
 

Definition at line 48 of file CtrlTipAlbum.h.

Referenced by OnCalcSize(), and OnPaint().

CMetaList CAlbumTipCtrl::m_pMetadata [protected]
 

Definition at line 47 of file CtrlTipAlbum.h.

Referenced by OnCalcSize(), OnPaint(), and OnPrepare().

CString CAlbumTipCtrl::m_sName [protected]
 

Definition at line 42 of file CtrlTipAlbum.h.

Referenced by OnCalcSize(), OnPaint(), and OnPrepare().

CString CAlbumTipCtrl::m_sType [protected]
 

Definition at line 43 of file CtrlTipAlbum.h.

Referenced by OnCalcSize(), OnPaint(), and OnPrepare().


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