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

CMainTabBarCtrl Class Reference

#include <CtrlMainTabBar.h>

List of all members.

Public Member Functions

 CMainTabBarCtrl ()
virtual ~CMainTabBarCtrl ()
BOOL Create (CWnd *pParentWnd, DWORD dwStyle, UINT nID)
BOOL HasLocalVersion ()
void OnSkinChange ()
virtual void OnUpdateCmdUI (CFrameWnd *pTarget, BOOL bDisableIfNoHndler)
virtual CSize CalcFixedLayout (BOOL bStretch, BOOL bHorz)
TabItemHitTest (const CPoint &point) const
virtual int OnToolHitTest (CPoint point, TOOLINFO *pTI) const
virtual void DoPaint (CDC *pDC)

Protected Member Functions

afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg BOOL OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message)
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
afx_msg void OnLButtonDblClk (UINT nFlags, CPoint point)
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
afx_msg void OnRButtonDown (UINT nFlags, CPoint point)
afx_msg void OnTimer (UINT nIDEvent)

Protected Attributes

CPtrList m_pItems
CSkinWindowm_pSkin
TabItemm_pHover
TabItemm_pDown
CDC m_dcSkin
CBitmap m_bmSkin
HBITMAP m_hOldSkin

Classes

class  TabItem


Constructor & Destructor Documentation

CMainTabBarCtrl::CMainTabBarCtrl  ) 
 

Definition at line 47 of file CtrlMainTabBar.cpp.

References NULL.

CMainTabBarCtrl::~CMainTabBarCtrl  )  [virtual]
 

Definition at line 54 of file CtrlMainTabBar.cpp.

References m_bmSkin, m_dcSkin, m_hOldSkin, m_pItems, and NULL.


Member Function Documentation

CSize CMainTabBarCtrl::CalcFixedLayout BOOL  bStretch,
BOOL  bHorz
[virtual]
 

Definition at line 166 of file CtrlMainTabBar.cpp.

References CSkinWindow::GetAnchor(), m_pSkin, and NULL.

BOOL CMainTabBarCtrl::Create CWnd *  pParentWnd,
DWORD  dwStyle,
UINT  nID
 

Definition at line 72 of file CtrlMainTabBar.cpp.

References NULL.

Referenced by CMainWnd::OnCreate().

void CMainTabBarCtrl::DoPaint CDC *  pDC  )  [virtual]
 

Definition at line 245 of file CtrlMainTabBar.cpp.

References CoolInterface, CCoolInterface::DrawWatermark(), CCoolInterface::GetBuffer(), m_bmSkin, CSkinWindow::m_bmWatermark, CCoolInterface::m_crMidtone, m_dcSkin, m_hOldSkin, m_pDown, m_pHover, m_pItems, m_pSkin, NULL, CMainTabBarCtrl::TabItem::Paint(), and CMainTabBarCtrl::TabItem::Skin().

BOOL CMainTabBarCtrl::HasLocalVersion  ) 
 

Definition at line 79 of file CtrlMainTabBar.cpp.

References CSettings::General, CSettings::sGeneral::Language, m_pSkin, CSkinWindow::m_sLanguage, NULL, and Settings.

Referenced by CMainWnd::SetGUIMode().

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

Definition at line 191 of file CtrlMainTabBar.cpp.

References CMainTabBarCtrl::TabItem::HitTest(), m_pItems, and NULL.

Referenced by OnLButtonDown(), OnMouseMove(), OnSetCursor(), and OnToolHitTest().

int CMainTabBarCtrl::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Definition at line 145 of file CtrlMainTabBar.cpp.

References NULL.

void CMainTabBarCtrl::OnLButtonDblClk UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 326 of file CtrlMainTabBar.cpp.

References OnLButtonDown().

void CMainTabBarCtrl::OnLButtonDown UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 331 of file CtrlMainTabBar.cpp.

References HitTest(), CMainTabBarCtrl::TabItem::m_bEnabled, m_pDown, m_pHover, and NULL.

Referenced by OnLButtonDblClk().

void CMainTabBarCtrl::OnLButtonUp UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 352 of file CtrlMainTabBar.cpp.

References m_pDown, m_pHover, and NULL.

void CMainTabBarCtrl::OnMouseMove UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 315 of file CtrlMainTabBar.cpp.

References HitTest(), and m_pHover.

void CMainTabBarCtrl::OnRButtonDown UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 366 of file CtrlMainTabBar.cpp.

References m_pDown, m_pHover, and NULL.

BOOL CMainTabBarCtrl::OnSetCursor CWnd *  pWnd,
UINT  nHitTest,
UINT  message
[protected]
 

Definition at line 294 of file CtrlMainTabBar.cpp.

References HitTest(), IDC_HAND, and theApp.

void CMainTabBarCtrl::OnSkinChange  ) 
 

Definition at line 84 of file CtrlMainTabBar.cpp.

References CSkin::GetWindowSkin(), CSkinWindow::m_bmSkin, m_bmSkin, CSkinWindow::m_dcSkin, m_dcSkin, m_hOldSkin, m_pItems, m_pSkin, NULL, CSkinWindow::Prepare(), CMainTabBarCtrl::TabItem::Skin(), and Skin.

Referenced by CMainWnd::OnSkinChanged().

void CMainTabBarCtrl::OnTimer UINT  nIDEvent  )  [protected]
 

Definition at line 378 of file CtrlMainTabBar.cpp.

References m_pDown, m_pHover, and NULL.

int CMainTabBarCtrl::OnToolHitTest CPoint  point,
TOOLINFO *  pTI
const [virtual]
 

Definition at line 214 of file CtrlMainTabBar.cpp.

References HitTest(), LoadString(), CMainTabBarCtrl::TabItem::m_rc, and NULL.

void CMainTabBarCtrl::OnUpdateCmdUI CFrameWnd *  pTarget,
BOOL  bDisableIfNoHndler
[virtual]
 

Definition at line 153 of file CtrlMainTabBar.cpp.

References m_pItems, and CMainTabBarCtrl::TabItem::Update().

Referenced by CMainWnd::OnUpdateFrameTitle().


Member Data Documentation

CBitmap CMainTabBarCtrl::m_bmSkin [protected]
 

Definition at line 67 of file CtrlMainTabBar.h.

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

CDC CMainTabBarCtrl::m_dcSkin [protected]
 

Definition at line 66 of file CtrlMainTabBar.h.

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

HBITMAP CMainTabBarCtrl::m_hOldSkin [protected]
 

Definition at line 68 of file CtrlMainTabBar.h.

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

TabItem* CMainTabBarCtrl::m_pDown [protected]
 

Definition at line 64 of file CtrlMainTabBar.h.

Referenced by DoPaint(), OnLButtonDown(), OnLButtonUp(), OnRButtonDown(), and OnTimer().

TabItem* CMainTabBarCtrl::m_pHover [protected]
 

Definition at line 63 of file CtrlMainTabBar.h.

Referenced by DoPaint(), OnLButtonDown(), OnLButtonUp(), OnMouseMove(), OnRButtonDown(), and OnTimer().

CPtrList CMainTabBarCtrl::m_pItems [protected]
 

Definition at line 61 of file CtrlMainTabBar.h.

Referenced by DoPaint(), HitTest(), OnSkinChange(), OnUpdateCmdUI(), and ~CMainTabBarCtrl().

CSkinWindow* CMainTabBarCtrl::m_pSkin [protected]
 

Definition at line 62 of file CtrlMainTabBar.h.

Referenced by CalcFixedLayout(), DoPaint(), HasLocalVersion(), and OnSkinChange().


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