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

CDownloadTabBar::TabItem Class Reference

#include <CtrlDownloadTabBar.h>

List of all members.

Public Member Functions

 TabItem (CDownloadGroup *pGroup, int nCookie)
virtual ~TabItem ()
BOOL Update (int nCookie)
BOOL Select (BOOL bSelect)
void Paint (CDownloadTabBar *pBar, CDC *pDC, CRect *pRect, BOOL bHot, BOOL bTransparent)

Public Attributes

CDownloadGroupm_pGroup
CString m_sCaption
int m_nImage
CString m_sName
int m_nCount
BOOL m_bSelected


Constructor & Destructor Documentation

CDownloadTabBar::TabItem::TabItem CDownloadGroup pGroup,
int  nCookie
 

Definition at line 515 of file CtrlDownloadTabBar.cpp.

References DownloadGroups, CDownloadGroups::GetSuperGroup(), m_bSelected, m_nImage, m_pGroup, and Update().

CDownloadTabBar::TabItem::~TabItem  )  [virtual]
 

Definition at line 524 of file CtrlDownloadTabBar.cpp.


Member Function Documentation

void CDownloadTabBar::TabItem::Paint CDownloadTabBar pBar,
CDC *  pDC,
CRect *  pRect,
BOOL  bHot,
BOOL  bTransparent
 

Definition at line 578 of file CtrlDownloadTabBar.cpp.

References CoolInterface, CShellIcons::GetHandle(), CShareazaApp::m_bRTL, m_bSelected, CCoolInterface::m_crBackCheckSel, CCoolInterface::m_crBackNormal, CCoolInterface::m_crBackSel, CCoolInterface::m_crBorder, CCoolInterface::m_crCmdText, CCoolInterface::m_crCmdTextSel, CCoolInterface::m_crDisabled, CCoolInterface::m_crMidtone, CCoolInterface::m_crShadow, m_nCount, m_nImage, m_sCaption, NULL, ShellIcons, and theApp.

Referenced by CDownloadTabBar::DoPaint().

BOOL CDownloadTabBar::TabItem::Select BOOL  bSelect  ) 
 

Definition at line 568 of file CtrlDownloadTabBar.cpp.

References m_bSelected.

Referenced by CDownloadTabBar::Select().

BOOL CDownloadTabBar::TabItem::Update int  nCookie  ) 
 

Definition at line 531 of file CtrlDownloadTabBar.cpp.

References CDownloadGroup::GetCount(), m_bSelected, m_nCount, CDownloadGroup::m_nImage, m_nImage, m_pGroup, m_sCaption, CDownloadGroup::m_sName, m_sName, and CDownloadGroup::SetCookie().

Referenced by TabItem(), and CDownloadTabBar::UpdateStates().


Member Data Documentation

BOOL CDownloadTabBar::TabItem::m_bSelected
 

Definition at line 50 of file CtrlDownloadTabBar.h.

Referenced by CDownloadTabBar::GetSelectedCount(), CDownloadTabBar::GetSelectedDownloads(), CDownloadTabBar::GetSelectedItem(), Paint(), Select(), TabItem(), and Update().

int CDownloadTabBar::TabItem::m_nCount
 

Definition at line 49 of file CtrlDownloadTabBar.h.

Referenced by CDownloadTabBar::GetSelectedCount(), Paint(), and Update().

int CDownloadTabBar::TabItem::m_nImage
 

Definition at line 47 of file CtrlDownloadTabBar.h.

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

CDownloadGroup* CDownloadTabBar::TabItem::m_pGroup
 

Definition at line 45 of file CtrlDownloadTabBar.h.

Referenced by CDownloadTabBar::DropObjects(), CDownloadTabBar::GetSelectedDownloads(), CDownloadTabBar::GetSelectedGroup(), CDownloadTabBar::OnToolHitTest(), TabItem(), Update(), CDownloadTabBar::UpdateGroups(), and CDownloadTabBar::UpdateStates().

CString CDownloadTabBar::TabItem::m_sCaption
 

Definition at line 46 of file CtrlDownloadTabBar.h.

Referenced by CDownloadTabBar::OnToolHitTest(), Paint(), and Update().

CString CDownloadTabBar::TabItem::m_sName
 

Definition at line 48 of file CtrlDownloadTabBar.h.

Referenced by Update().


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