#include <GraphLine.h>
Inheritance diagram for CLineGraph:
Public Member Functions | |
CLineGraph () | |
virtual | ~CLineGraph () |
void | AddItem (CGraphItem *pItem) |
POSITION | GetItemIterator () const |
CGraphItem * | GetNextItem (POSITION &pos) const |
int | GetItemCount () const |
void | RemoveItem (CGraphItem *pItem) |
void | ClearItems () |
void | ResetMaximum (BOOL bForce=TRUE) |
virtual void | CreateDefaults () |
virtual void | Serialize (CArchive &ar) |
virtual BOOL | Update () |
virtual void | Clear () |
virtual void | Paint (CDC *pDC, CRect *pRect) |
Public Attributes | |
BOOL | m_bShowAxis |
BOOL | m_bShowGrid |
BOOL | m_bShowLegend |
COLORREF | m_crBack |
COLORREF | m_crGrid |
DWORD | m_nMinGridVert |
DWORD | m_nSpeed |
DWORD | m_nScale |
DWORD | m_nMaximum |
DWORD | m_nUpdates |
DWORD | m_tLastScale |
Protected Member Functions | |
void | PaintGrid (CDC *pDC, CRect *pRect) |
void | PaintLegend (CDC *pDC, CRect *pRect) |
Protected Attributes | |
CPtrList | m_pItems |
CPen | m_pGridPen |
|
Definition at line 41 of file GraphLine.cpp. References m_bShowAxis, m_bShowGrid, m_bShowLegend, m_crBack, m_crGrid, m_nMaximum, m_nMinGridVert, m_nScale, m_nSpeed, m_nUpdates, and m_tLastScale. |
|
Definition at line 57 of file GraphLine.cpp. References ClearItems(). |
|
Definition at line 65 of file GraphLine.cpp. References m_pItems. Referenced by CreateDefaults(), CGraphListDlg::OnGraphAdd(), CDownloadMonitorDlg::OnInitDialog(), CUploadTipCtrl::OnShow(), CNeighbourTipCtrl::OnShow(), and CDownloadTipCtrl::OnShow(). |
|
Reimplemented from CGraphBase. Definition at line 137 of file GraphLine.cpp. References GetItemIterator(), GetNextItem(), and m_nMaximum. |
|
Definition at line 92 of file GraphLine.cpp. References GetItemIterator(), GetNextItem(), and m_pItems. Referenced by ~CLineGraph(). |
|
Reimplemented from CGraphBase. Definition at line 104 of file GraphLine.cpp. References AddItem(), GRC_TOTAL_BANDWIDTH_IN, and GRC_TOTAL_BANDWIDTH_OUT. |
|
Definition at line 80 of file GraphLine.cpp. References m_pItems. Referenced by Serialize(). |
|
Definition at line 70 of file GraphLine.cpp. References m_pItems. Referenced by Clear(), ClearItems(), CGraphListDlg::OnInitDialog(), Paint(), PaintGrid(), PaintLegend(), ResetMaximum(), Serialize(), and Update(). |
|
Definition at line 75 of file GraphLine.cpp. References m_pItems. Referenced by Clear(), ClearItems(), CGraphListDlg::OnInitDialog(), Paint(), PaintGrid(), PaintLegend(), ResetMaximum(), Serialize(), and Update(). |
|
Reimplemented from CGraphBase. Definition at line 204 of file GraphLine.cpp. References GetItemIterator(), GetNextItem(), CGraphItem::GetValueAt(), m_bShowGrid, m_bShowLegend, m_crBack, m_crGrid, CShareazaApp::m_gdiFont, CGraphItem::m_nLength, m_nMaximum, m_nScale, m_pGridPen, m_pItems, CGraphItem::m_pPen, CGraphItem::MakeGradient(), NULL, PaintGrid(), PaintLegend(), CGraphItem::SetHistory(), theApp, and TOP_MARGIN. |
|
Definition at line 270 of file GraphLine.cpp. References CGraphItem::GetItemDesc(), GetItemIterator(), GetNextItem(), m_bShowAxis, CGraphItem::m_nCode, m_nMaximum, m_nMinGridVert, m_nScale, GRAPHITEM::m_nUnits, m_nUpdates, m_pGridPen, MIN_GRID_SIZE_HORZ, NULL, Settings, CSettings::SmartVolume(), and TOP_MARGIN. Referenced by Paint(). |
|
Definition at line 329 of file GraphLine.cpp. References GetItemIterator(), GetNextItem(), CGraphItem::m_nColour, CGraphItem::m_sName, and NULL. Referenced by Paint(). |
|
Definition at line 85 of file GraphLine.cpp. References m_pItems, and NULL. Referenced by CGraphListDlg::OnGraphRemove(). |
|
Definition at line 187 of file GraphLine.cpp. References GetItemIterator(), CGraphItem::GetMaximum(), GetNextItem(), and m_nMaximum. Referenced by CGraphListDlg::OnGraphRemove(), CGraphListDlg::OnOK(), and Update(). |
|
Reimplemented from CGraphBase. Definition at line 150 of file GraphLine.cpp. References GetItemCount(), GetItemIterator(), GetNextItem(), m_bShowAxis, m_bShowGrid, m_bShowLegend, m_nScale, m_nSpeed, m_pItems, and CGraphItem::Serialize(). |
|
Reimplemented from CGraphBase. Definition at line 113 of file GraphLine.cpp. References GetItemIterator(), GetNextItem(), m_nMaximum, m_nUpdates, m_pItems, m_tLastScale, ResetMaximum(), and CGraphItem::Update(). |
|
Definition at line 41 of file GraphLine.h. Referenced by CLineGraph(), CCoolTipCtrl::CreateLineGraph(), CGraphListDlg::OnInitDialog(), CDownloadMonitorDlg::OnInitDialog(), CGraphListDlg::OnOK(), CTrafficWnd::OnTrafficAxis(), CTrafficWnd::OnUpdateTrafficAxis(), PaintGrid(), and Serialize(). |
|
Definition at line 42 of file GraphLine.h. Referenced by CLineGraph(), CGraphListDlg::OnInitDialog(), CGraphListDlg::OnOK(), CTrafficWnd::OnTrafficGrid(), CTrafficWnd::OnUpdateTrafficGrid(), Paint(), and Serialize(). |
|
Definition at line 43 of file GraphLine.h. Referenced by CLineGraph(), CCoolTipCtrl::CreateLineGraph(), CGraphListDlg::OnInitDialog(), CDownloadMonitorDlg::OnInitDialog(), CGraphListDlg::OnOK(), CTrafficWnd::OnTrafficLegend(), CTrafficWnd::OnUpdateTrafficLegend(), Paint(), and Serialize(). |
|
Definition at line 44 of file GraphLine.h. Referenced by CLineGraph(), CCoolTipCtrl::CreateLineGraph(), CDownloadMonitorDlg::OnInitDialog(), and Paint(). |
|
Definition at line 45 of file GraphLine.h. Referenced by CLineGraph(), CCoolTipCtrl::CreateLineGraph(), CDownloadMonitorDlg::OnInitDialog(), and Paint(). |
|
Definition at line 50 of file GraphLine.h. Referenced by Clear(), CLineGraph(), CDownloadMonitorDlg::OnTimer(), CUploadTipCtrl::OnTimer(), CNeighbourTipCtrl::OnTimer(), CDownloadTipCtrl::OnTimer(), Paint(), PaintGrid(), ResetMaximum(), and Update(). |
|
Definition at line 46 of file GraphLine.h. Referenced by CLineGraph(), CCoolTipCtrl::CreateLineGraph(), CDownloadMonitorDlg::OnInitDialog(), and PaintGrid(). |
|
Definition at line 49 of file GraphLine.h. Referenced by CLineGraph(), Paint(), PaintGrid(), and Serialize(). |
|
Definition at line 48 of file GraphLine.h. Referenced by CLineGraph(), CGraphListDlg::OnInitDialog(), CGraphListDlg::OnOK(), Serialize(), and CTrafficWnd::SetUpdateRate(). |
|
Definition at line 51 of file GraphLine.h. Referenced by CLineGraph(), CDownloadMonitorDlg::OnTimer(), CUploadTipCtrl::OnTimer(), CNeighbourTipCtrl::OnTimer(), CDownloadTipCtrl::OnTimer(), PaintGrid(), and Update(). |
|
Definition at line 55 of file GraphLine.h. Referenced by Paint(), and PaintGrid(). |
|
Definition at line 54 of file GraphLine.h. Referenced by AddItem(), ClearItems(), GetItemCount(), GetItemIterator(), GetNextItem(), Paint(), RemoveItem(), Serialize(), and Update(). |
|
Definition at line 52 of file GraphLine.h. Referenced by CLineGraph(), and Update(). |