#include <CtrlMonitorBar.h>
Public Member Functions | |
CMonitorBarCtrl () | |
virtual | ~CMonitorBarCtrl () |
BOOL | Create (CWnd *pParentWnd, DWORD dwStyle, UINT nID) |
void | OnSkinChange () |
Public Attributes | |
CControlBar * | m_pSnapBar [2] |
CGraphItem * | m_pTxItem |
CGraphItem * | m_pRxItem |
DWORD | m_nMaximum |
DWORD | m_nCount |
Protected Member Functions | |
virtual CSize | CalcFixedLayout (BOOL bStretch, BOOL bHorz) |
virtual void | OnUpdateCmdUI (CFrameWnd *pTarget, BOOL bDisableIfNoHandler) |
virtual int | OnToolHitTest (CPoint point, TOOLINFO *pTI) const |
virtual void | DoPaint (CDC *pDC) |
void | PaintHistory (CDC *pDC, CRect *prc) |
void | PaintCurrent (CDC *pDC, CRect *prc, CGraphItem *pItem) |
void | PaintTab (CDC *pDC) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnDestroy () |
afx_msg void | OnSize (UINT nType, int cx, int cy) |
afx_msg void | OnTimer (UINT nIDEvent) |
afx_msg BOOL | OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message) |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
Protected Attributes | |
CBitmap | m_bmWatermark |
CRect | m_rcTrack |
CRect | m_rcTab |
BOOL | m_bTab |
HICON | m_hTab |
|
Definition at line 43 of file CtrlMonitorBar.cpp. References GRC_TOTAL_BANDWIDTH_IN, GRC_TOTAL_BANDWIDTH_OUT, and NULL. |
|
Definition at line 54 of file CtrlMonitorBar.cpp. |
|
Definition at line 100 of file CtrlMonitorBar.cpp. References m_pSnapBar, and NULL. |
|
Definition at line 63 of file CtrlMonitorBar.cpp. References NULL. Referenced by CMainWnd::OnCreate(). |
|
Definition at line 155 of file CtrlMonitorBar.cpp. References CoolInterface, CCoolInterface::DrawWatermark(), CCoolInterface::GetBuffer(), m_bmWatermark, CShareazaApp::m_bRTL, CCoolInterface::m_crDisabled, CCoolInterface::m_crMidtone, m_pRxItem, m_pTxItem, m_rcTrack, PaintCurrent(), PaintHistory(), PaintTab(), CGraphItem::SetHistory(), and theApp. |
|
Definition at line 70 of file CtrlMonitorBar.cpp. References IDI_POINTER_ARROW, m_hTab, NULL, and OnSkinChange(). |
|
Definition at line 91 of file CtrlMonitorBar.cpp. |
|
Definition at line 323 of file CtrlMonitorBar.cpp. References CSettings::sLive::BandwidthScale, CSettings::Live, m_bTab, m_rcTab, m_rcTrack, NULL, and Settings. |
|
Definition at line 306 of file CtrlMonitorBar.cpp. |
|
Definition at line 116 of file CtrlMonitorBar.cpp. |
|
Definition at line 146 of file CtrlMonitorBar.cpp. References CSkin::GetWatermark(), m_bmWatermark, NULL, and Skin. Referenced by OnCreate(), and CMainWnd::OnSkinChanged(). |
|
Definition at line 125 of file CtrlMonitorBar.cpp. References CSettings::Connection, CGraphItem::GetMaximum(), CSettings::sConnection::InSpeed, m_nCount, m_nMaximum, m_pRxItem, m_pTxItem, CSettings::sConnection::OutSpeed, Settings, and CGraphItem::Update(). |
|
Definition at line 57 of file CtrlMonitorBar.h. |
|
Definition at line 56 of file CtrlMonitorBar.h. |
|
Definition at line 271 of file CtrlMonitorBar.cpp. References CSettings::sLive::BandwidthScale, CGraphItem::GetValue(), CSettings::Live, CGraphItem::m_nCode, CGraphItem::m_nColour, CGraphItem::m_nLength, m_nMaximum, and Settings. Referenced by DoPaint(). |
|
Definition at line 196 of file CtrlMonitorBar.cpp. References CSettings::sLive::BandwidthScale, CSettings::Connection, CoolInterface, CGraphItem::GetValueAt(), CSettings::sConnection::InSpeed, CSettings::Live, m_bTab, CCoolInterface::m_fntNormal, CGraphItem::m_nLength, m_nMaximum, m_pRxItem, m_pTxItem, CSettings::sConnection::OutSpeed, Settings, and CSettings::SmartVolume(). Referenced by DoPaint(). |
|
Definition at line 286 of file CtrlMonitorBar.cpp. References CSettings::sLive::BandwidthScale, CSettings::Live, m_hTab, m_rcTab, m_rcTrack, NULL, and Settings. Referenced by DoPaint(). |
|
Definition at line 47 of file CtrlMonitorBar.h. Referenced by DoPaint(), and OnSkinChange(). |
|
Definition at line 50 of file CtrlMonitorBar.h. Referenced by OnLButtonDown(), and PaintHistory(). |
|
Definition at line 51 of file CtrlMonitorBar.h. Referenced by OnCreate(), and PaintTab(). |
|
Definition at line 45 of file CtrlMonitorBar.h. Referenced by OnTimer(). |
|
Definition at line 44 of file CtrlMonitorBar.h. Referenced by CRemoteWnd::OnPaint(), OnTimer(), PaintCurrent(), and PaintHistory(). |
|
Definition at line 43 of file CtrlMonitorBar.h. Referenced by DoPaint(), CRemoteWnd::OnPaint(), OnTimer(), PaintHistory(), and ~CMonitorBarCtrl(). |
|
Definition at line 41 of file CtrlMonitorBar.h. Referenced by CalcFixedLayout(), and CMainWnd::OnCreate(). |
|
Definition at line 42 of file CtrlMonitorBar.h. Referenced by DoPaint(), CRemoteWnd::OnPaint(), OnTimer(), PaintHistory(), and ~CMonitorBarCtrl(). |
|
Definition at line 49 of file CtrlMonitorBar.h. Referenced by OnLButtonDown(), and PaintTab(). |
|
Definition at line 48 of file CtrlMonitorBar.h. Referenced by DoPaint(), OnLButtonDown(), OnSetCursor(), and PaintTab(). |