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

CGraphItemDlg Class Reference

#include <DlgGraphItem.h>

Inheritance diagram for CGraphItemDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_GRAPH_ITEM }

Public Member Functions

 CGraphItemDlg (CWnd *pParent=NULL, CGraphItem *pItem=NULL)

Public Attributes

CButton m_wndOK
CEdit m_wndUnits
CComboBox m_wndSource
CButton m_wndRemove
CComboBox m_wndParam
CStatic m_wndColourBox
CGraphItemm_pItem
COLORREF m_crColour
CImageList m_gdiImageList

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
virtual void OnOK ()
afx_msg void OnSelChangeGraphSource ()
afx_msg void OnGraphColour ()
afx_msg void OnPaint ()
afx_msg void OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct)
afx_msg void OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct)

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 41 of file DlgGraphItem.h.


Constructor & Destructor Documentation

CGraphItemDlg::CGraphItemDlg CWnd *  pParent = NULL,
CGraphItem pItem = NULL
 

Definition at line 49 of file DlgGraphItem.cpp.


Member Function Documentation

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

Reimplemented from CSkinDialog.

Definition at line 56 of file DlgGraphItem.cpp.

References CSkinDialog::DoDataExchange(), IDC_GRAPH_COLOUR_BOX, IDC_GRAPH_PARAM, IDC_GRAPH_REMOVE, IDC_GRAPH_SOURCE, IDC_GRAPH_UNITS, m_wndColourBox, m_wndOK, m_wndParam, m_wndRemove, m_wndSource, and m_wndUnits.

void CGraphItemDlg::OnDrawItem int  nIDCtl,
LPDRAWITEMSTRUCT  lpDrawItemStruct
[protected]
 

Definition at line 106 of file DlgGraphItem.cpp.

References CShareazaApp::m_gdiFont, m_gdiImageList, m_wndSource, and theApp.

void CGraphItemDlg::OnGraphColour  )  [protected]
 

Definition at line 171 of file DlgGraphItem.cpp.

References m_crColour.

BOOL CGraphItemDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 72 of file DlgGraphItem.cpp.

References IDR_TRAFFICFRAME, CSkin::LoadString(), m_crColour, m_gdiImageList, CGraphItem::m_nCode, CGraphItem::m_nColour, GRAPHITEM::m_nStringID, m_pItem, CGraphItem::m_pItemDesc, m_wndSource, CSkinDialog::OnInitDialog(), OnSelChangeGraphSource(), Skin, CSkinDialog::SkinMe(), and theApp.

void CGraphItemDlg::OnMeasureItem int  nIDCtl,
LPMEASUREITEMSTRUCT  lpMeasureItemStruct
[protected]
 

Definition at line 100 of file DlgGraphItem.cpp.

void CGraphItemDlg::OnOK  )  [protected, virtual]
 

Definition at line 196 of file DlgGraphItem.cpp.

References m_crColour, GRAPHITEM::m_nCode, CGraphItem::m_nColour, m_pItem, m_wndSource, and CGraphItem::SetCode().

void CGraphItemDlg::OnPaint  )  [protected]
 

Definition at line 182 of file DlgGraphItem.cpp.

References m_crColour, and m_wndColourBox.

void CGraphItemDlg::OnSelChangeGraphSource  )  [protected]
 

Definition at line 144 of file DlgGraphItem.cpp.

References CSettings::General, GRAPHITEM::m_nUnits, m_wndOK, m_wndSource, m_wndUnits, CSettings::sGeneral::RatesInBytes, and Settings.

Referenced by OnInitDialog().


Member Data Documentation

COLORREF CGraphItemDlg::m_crColour
 

Definition at line 51 of file DlgGraphItem.h.

Referenced by OnGraphColour(), OnInitDialog(), OnOK(), and OnPaint().

CImageList CGraphItemDlg::m_gdiImageList
 

Definition at line 52 of file DlgGraphItem.h.

Referenced by OnDrawItem(), and OnInitDialog().

CGraphItem* CGraphItemDlg::m_pItem
 

Definition at line 50 of file DlgGraphItem.h.

Referenced by CGraphListDlg::OnGraphAdd(), CGraphListDlg::OnGraphEdit(), OnInitDialog(), and OnOK().

CStatic CGraphItemDlg::m_wndColourBox
 

Definition at line 47 of file DlgGraphItem.h.

Referenced by DoDataExchange(), and OnPaint().

CButton CGraphItemDlg::m_wndOK
 

Definition at line 42 of file DlgGraphItem.h.

Referenced by DoDataExchange(), and OnSelChangeGraphSource().

CComboBox CGraphItemDlg::m_wndParam
 

Definition at line 46 of file DlgGraphItem.h.

Referenced by DoDataExchange().

CButton CGraphItemDlg::m_wndRemove
 

Definition at line 45 of file DlgGraphItem.h.

Referenced by DoDataExchange().

CComboBox CGraphItemDlg::m_wndSource
 

Definition at line 44 of file DlgGraphItem.h.

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

CEdit CGraphItemDlg::m_wndUnits
 

Definition at line 43 of file DlgGraphItem.h.

Referenced by DoDataExchange(), and OnSelChangeGraphSource().


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