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

CGraphListDlg Class Reference

#include <DlgGraphList.h>

Inheritance diagram for CGraphListDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_GRAPH_LIST }

Public Member Functions

 CGraphListDlg (CWnd *pParent=NULL, CLineGraph *pGraph=NULL)
CLiveItemPrepareItem (CGraphItem *pItem)
void SetModified ()

Public Attributes

CButton m_wndCancel
CButton m_wndOK
CSpinButtonCtrl m_wndSpeed
CButton m_wndRemove
CButton m_wndEdit
CListCtrl m_wndList
DWORD m_nSpeed
BOOL m_bShowGrid
BOOL m_bShowAxis
BOOL m_bShowLegend
CString m_sName
CLineGraphm_pGraph
CImageList m_gdiImageList

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
virtual void OnOK ()
afx_msg void OnItemChangedGraphItems (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnGraphAdd ()
afx_msg void OnGraphEdit ()
afx_msg void OnGraphRemove ()
afx_msg void OnDblClkGraphItems (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomDrawItems (NMHDR *pNMHDR, LRESULT *pResult)

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 43 of file DlgGraphList.h.


Constructor & Destructor Documentation

CGraphListDlg::CGraphListDlg CWnd *  pParent = NULL,
CLineGraph pGraph = NULL
 

Definition at line 54 of file DlgGraphList.cpp.


Member Function Documentation

void CGraphListDlg::DoDataExchange CDataExchange *  pDX  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 66 of file DlgGraphList.cpp.

References CSkinDialog::DoDataExchange(), IDC_GRAPH_AXIS, IDC_GRAPH_EDIT, IDC_GRAPH_GRID, IDC_GRAPH_ITEMS, IDC_GRAPH_LEGEND, IDC_GRAPH_REMOVE, IDC_GRAPH_SPEED, IDC_GRAPH_SPEED_SPIN, IDC_NAME, m_bShowAxis, m_bShowGrid, m_bShowLegend, m_nSpeed, m_sName, m_wndCancel, m_wndEdit, m_wndList, m_wndOK, m_wndRemove, and m_wndSpeed.

void CGraphListDlg::OnCustomDrawItems NMHDR *  pNMHDR,
LRESULT *  pResult
[protected]
 

Definition at line 128 of file DlgGraphList.cpp.

References m_gdiImageList, CGraphItem::m_nColour, and m_wndList.

void CGraphListDlg::OnDblClkGraphItems NMHDR *  pNMHDR,
LRESULT *  pResult
[protected]
 

Definition at line 161 of file DlgGraphList.cpp.

References OnGraphEdit().

void CGraphListDlg::OnGraphAdd  )  [protected]
 

Definition at line 167 of file DlgGraphList.cpp.

References CLiveItem::Add(), CLineGraph::AddItem(), LIST_COLUMNS, m_pGraph, CGraphItemDlg::m_pItem, m_wndList, PrepareItem(), and SetModified().

void CGraphListDlg::OnGraphEdit  )  [protected]
 

Definition at line 185 of file DlgGraphList.cpp.

References LIST_COLUMNS, CGraphItemDlg::m_pItem, m_wndList, PrepareItem(), SetModified(), and CLiveItem::Update().

Referenced by OnDblClkGraphItems().

void CGraphListDlg::OnGraphRemove  )  [protected]
 

Definition at line 201 of file DlgGraphList.cpp.

References m_pGraph, m_wndList, CLineGraph::RemoveItem(), CLineGraph::ResetMaximum(), and SetModified().

BOOL CGraphListDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 87 of file DlgGraphList.cpp.

References CLiveItem::Add(), CLineGraph::GetItemIterator(), CLineGraph::GetNextItem(), IDB_COLOURDOT, IDR_TRAFFICFRAME, LIST_COLUMNS, CLineGraph::m_bShowAxis, m_bShowAxis, CLineGraph::m_bShowGrid, m_bShowGrid, CLineGraph::m_bShowLegend, m_bShowLegend, m_gdiImageList, CLineGraph::m_nSpeed, m_nSpeed, m_pGraph, m_wndList, m_wndSpeed, NULL, CSkinDialog::OnInitDialog(), OnItemChangedGraphItems(), PrepareItem(), and CSkinDialog::SkinMe().

