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

CLibraryThumbItem Class Reference

#include <CtrlLibraryThumbView.h>

List of all members.

Public Types

enum  { thumbWaiting, thumbValid, thumbError }

Public Member Functions

 CLibraryThumbItem (CLibraryFile *pFile)
virtual ~CLibraryThumbItem ()
BOOL Update (CLibraryFile *pFile)
void Paint (CDC *pDC, const CRect &rcBlock, const CSize &szThumb, CDC *pMemDC)

Public Attributes

DWORD m_nIndex
DWORD m_nCookie
CString m_sText
BOOL m_bShared
BOOL m_bSelected
int m_nThumb
CBitmap m_bmThumb
CSize m_szThumb
int m_nShell


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
thumbWaiting 
thumbValid 
thumbError 

Definition at line 146 of file CtrlLibraryThumbView.h.


Constructor & Destructor Documentation

CLibraryThumbItem::CLibraryThumbItem CLibraryFile pFile  ) 
 

Definition at line 1075 of file CtrlLibraryThumbView.cpp.

References CShellIcons::Get(), m_bSelected, m_bShared, m_nCookie, m_nIndex, m_nShell, m_nThumb, m_sText, ShellIcons, and THUMB_ICON.

CLibraryThumbItem::~CLibraryThumbItem  )  [virtual]
 

Definition at line 1086 of file CtrlLibraryThumbView.cpp.


Member Function Documentation

void CLibraryThumbItem::Paint CDC *  pDC,
const CRect &  rcBlock,
const CSize &  szThumb,
CDC *  pMemDC
 

Definition at line 1112 of file CtrlLibraryThumbView.cpp.

References CoolInterface, CShellIcons::GetHandle(), m_bmThumb, m_bSelected, m_bShared, CCoolInterface::m_crBackNormal, CCoolInterface::m_crHighlight, CCoolInterface::m_crHiText, CCoolInterface::m_crMargin, CCoolInterface::m_crText, CCoolInterface::m_crWindow, m_nShell, m_nThumb, m_sText, m_szThumb, NULL, ShellIcons, THUMB_ICON, and thumbWaiting.

Referenced by CLibraryThumbView::OnPaint().

BOOL CLibraryThumbItem::Update CLibraryFile pFile  ) 
 

Definition at line 1093 of file CtrlLibraryThumbView.cpp.

References CLibraryFile::IsShared(), m_bmThumb, m_bShared, m_nCookie, m_nThumb, CLibraryFile::m_nUpdateCookie, CLibraryFile::m_sName, m_sText, and thumbWaiting.

Referenced by CLibraryThumbView::Update().


Member Data Documentation

CBitmap CLibraryThumbItem::m_bmThumb
 

Definition at line 142 of file CtrlLibraryThumbView.h.

Referenced by Paint(), and Update().

BOOL CLibraryThumbItem::m_bSelected
 

Definition at line 140 of file CtrlLibraryThumbView.h.

Referenced by CLibraryThumbItem(), CLibraryThumbView::OnLButtonUp(), Paint(), CLibraryThumbView::SelectTo(), and CLibraryThumbView::Update().

BOOL CLibraryThumbItem::m_bShared
 

Definition at line 138 of file CtrlLibraryThumbView.h.

Referenced by CLibraryThumbItem(), Paint(), and Update().

DWORD CLibraryThumbItem::m_nCookie
 

Definition at line 136 of file CtrlLibraryThumbView.h.

Referenced by CLibraryThumbItem(), and Update().

DWORD CLibraryThumbItem::m_nIndex
 

Definition at line 135 of file CtrlLibraryThumbView.h.

Referenced by CLibraryThumbItem(), CLibraryThumbView::HitTestIndex(), CLibraryThumbView::OnRun(), CLibraryThumbView::Select(), and CLibraryThumbView::Update().

int CLibraryThumbItem::m_nShell
 

Definition at line 144 of file CtrlLibraryThumbView.h.

Referenced by CLibraryThumbItem(), and Paint().

int CLibraryThumbItem::m_nThumb
 

Definition at line 141 of file CtrlLibraryThumbView.h.

Referenced by CLibraryThumbItem(), CLibraryThumbView::OnPaint(), Paint(), and Update().

CString CLibraryThumbItem::m_sText
 

Definition at line 137 of file CtrlLibraryThumbView.h.

Referenced by CLibraryThumbItem(), Paint(), CLibraryThumbView::SortList(), and Update().

CSize CLibraryThumbItem::m_szThumb
 

Definition at line 143 of file CtrlLibraryThumbView.h.

Referenced by Paint().


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