#include <CtrlDownloadTip.h>
Inheritance diagram for CDownloadTipCtrl:
Public Member Functions | |
CDownloadTipCtrl () | |
virtual | ~CDownloadTipCtrl () |
Protected Member Functions | |
virtual BOOL | OnPrepare () |
virtual void | OnCalcSize (CDC *pDC) |
virtual void | OnShow () |
virtual void | OnHide () |
virtual void | OnPaint (CDC *pDC) |
void | OnCalcSize (CDC *pDC, CDownload *pDownload) |
void | OnCalcSize (CDC *pDC, CDownloadSource *pSource) |
void | OnPaint (CDC *pDC, CDownload *pDownload) |
void | OnPaint (CDC *pDC, CDownloadSource *pSource) |
void | PrepareFileInfo (CDownload *pDownload) |
void | DrawProgressBar (CDC *pDC, CPoint *pPoint, CDownload *pDownload) |
void | DrawProgressBar (CDC *pDC, CPoint *pPoint, CDownloadSource *pSource) |
afx_msg void | OnTimer (UINT nIDEvent) |
Protected Attributes | |
CString | m_sName |
CString | m_sSHA1 |
CString | m_sTiger |
CString | m_sED2K |
CString | m_sBTH |
CString | m_sURL |
CString | m_sSize |
CString | m_sType |
int | m_nIcon |
CLineGraph * | m_pGraph |
CGraphItem * | m_pItem |
CStringArray | m_pHeaderName |
CStringArray | m_pHeaderValue |
int | m_nHeaderWidth |
int | m_nStatWidth |
BOOL | m_bDrawGraph |
BOOL | m_bDrawError |
|
Definition at line 59 of file CtrlDownloadTip.cpp. References NULL. |
|
Definition at line 65 of file CtrlDownloadTip.cpp. References m_pGraph. |
|
Definition at line 757 of file CtrlDownloadTip.cpp. References CoolInterface, CFragmentBar::DrawSource(), CCoolInterface::m_crTipBack, CCoolInterface::m_crTipBorder, CCoolTipCtrl::m_sz, and TIP_TEXTHEIGHT. |
|
Definition at line 743 of file CtrlDownloadTip.cpp. References CoolInterface, CFragmentBar::DrawDownload(), CCoolInterface::m_crTipBack, CCoolInterface::m_crTipBorder, CCoolTipCtrl::m_sz, and TIP_TEXTHEIGHT. Referenced by OnPaint(). |
|
|
|
Reimplemented from CCoolTipCtrl. Definition at line 83 of file CtrlDownloadTip.cpp. References CDownloads::Check(), Downloads, CCoolTipCtrl::m_pContext, and CCoolTipCtrl::m_sz. |
|
Reimplemented from CCoolTipCtrl. Definition at line 106 of file CtrlDownloadTip.cpp. |
|
|
|
Reimplemented from CCoolTipCtrl. Definition at line 113 of file CtrlDownloadTip.cpp. References CDownloads::Check(), Downloads, CCoolTipCtrl::Hide(), CCoolTipCtrl::m_pContext, CTransfers::m_pSection, CCoolTipCtrl::OnPaint(), and Transfers. |
|
Reimplemented from CCoolTipCtrl. Definition at line 73 of file CtrlDownloadTip.cpp. References CCoolTipCtrl::CalcSizeHelper(), CTransfers::m_pSection, CCoolTipCtrl::m_sz, and Transfers. |
|
Reimplemented from CCoolTipCtrl. Definition at line 97 of file CtrlDownloadTip.cpp. References CLineGraph::AddItem(), CCoolTipCtrl::CreateLineGraph(), m_pGraph, and m_pItem. |
|
Reimplemented from CCoolTipCtrl. Definition at line 774 of file CtrlDownloadTip.cpp. References CGraphItem::Add(), CDownloads::Check(), Downloads, CDownloadTransfer::GetMeasuredSpeed(), CDownloadWithTransfers::GetMeasuredSpeed(), CLineGraph::m_nMaximum, CLineGraph::m_nUpdates, CCoolTipCtrl::m_pContext, m_pGraph, m_pItem, CTransfers::m_pSection, CDownloadSource::m_pTransfer, NULL, CCoolTipCtrl::OnTimer(), and Transfers. |
|
Definition at line 495 of file CtrlDownloadTip.cpp. References CSettings::General, CShellIcons::Get(), GUI_BASIC, CSettings::sGeneral::GUIMode, CED2K::HashToString(), CTigerNode::HashToString(), CSHA::HashToString(), IDS_TIP_NOHASHSET, LoadString(), CShellIcons::Lookup(), m_nIcon, m_sBTH, m_sED2K, m_sName, m_sSHA1, m_sSize, m_sTiger, m_sType, m_sURL, NULL, Settings, ShellIcons, SIZE_UNKNOWN, CSettings::SmartVolume(), and CSettings::sGeneral::VerboseMode. Referenced by OnCalcSize(). |
|
Definition at line 64 of file CtrlDownloadTip.h. Referenced by OnCalcSize(), and OnPaint(). |
|
Definition at line 63 of file CtrlDownloadTip.h. Referenced by OnCalcSize(), and OnPaint(). |
|
Definition at line 61 of file CtrlDownloadTip.h. Referenced by OnCalcSize(), and OnPaint(). |
|
Definition at line 54 of file CtrlDownloadTip.h. Referenced by OnPaint(), and PrepareFileInfo(). |
|
Definition at line 62 of file CtrlDownloadTip.h. Referenced by OnCalcSize(), and OnPaint(). |
|
Definition at line 56 of file CtrlDownloadTip.h. Referenced by OnHide(), OnPaint(), OnShow(), OnTimer(), and ~CDownloadTipCtrl(). |
|
Definition at line 59 of file CtrlDownloadTip.h. Referenced by OnCalcSize(), and OnPaint(). |
|
Definition at line 60 of file CtrlDownloadTip.h. Referenced by OnCalcSize(), and OnPaint(). |
|
Definition at line 57 of file CtrlDownloadTip.h. |
|
Definition at line 50 of file CtrlDownloadTip.h. Referenced by OnCalcSize(), OnPaint(), and PrepareFileInfo(). |
|
Definition at line 49 of file CtrlDownloadTip.h. Referenced by OnCalcSize(), OnPaint(), and PrepareFileInfo(). |
|
Definition at line 46 of file CtrlDownloadTip.h. Referenced by OnCalcSize(), OnPaint(), and PrepareFileInfo(). |
|
Definition at line 47 of file CtrlDownloadTip.h. Referenced by OnCalcSize(), OnPaint(), and PrepareFileInfo(). |
|
Definition at line 52 of file CtrlDownloadTip.h. Referenced by OnCalcSize(), OnPaint(), and PrepareFileInfo(). |
|
Definition at line 48 of file CtrlDownloadTip.h. Referenced by OnCalcSize(), OnPaint(), and PrepareFileInfo(). |
|
Definition at line 53 of file CtrlDownloadTip.h. Referenced by OnCalcSize(), OnPaint(), and PrepareFileInfo(). |
|
Definition at line 51 of file CtrlDownloadTip.h. Referenced by OnCalcSize(), OnPaint(), and PrepareFileInfo(). |