Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CNeighbourTipCtrl Class Reference

#include <CtrlNeighbourTip.h>

Inheritance diagram for CNeighbourTipCtrl:

CCoolTipCtrl List of all members.

Public Member Functions

 CNeighbourTipCtrl ()
virtual ~CNeighbourTipCtrl ()

Public Attributes

CLineGraphm_pGraph
CGraphItemm_pItemIn
CGraphItemm_pItemOut

Protected Member Functions

virtual BOOL OnPrepare ()
virtual void OnShow ()
virtual void OnHide ()
virtual void OnCalcSize (CDC *pDC)
virtual void OnPaint (CDC *pDC)
afx_msg void OnTimer (UINT nIDEvent)

Constructor & Destructor Documentation

CNeighbourTipCtrl::CNeighbourTipCtrl  ) 
 

Definition at line 53 of file CtrlNeighbourTip.cpp.

References NULL.

CNeighbourTipCtrl::~CNeighbourTipCtrl  )  [virtual]
 

Definition at line 58 of file CtrlNeighbourTip.cpp.

References m_pGraph.


Member Function Documentation

void CNeighbourTipCtrl::OnCalcSize CDC *  pDC  )  [protected, virtual]
 

Reimplemented from CCoolTipCtrl.

Definition at line 103 of file CtrlNeighbourTip.cpp.

References CCoolTipCtrl::AddSize(), CoolInterface, CNeighboursBase::Get(), CGProfile::GetLocation(), CGProfile::GetNick(), CGProfile::IsValid(), CCoolInterface::m_fntBold, CCoolInterface::m_fntNormal, CNeighbour::m_nProtocol, CCoolTipCtrl::m_pContext, CNeighbour::m_pProfile, CConnection::m_sAddress, CConnection::m_sUserAgent, CCoolTipCtrl::m_sz, Neighbours, PROTOCOL_ED2K, TIP_RULE, and TIP_TEXTHEIGHT.

void CNeighbourTipCtrl::OnHide  )  [protected, virtual]
 

Reimplemented from CCoolTipCtrl.

Definition at line 94 of file CtrlNeighbourTip.cpp.

References m_pGraph, and NULL.

void CNeighbourTipCtrl::OnPaint CDC *  pDC  )  [protected, virtual]
 

Reimplemented from CCoolTipCtrl.

Definition at line 164 of file CtrlNeighbourTip.cpp.

References CGraphBase::BufferedPaint(), CoolInterface, CCoolTipCtrl::DrawRule(), CCoolTipCtrl::DrawText(), CNeighboursBase::Get(), CNeighbour::GetCompression(), CGProfile::GetLocation(), CGProfile::GetNick(), IDS_NEIGHBOUR_COMPRESSION, IDS_NEIGHBOUR_COMPRESSION_DF, IDS_NEIGHBOUR_COMPRESSION_NONE, IDS_NEIGHBOUR_CURRENT, IDS_NEIGHBOUR_ED2K_HIGH, IDS_NEIGHBOUR_ED2K_LOW, IDS_NEIGHBOUR_G1LU, IDS_NEIGHBOUR_G1PP, IDS_NEIGHBOUR_G1UL, IDS_NEIGHBOUR_G2HH, IDS_NEIGHBOUR_G2HL, IDS_NEIGHBOUR_G2LH, IDS_NEIGHBOUR_HANDSHAKE, IDS_NEIGHBOUR_INBOUND, IDS_NEIGHBOUR_OUTBOUND, IDS_NEIGHBOUR_RATIO, IDS_NEIGHBOUR_TOTAL, CEDPacket::IsLowID(), CGProfile::IsValid(), LoadString(), CCoolInterface::m_crTipBorder, CCoolInterface::m_fntBold, CCoolInterface::m_fntNormal, CConnection::m_mInput, CConnection::m_mOutput, CGraphItem::m_nColour, CNeighbour::m_nNodeType, CNeighbour::m_nProtocol, CNeighbour::m_nState, CCoolTipCtrl::m_pContext, m_pGraph, m_pItemIn, m_pItemOut, CNeighbour::m_pProfile, CNetwork::m_pSection, CConnection::m_sAddress, CConnection::m_sUserAgent, CCoolTipCtrl::m_sz, Neighbours, Network, TCPBandwidthMeter::nMeasure, nrsConnected, ntHub, ntLeaf, ntNode, TCPBandwidthMeter::nTotal, NULL, PROTOCOL_ED2K, PROTOCOL_G1, PROTOCOL_G2, Settings, CSettings::SmartVolume(), and TIP_TEXTHEIGHT.

BOOL CNeighbourTipCtrl::OnPrepare  )  [protected, virtual]
 

Reimplemented from CCoolTipCtrl.

Definition at line 66 of file CtrlNeighbourTip.cpp.

References CCoolTipCtrl::CalcSizeHelper(), CNeighboursBase::Get(), CCoolTipCtrl::m_pContext, CNetwork::m_pSection, Neighbours, Network, and NULL.

void CNeighbourTipCtrl::OnShow  )  [protected, virtual]
 

Reimplemented from CCoolTipCtrl.

Definition at line 82 of file CtrlNeighbourTip.cpp.

References CLineGraph::AddItem(), CCoolTipCtrl::CreateLineGraph(), m_pGraph, m_pItemIn, and m_pItemOut.

void CNeighbourTipCtrl::OnTimer UINT  nIDEvent  )  [protected]
 

Reimplemented from CCoolTipCtrl.

Definition at line 343 of file CtrlNeighbourTip.cpp.

References CGraphItem::Add(), CNeighboursBase::Get(), CConnection::m_mInput, CConnection::m_mOutput, CLineGraph::m_nMaximum, CLineGraph::m_nUpdates, CCoolTipCtrl::m_pContext, m_pGraph, m_pItemIn, m_pItemOut, CNetwork::m_pSection, CConnection::Measure(), Neighbours, Network, TCPBandwidthMeter::nMeasure, NULL, and CCoolTipCtrl::OnTimer().


Member Data Documentation

CLineGraph* CNeighbourTipCtrl::m_pGraph
 

Definition at line 41 of file CtrlNeighbourTip.h.

Referenced by OnHide(), OnPaint(), OnShow(), OnTimer(), and ~CNeighbourTipCtrl().

CGraphItem* CNeighbourTipCtrl::m_pItemIn
 

Definition at line 42 of file CtrlNeighbourTip.h.

Referenced by OnPaint(), OnShow(), and OnTimer().

CGraphItem* CNeighbourTipCtrl::m_pItemOut
 

Definition at line 43 of file CtrlNeighbourTip.h.

Referenced by OnPaint(), OnShow(), and OnTimer().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:10 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2