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

CMainTabBarCtrl::TabItem Class Reference

#include <CtrlMainTabBar.h>

List of all members.

Public Member Functions

 TabItem (CMainTabBarCtrl *pCtrl, LPCTSTR pszName)
void Skin (CSkinWindow *pSkin, CDC *pdcCache, CBitmap *pbmCache)
BOOL Update (CFrameWnd *pTarget)
BOOL HitTest (const CPoint &point) const
void Paint (CDC *pDstDC, CDC *pSrcDC, const CPoint &ptOffset, BOOL bHover, BOOL bDown)
virtual void Enable (BOOL bEnable)
virtual void SetCheck (BOOL bCheck)

Public Attributes

CMainTabBarCtrlm_pCtrl
CString m_sName
CRect m_rc
CRect m_rcSrc [5]
BOOL m_bEnabled
BOOL m_bSelected


Constructor & Destructor Documentation

CMainTabBarCtrl::TabItem::TabItem CMainTabBarCtrl pCtrl,
LPCTSTR  pszName
 

Definition at line 399 of file CtrlMainTabBar.cpp.

References CoolInterface, m_bEnabled, m_bSelected, m_pCtrl, m_sName, and CCoolInterface::NameToID().


Member Function Documentation

void CMainTabBarCtrl::TabItem::Enable BOOL  bEnable  )  [virtual]
 

Definition at line 492 of file CtrlMainTabBar.cpp.

References m_bEnabled.

BOOL CMainTabBarCtrl::TabItem::HitTest const CPoint &  point  )  const
 

Definition at line 462 of file CtrlMainTabBar.cpp.

References m_rc.

Referenced by CMainTabBarCtrl::HitTest().

void CMainTabBarCtrl::TabItem::Paint CDC *  pDstDC,
CDC *  pSrcDC,
const CPoint &  ptOffset,
BOOL  bHover,
BOOL  bDown
 

Definition at line 470 of file CtrlMainTabBar.cpp.

References m_bEnabled, m_bSelected, m_rc, m_rcSrc, and NULL.

Referenced by CMainTabBarCtrl::DoPaint().

void CMainTabBarCtrl::TabItem::SetCheck BOOL  bCheck  )  [virtual]
 

Definition at line 497 of file CtrlMainTabBar.cpp.

References m_bSelected.

void CMainTabBarCtrl::TabItem::Skin CSkinWindow pSkin,
CDC *  pdcCache,
CBitmap *  pbmCache
 

Definition at line 411 of file CtrlMainTabBar.cpp.

References CoolInterface, CCoolInterface::DrawWatermark(), CSkinWindow::GetAnchor(), CSkinWindow::GetPart(), CSkinWindow::m_bmWatermark, CCoolInterface::m_crMidtone, m_rc, m_rcSrc, m_sName, NULL, and CSkinWindow::PreBlend().

Referenced by CMainTabBarCtrl::DoPaint(), and CMainTabBarCtrl::OnSkinChange().

BOOL CMainTabBarCtrl::TabItem::Update CFrameWnd *  pTarget  ) 
 

Definition at line 449 of file CtrlMainTabBar.cpp.

References m_bEnabled, and m_bSelected.

Referenced by CMainTabBarCtrl::OnUpdateCmdUI().


Member Data Documentation

BOOL CMainTabBarCtrl::TabItem::m_bEnabled
 

Definition at line 45 of file CtrlMainTabBar.h.

Referenced by Enable(), CMainTabBarCtrl::OnLButtonDown(), Paint(), TabItem(), and Update().

BOOL CMainTabBarCtrl::TabItem::m_bSelected
 

Definition at line 46 of file CtrlMainTabBar.h.

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

CMainTabBarCtrl* CMainTabBarCtrl::TabItem::m_pCtrl
 

Definition at line 41 of file CtrlMainTabBar.h.

Referenced by TabItem().

CRect CMainTabBarCtrl::TabItem::m_rc
 

Definition at line 43 of file CtrlMainTabBar.h.

Referenced by HitTest(), CMainTabBarCtrl::OnToolHitTest(), Paint(), and Skin().

CRect CMainTabBarCtrl::TabItem::m_rcSrc[5]
 

Definition at line 44 of file CtrlMainTabBar.h.

Referenced by Paint(), and Skin().

CString CMainTabBarCtrl::TabItem::m_sName
 

Definition at line 42 of file CtrlMainTabBar.h.

Referenced by Skin(), and TabItem().


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