CGraphViewer Class Reference

#include <graphview.h>

Collaboration diagram for CGraphViewer:

Collaboration graph
[legend]

List of all members.

Classes

struct  Bounds

Public Member Functions

 DECLARE_WND_CLASS (_T("GRAPHVIEWER"))
 CGraphViewer ()
 ~CGraphViewer ()
void SetGraphProvider (IGraphProvider *pProvider)
void UpdateGraph (bool UpdateBounds)

Protected Member Functions

LRESULT OnPaint (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
LRESULT OnCreate (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
LRESULT OnChar (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)

Private Member Functions

void UpdateBounds ()

Private Attributes

COLORREF m_BackColor
COLORREF m_LineColor
IGraphProviderm_pProvider
unsigned m_LineWidth
Bounds m_GraphBounds


Constructor & Destructor Documentation

CGraphViewer::CGraphViewer (  ) 

CGraphViewer::~CGraphViewer (  ) 


Member Function Documentation

CGraphViewer::DECLARE_WND_CLASS ( _T("GRAPHVIEWER")   ) 

LRESULT CGraphViewer::OnChar ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
BOOL &  bHandled 
) [inline, protected]

LRESULT CGraphViewer::OnCreate ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
BOOL &  bHandled 
) [inline, protected]

LRESULT CGraphViewer::OnPaint ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
BOOL &  bHandled 
) [protected]

void CGraphViewer::SetGraphProvider ( IGraphProvider pProvider  ) 

void CGraphViewer::UpdateBounds (  )  [private]

void CGraphViewer::UpdateGraph ( bool  UpdateBounds  ) 


Member Data Documentation

COLORREF CGraphViewer::m_BackColor [private]

COLORREF CGraphViewer::m_LineColor [private]

unsigned CGraphViewer::m_LineWidth [private]


The documentation for this class was generated from the following file:
SourceForge.net Logo