void CGraphListDlg::OnItemChangedGraphItems NMHDR *  pNMHDR,
LRESULT *  pResult
[protected]
 

Definition at line 152 of file DlgGraphList.cpp.

References m_wndEdit, m_wndList, and m_wndRemove.

Referenced by OnInitDialog().

void CGraphListDlg::OnOK  )  [protected, virtual]
 

Definition at line 227 of file DlgGraphList.cpp.

References m_bShowAxis, CLineGraph::m_bShowAxis, m_bShowGrid, CLineGraph::m_bShowGrid, m_bShowLegend, CLineGraph::m_bShowLegend, m_nSpeed, CLineGraph::m_nSpeed, m_pGraph, and CLineGraph::ResetMaximum().

CLiveItem * CGraphListDlg::PrepareItem CGraphItem pItem  ) 
 

Definition at line 118 of file DlgGraphList.cpp.

References LIST_COLUMNS, CLiveItem::m_nImage, and CLiveItem::Set().

Referenced by OnGraphAdd(), OnGraphEdit(), and OnInitDialog().

void CGraphListDlg::SetModified  ) 
 

Definition at line 216 of file DlgGraphList.cpp.

References IDS_GENERAL_CLOSE, LoadString(), m_wndCancel, and m_wndOK.

Referenced by OnGraphAdd(), OnGraphEdit(), and OnGraphRemove().


Member Data Documentation

BOOL CGraphListDlg::m_bShowAxis
 

Definition at line 52 of file DlgGraphList.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CGraphListDlg::m_bShowGrid
 

Definition at line 51 of file DlgGraphList.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CGraphListDlg::m_bShowLegend
 

Definition at line 53 of file DlgGraphList.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

CImageList CGraphListDlg::m_gdiImageList
 

Definition at line 58 of file DlgGraphList.h.

Referenced by OnCustomDrawItems(), and OnInitDialog().

DWORD CGraphListDlg::m_nSpeed
 

Definition at line 50 of file DlgGraphList.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

CLineGraph* CGraphListDlg::m_pGraph
 

Definition at line 57 of file DlgGraphList.h.

Referenced by OnGraphAdd(), OnGraphRemove(), OnInitDialog(), and OnOK().

CString CGraphListDlg::m_sName
 

Definition at line 54 of file DlgGraphList.h.

Referenced by DoDataExchange(), and CTrafficWnd::OnTrafficSetup().

CButton CGraphListDlg::m_wndCancel
 

Definition at line 44 of file DlgGraphList.h.

Referenced by DoDataExchange(), and SetModified().

CButton CGraphListDlg::m_wndEdit
 

Definition at line 48 of file DlgGraphList.h.

Referenced by DoDataExchange(), and OnItemChangedGraphItems().

CListCtrl CGraphListDlg::m_wndList
 

Definition at line 49 of file DlgGraphList.h.

Referenced by DoDataExchange(), OnCustomDrawItems(), OnGraphAdd(), OnGraphEdit(), OnGraphRemove(), OnInitDialog(), and OnItemChangedGraphItems().

CButton CGraphListDlg::m_wndOK
 

Definition at line 45 of file DlgGraphList.h.

Referenced by DoDataExchange(), and SetModified().

CButton CGraphListDlg::m_wndRemove
 

Definition at line 47 of file DlgGraphList.h.

Referenced by DoDataExchange(), and OnItemChangedGraphItems().

CSpinButtonCtrl CGraphListDlg::m_wndSpeed
 

Definition at line 46 of file DlgGraphList.h.

Referenced by DoDataExchange(), and OnInitDialog().


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