#include <CtrlUploads.h>
Public Member Functions | |
CUploadsCtrl () | |
virtual | ~CUploadsCtrl () |
BOOL | Create (CWnd *pParentWnd, UINT nID) |
BOOL | Update () |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnDestroy () |
afx_msg void | OnSize (UINT nType, int cx, int cy) |
afx_msg void | OnPaint () |
afx_msg void | OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) |
afx_msg void | OnHScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) |
afx_msg BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint pt) |
afx_msg void | OnChangeHeader (NMHDR *pNotifyStruct, LRESULT *pResult) |
afx_msg void | OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonDblClk (UINT nFlags, CPoint point) |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnSetFocus (CWnd *pOldWnd) |
afx_msg void | OnKillFocus (CWnd *pNewWnd) |
Static Public Member Functions | |
static POSITION | GetQueueIterator () |
static CUploadQueue * | GetNextQueue (POSITION &pos) |
static POSITION | GetFileIterator (CUploadQueue *pQueue) |
static CUploadFile * | GetNextFile (CUploadQueue *pQueue, POSITION &pos, int *pnPosition=NULL) |
Protected Member Functions | |
void | InsertColumn (int nColumn, LPCTSTR pszCaption, int nFormat, int nWidth) |
void | SaveColumnState () |
BOOL | LoadColumnState () |
void | SelectTo (int nIndex) |
void | DeselectAll (CUploadFile *pExcept=NULL) |
BOOL | HitTest (const CPoint &point, CUploadQueue **ppQueue, CUploadFile **ppFile, int *pnIndex, RECT *prcItem) |
BOOL | GetAt (int nSelect, CUploadQueue **ppQueue, CUploadFile **ppFile) |
void | PaintQueue (CDC &dc, const CRect &rcRow, CUploadQueue *pQueue, BOOL bFocus) |
void | PaintFile (CDC &dc, const CRect &rcRow, CUploadQueue *pQueue, CUploadFile *pFile, int nPosition, BOOL bFocus) |
int | GetExpandableColumnX () const |
Protected Attributes | |
CHeaderCtrl | m_wndHeader |
CUploadTipCtrl | m_wndTip |
CImageList | m_pProtocols |
int | m_nFocus |
CUploadFile * | m_pDeselect |
int | m_nScrollWheelLines |
Friends | |
class | CUploadsWnd |
|
Definition at line 79 of file CtrlUploads.cpp. |
|
Definition at line 88 of file CtrlUploads.cpp. |
|
Definition at line 95 of file CtrlUploads.cpp. References NULL. Referenced by CUploadsWnd::OnCreate(). |
|
Definition at line 306 of file CtrlUploads.cpp. References CUploadFiles::GetIterator(), CUploadQueues::GetIterator(), CUploadFiles::GetNext(), CUploadQueues::GetNext(), CUploadFile::m_bSelected, CUploadQueue::m_bSelected, CUploadQueues::m_pHistoryQueue, CTransfers::m_pSection, CUploadQueues::m_pTorrentQueue, Transfers, UploadFiles, and UploadQueues. Referenced by OnLButtonDown(), OnLButtonUp(), OnRButtonUp(), and SelectTo(). |
|
Definition at line 400 of file CtrlUploads.cpp. References GetFileIterator(), GetNextFile(), GetNextQueue(), GetQueueIterator(), CUploadQueue::m_bExpanded, and NULL. Referenced by OnKeyDown(), and SelectTo(). |
|
Definition at line 1397 of file CtrlUploads.cpp. References m_wndHeader, and UPLOAD_COLUMN_TITLE. Referenced by OnLButtonDblClk(), and OnLButtonDown(). |
|
Definition at line 505 of file CtrlUploads.cpp. References CSettings::sUploads::FilterMask, CUploadFile::GetActive(), CUploadFiles::GetIterator(), CUploadFiles::GetNext(), CUploadTransfer::m_nProtocol, CUploadTransfer::m_nState, CUploadQueues::m_pHistoryQueue, CUploadTransfer::m_pQueue, CUploadQueues::m_pTorrentQueue, NULL, PROTOCOL_BT, Settings, ULF_ACTIVE, ULF_QUEUED, UploadFiles, UploadQueues, CSettings::Uploads, and upsNull. Referenced by GetAt(), HitTest(), OnPaint(), OnSize(), and CRemote::PageUploads(). |
|
Definition at line 560 of file CtrlUploads.cpp. References CSettings::sUploads::FilterMask, CUploadFile::GetActive(), CUploadFiles::GetNext(), CUploadTransfer::m_nProtocol, CUploadTransfer::m_nState, CUploadTransfer::m_pBaseFile, CUploadQueues::m_pHistoryQueue, CUploadTransfer::m_pQueue, CUploadQueues::m_pTorrentQueue, NULL, PROTOCOL_BT, Settings, ULF_QUEUED, UploadFiles, UploadQueues, CSettings::Uploads, and upsNull. Referenced by GetAt(), HitTest(), OnPaint(), OnSize(), and CRemote::PageUploads(). |
|
Definition at line 462 of file CtrlUploads.cpp. References CSettings::sUploads::FilterMask, CUploadQueues::GetIterator(), CUploadQueues::GetNext(), CUploadQueues::m_pHistoryQueue, CUploadQueues::m_pTorrentQueue, NULL, Settings, ULF_ACTIVE, ULF_HISTORY, ULF_QUEUED, UploadQueues, and CSettings::Uploads. Referenced by GetAt(), HitTest(), OnPaint(), OnSize(), and CRemote::PageUploads(). |
|
Definition at line 442 of file CtrlUploads.cpp. References CSettings::sUploads::FilterMask, CUploadQueues::GetIterator(), CUploadQueues::m_pHistoryQueue, CUploadQueues::m_pTorrentQueue, NULL, Settings, ULF_ACTIVE, ULF_HISTORY, ULF_QUEUED, ULF_TORRENT, UploadQueues, and CSettings::Uploads. Referenced by GetAt(), HitTest(), OnPaint(), OnSize(), and CRemote::PageUploads(). |
|
Definition at line 329 of file CtrlUploads.cpp. References GetFileIterator(), GetNextFile(), GetNextQueue(), GetQueueIterator(), HEADER_HEIGHT, ITEM_HEIGHT, CUploadQueue::m_bExpanded, and NULL. Referenced by CUploadsWnd::OnContextMenu(), OnLButtonDblClk(), OnLButtonDown(), and OnMouseMove(). |
|
Definition at line 153 of file CtrlUploads.cpp. References m_wndHeader. Referenced by OnCreate(). |
|
Definition at line 189 of file CtrlUploads.cpp. References m_wndHeader, and theApp. Referenced by OnCreate(). |
|
Definition at line 1161 of file CtrlUploads.cpp. References Update(). |
|
|
Definition at line 144 of file CtrlUploads.cpp. References SaveColumnState(). |
|
Definition at line 1105 of file CtrlUploads.cpp. References HEADER_HEIGHT, m_wndHeader, and NULL. |
|
Definition at line 1166 of file CtrlUploads.cpp. References CUploadFile::GetActive(), GetAt(), CCoolTipCtrl::Hide(), CUploadQueue::m_bExpanded, m_nFocus, CTransfers::m_pSection, m_wndTip, NULL, SelectTo(), Transfers, and Update(). |
|
Definition at line 1391 of file CtrlUploads.cpp. |
|
Definition at line 1293 of file CtrlUploads.cpp. References GetExpandableColumnX(), HitTest(), ID_UPLOADS_LAUNCH, CUploadQueue::m_bExpanded, CUploadFile::m_bSelected, CUploadQueue::m_pActive, CUploadTransfer::m_pBaseFile, CUploadQueue::m_pQueued, CTransfers::m_pSection, NULL, Transfers, and Update(). |
|
Definition at line 1224 of file CtrlUploads.cpp. References DeselectAll(), GetExpandableColumnX(), CCoolTipCtrl::Hide(), HitTest(), CUploadQueue::m_bExpanded, CUploadFile::m_bSelected, CUploadQueue::m_pActive, CUploadTransfer::m_pBaseFile, m_pDeselect, CUploadQueue::m_pQueued, CTransfers::m_pSection, m_wndTip, NULL, SelectTo(), Transfers, and Update(). Referenced by OnRButtonDown(). |
|
Definition at line 1363 of file CtrlUploads.cpp. References DeselectAll(), m_pDeselect, and NULL. |
|
Definition at line 1341 of file CtrlUploads.cpp. References CCoolTipCtrl::Hide(), HitTest(), m_wndTip, NULL, and CCoolTipCtrl::Show(). |
|
Definition at line 1155 of file CtrlUploads.cpp. References m_nScrollWheelLines, NULL, and OnVScroll(). |
|
Definition at line 705 of file CtrlUploads.cpp. References CoolInterface, GetFileIterator(), GetNextFile(), GetNextQueue(), GetQueueIterator(), HEADER_HEIGHT, ITEM_HEIGHT, CUploadQueue::m_bExpanded, CShareazaApp::m_bRTL, CCoolInterface::m_crWindow, CShareazaApp::m_gdiFont, m_nFocus, CTransfers::m_pSection, NULL, PaintFile(), PaintQueue(), theApp, and Transfers. |
|
Definition at line 1286 of file CtrlUploads.cpp. References CCoolTipCtrl::Hide(), m_wndTip, and OnLButtonDown(). |
|
Definition at line 1374 of file CtrlUploads.cpp. References DeselectAll(), m_pDeselect, and NULL. |
|
Definition at line 1385 of file CtrlUploads.cpp. |
|
Definition at line 635 of file CtrlUploads.cpp. References GetFileIterator(), GetNextFile(), GetNextQueue(), GetQueueIterator(), HEADER_HEIGHT, ITEM_HEIGHT, CUploadQueue::m_bExpanded, CUploadQueue::m_bSelected, m_nFocus, CTransfers::m_pSection, m_wndHeader, NULL, and Transfers. Referenced by Update(). |
|
Definition at line 1062 of file CtrlUploads.cpp. Referenced by OnMouseWheel(). |
|
|
|
Definition at line 168 of file CtrlUploads.cpp. References m_wndHeader, and theApp. Referenced by OnDestroy(). |
|
Definition at line 224 of file CtrlUploads.cpp. References DeselectAll(), GetAt(), HEADER_HEIGHT, ITEM_HEIGHT, CUploadFile::m_bSelected, CUploadQueue::m_bSelected, m_nFocus, m_pDeselect, CTransfers::m_pSection, NULL, Transfers, and Update(). Referenced by OnKeyDown(), and OnLButtonDown(). |
|
Definition at line 101 of file CtrlUploads.cpp. References OnSize(). Referenced by OnChangeHeader(), OnKeyDown(), OnLButtonDblClk(), OnLButtonDown(), CUploadsWnd::OnTimer(), CUploadsWnd::OnUploadsClearCompleted(), CUploadsWnd::OnUploadsFilterActive(), CUploadsWnd::OnUploadsFilterAll(), CUploadsWnd::OnUploadsFilterHistory(), CUploadsWnd::OnUploadsFilterQueued(), CUploadsWnd::OnUploadsFilterTorrent(), and SelectTo(). |
|
Definition at line 55 of file CtrlUploads.h. |
|
Definition at line 62 of file CtrlUploads.h. Referenced by OnCreate(), OnKeyDown(), OnPaint(), OnSize(), and SelectTo(). |
|
Definition at line 64 of file CtrlUploads.h. Referenced by OnMouseWheel(). |
|
Definition at line 63 of file CtrlUploads.h. Referenced by OnCreate(), OnLButtonDown(), OnLButtonUp(), OnRButtonUp(), and SelectTo(). |
|
Definition at line 61 of file CtrlUploads.h. Referenced by OnCreate(), and PaintQueue(). |
|
Definition at line 59 of file CtrlUploads.h. Referenced by GetExpandableColumnX(), InsertColumn(), LoadColumnState(), OnCreate(), OnHScroll(), OnSize(), CUploadsWnd::OnSkinChange(), PaintFile(), PaintQueue(), and SaveColumnState(). |
|
Definition at line 60 of file CtrlUploads.h. Referenced by OnCreate(), OnKeyDown(), OnLButtonDown(), OnMouseMove(), and OnRButtonDown(). |