#include <CtrlDownloadTabBar.h>
Public Member Functions | |
CDownloadTabBar () | |
virtual | ~CDownloadTabBar () |
void | SetWatermark (HBITMAP hBitmap) |
void | Update (int nCookie) |
BOOL | DropShowTarget (CPtrList *pList, const CPoint &ptScreen) |
BOOL | DropObjects (CPtrList *pList, const CPoint &ptScreen) |
virtual BOOL | Create (CWnd *pParentWnd, DWORD dwStyle=WS_CHILD|WS_VISIBLE|CBRS_BOTTOM, UINT nID=AFX_IDW_STATUS_BAR) |
virtual CSize | CalcFixedLayout (BOOL bStretch, BOOL bHorz) |
virtual int | OnToolHitTest (CPoint point, TOOLINFO *pTI) const |
virtual void | DoPaint (CDC *pDC) |
virtual void | OnUpdateCmdUI (CFrameWnd *pTarget, BOOL bDisableIfNoHndler) |
Protected Member Functions | |
void | UpdateGroups (int nCookie) |
void | UpdateStates (int nCookie) |
TabItem * | HitTest (const CPoint &point, CRect *pItemRect=NULL) const |
BOOL | Select (TabItem *pHit) |
int | GetSelectedCount (BOOL bDownloads=FALSE) |
TabItem * | GetSelectedItem () |
CDownloadGroup * | GetSelectedGroup () |
void | GetSelectedDownloads (CPtrList *pDownloads) |
void | NotifySelection () |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonDblClk (UINT nFlags, CPoint point) |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnTimer (UINT nIDEvent) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct) |
afx_msg void | OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct) |
afx_msg void | OnDownloadGroupNew () |
afx_msg void | OnUpdateDownloadGroupRemove (CCmdUI *pCmdUI) |
afx_msg void | OnDownloadGroupRemove () |
afx_msg void | OnUpdateDownloadGroupProperties (CCmdUI *pCmdUI) |
afx_msg void | OnDownloadGroupProperties () |
afx_msg void | OnUpdateDownloadGroupResume (CCmdUI *pCmdUI) |
afx_msg void | OnDownloadGroupResume () |
afx_msg void | OnUpdateDownloadGroupPause (CCmdUI *pCmdUI) |
afx_msg void | OnDownloadGroupPause () |
afx_msg void | OnUpdateDownloadGroupClear (CCmdUI *pCmdUI) |
afx_msg void | OnDownloadGroupClear () |
Protected Attributes | |
CPtrList | m_pItems |
TabItem * | m_pHot |
BOOL | m_bTimer |
BOOL | m_bMenuGray |
int | m_nCookie |
int | m_nMaximumWidth |
UINT | m_nMessage |
CString | m_sMessage |
CBitmap | m_bmImage |
Friends | |
class | TabItem |
Classes | |
class | TabItem |
|
Definition at line 69 of file CtrlDownloadTabBar.cpp. References NULL. |
|
Definition at line 79 of file CtrlDownloadTabBar.cpp. References m_pItems. |
|
Definition at line 115 of file CtrlDownloadTabBar.cpp. |
|
Definition at line 92 of file CtrlDownloadTabBar.cpp. References CChildWnd::Create(), and NULL. Referenced by CDownloadsWnd::OnCreate(). |
|
Definition at line 241 of file CtrlDownloadTabBar.cpp. References CoolInterface, CCoolInterface::DrawWatermark(), CCoolInterface::GetBuffer(), m_bmImage, CCoolInterface::m_crDisabled, CCoolInterface::m_crMidtone, CCoolInterface::m_fntNormal, m_nMaximumWidth, m_pHot, m_pItems, m_sMessage, NULL, and CDownloadTabBar::TabItem::Paint(). |
|
Definition at line 816 of file CtrlDownloadTabBar.cpp. References CDownloadGroup::Add(), CDownloads::Check(), CDownloadGroups::Check(), DownloadGroups, Downloads, HitTest(), CDownloadTabBar::TabItem::m_pGroup, m_pHot, CDownloadGroups::m_pSection, CTransfers::m_pSection, NULL, Transfers, and CDownloadGroups::Unlink(). Referenced by CDownloadsWnd::CancelDrag(), and CDownloadsWnd::OnLButtonUp(). |
|
Definition at line 798 of file CtrlDownloadTabBar.cpp. References HitTest(), m_pHot, and NULL. Referenced by CDownloadsWnd::OnMouseMove(). |
|
Definition at line 447 of file CtrlDownloadTabBar.cpp. References CDownloadTabBar::TabItem::m_bSelected, CDownloadTabBar::TabItem::m_nCount, and m_pItems. Referenced by OnUpdateDownloadGroupClear(), OnUpdateDownloadGroupPause(), OnUpdateDownloadGroupProperties(), OnUpdateDownloadGroupRemove(), and OnUpdateDownloadGroupResume(). |
|
Definition at line 490 of file CtrlDownloadTabBar.cpp. References CDownloadGroups::Check(), CDownloadGroup::CopyList(), DownloadGroups, CDownloadTabBar::TabItem::m_bSelected, CDownloadTabBar::TabItem::m_pGroup, m_pItems, and CDownloadGroups::m_pSection. Referenced by OnDownloadGroupClear(), OnDownloadGroupPause(), and OnDownloadGroupResume(). |
|
Definition at line 484 of file CtrlDownloadTabBar.cpp. References GetSelectedItem(), CDownloadTabBar::TabItem::m_pGroup, and NULL. Referenced by OnDownloadGroupProperties(), OnDownloadGroupRemove(), and OnUpdateDownloadGroupRemove(). |
|
Definition at line 464 of file CtrlDownloadTabBar.cpp. References CDownloadTabBar::TabItem::m_bSelected, m_pItems, and NULL. Referenced by GetSelectedGroup(). |
|
Definition at line 191 of file CtrlDownloadTabBar.cpp. References m_nMaximumWidth, m_pItems, and NULL. Referenced by DropObjects(), DropShowTarget(), OnLButtonDblClk(), OnLButtonDown(), OnMouseMove(), OnRButtonUp(), and OnToolHitTest(). |
|
Definition at line 505 of file CtrlDownloadTabBar.cpp. Referenced by OnDownloadGroupNew(), OnDownloadGroupProperties(), OnDownloadGroupRemove(), OnLButtonDown(), and OnRButtonUp(). |
|
Definition at line 108 of file CtrlDownloadTabBar.cpp. |
|
Definition at line 777 of file CtrlDownloadTabBar.cpp. References CDownloads::Check(), Downloads, GetSelectedDownloads(), IDS_DOWNLOAD_CLEAR_GROUP, LoadString(), CTransfers::m_pSection, and Transfers. |
|
Definition at line 689 of file CtrlDownloadTabBar.cpp. References CDownloadGroups::Add(), CDownloadGroups::Check(), DownloadGroups, CDownloadGroup::LinkAll(), CTransfers::m_pSection, NotifySelection(), CDownloadGroups::Remove(), and Transfers. |
|
Definition at line 758 of file CtrlDownloadTabBar.cpp. References CDownloads::Check(), Downloads, GetSelectedDownloads(), CTransfers::m_pSection, and Transfers. |
|
Definition at line 728 of file CtrlDownloadTabBar.cpp. References GetSelectedGroup(), and NotifySelection(). |
|
Definition at line 717 of file CtrlDownloadTabBar.cpp. References DownloadGroups, GetSelectedGroup(), NotifySelection(), and CDownloadGroups::Remove(). |
|
Definition at line 739 of file CtrlDownloadTabBar.cpp. References CDownloads::Check(), Downloads, GetSelectedDownloads(), CTransfers::m_pSection, and Transfers. |
|
Definition at line 429 of file CtrlDownloadTabBar.cpp. References CoolMenu, and CCoolMenu::OnDrawItem(). |
|
Definition at line 386 of file CtrlDownloadTabBar.cpp. References HitTest(), ID_DOWNLOAD_GROUP_PROPERTIES, and OnLButtonDown(). |
|
Definition at line 357 of file CtrlDownloadTabBar.cpp. References HitTest(), NotifySelection(), and Select(). Referenced by OnLButtonDblClk(). |
|
Definition at line 424 of file CtrlDownloadTabBar.cpp. References CoolMenu, and CCoolMenu::OnMeasureItem(). |
|
Definition at line 310 of file CtrlDownloadTabBar.cpp. References HitTest(), m_bTimer, m_pHot, NULL, and CDownloadsWnd::OnMouseMove(). |
|
Definition at line 397 of file CtrlDownloadTabBar.cpp. References CoolMenu, HitTest(), ID_DOWNLOAD_GROUP_PROPERTIES, m_bMenuGray, CShareazaApp::m_bRTL, NotifySelection(), CCoolMenu::RegisterEdge(), Select(), Skin, theApp, and CSkin::TrackPopupMenu(). |
|
Definition at line 334 of file CtrlDownloadTabBar.cpp. References m_bTimer, m_pHot, NULL, and CDownloadsWnd::OnTimer(). |
|
Definition at line 224 of file CtrlDownloadTabBar.cpp. References HitTest(), CDownloadTabBar::TabItem::m_pGroup, CDownloadTabBar::TabItem::m_sCaption, and NULL. |
|
Definition at line 95 of file CtrlDownloadTabBar.h. |
|
Definition at line 772 of file CtrlDownloadTabBar.cpp. References GetSelectedCount(). |
|
Definition at line 753 of file CtrlDownloadTabBar.cpp. References GetSelectedCount(). |
|
Definition at line 723 of file CtrlDownloadTabBar.cpp. References GetSelectedCount(). |
|
Definition at line 712 of file CtrlDownloadTabBar.cpp. References DownloadGroups, GetSelectedCount(), GetSelectedGroup(), and CDownloadGroups::GetSuperGroup(). |
|
Definition at line 734 of file CtrlDownloadTabBar.cpp. References GetSelectedCount(). |
|
Definition at line 434 of file CtrlDownloadTabBar.cpp. References m_pItems, and CDownloadTabBar::TabItem::Select(). Referenced by OnLButtonDown(), and OnRButtonUp(). |
|
Definition at line 99 of file CtrlDownloadTabBar.cpp. |
|
Definition at line 129 of file CtrlDownloadTabBar.cpp. References DownloadGroups, CDownloadGroups::GetGroupCookie(), m_nCookie, CDownloadGroups::m_pSection, UpdateGroups(), and UpdateStates(). Referenced by CDownloadsWnd::Update(). |
|
Definition at line 143 of file CtrlDownloadTabBar.cpp. References DownloadGroups, CDownloadGroups::GetGroupCookie(), CDownloadGroups::GetIterator(), CDownloadGroups::GetNext(), m_nCookie, CDownloadTabBar::TabItem::m_pGroup, m_pHot, m_pItems, NULL, and TabItem. Referenced by Update(). |
|
Definition at line 168 of file CtrlDownloadTabBar.cpp. References CDownloadGroups::Check(), DownloadGroups, CDownloadTabBar::TabItem::m_pGroup, m_pItems, and CDownloadTabBar::TabItem::Update(). Referenced by Update(). |
|
Definition at line 120 of file CtrlDownloadTabBar.h. Referenced by UpdateGroups(). |
|
Definition at line 64 of file CtrlDownloadTabBar.h. Referenced by OnRButtonUp(). |
|
Definition at line 70 of file CtrlDownloadTabBar.h. Referenced by DoPaint(), and SetWatermark(). |
|
Definition at line 63 of file CtrlDownloadTabBar.h. Referenced by OnMouseMove(), and OnTimer(). |
|
Definition at line 65 of file CtrlDownloadTabBar.h. Referenced by Update(), and UpdateGroups(). |
|
Definition at line 67 of file CtrlDownloadTabBar.h. |
|
Definition at line 68 of file CtrlDownloadTabBar.h. |
|
Definition at line 62 of file CtrlDownloadTabBar.h. Referenced by DoPaint(), DropObjects(), DropShowTarget(), OnMouseMove(), OnTimer(), and UpdateGroups(). |
|
Definition at line 61 of file CtrlDownloadTabBar.h. Referenced by DoPaint(), GetSelectedCount(), GetSelectedDownloads(), GetSelectedItem(), HitTest(), Select(), UpdateGroups(), UpdateStates(), and ~CDownloadTabBar(). |
|
Definition at line 69 of file CtrlDownloadTabBar.h. Referenced by DoPaint(). |