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

DlgGraphList.h

Go to the documentation of this file.
00001 //
00002 // DlgGraphList.h
00003 //
00004 // Copyright (c) Shareaza Development Team, 2002-2005.
00005 // This file is part of SHAREAZA (www.shareaza.com)
00006 //
00007 // Shareaza is free software; you can redistribute it
00008 // and/or modify it under the terms of the GNU General Public License
00009 // as published by the Free Software Foundation; either version 2 of
00010 // the License, or (at your option) any later version.
00011 //
00012 // Shareaza is distributed in the hope that it will be useful,
00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 // GNU General Public License for more details.
00016 //
00017 // You should have received a copy of the GNU General Public License
00018 // along with Shareaza; if not, write to the Free Software
00019 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020 //
00021 
00022 #if !defined(AFX_DLGGRAPHLIST_H__48D0AE69_037E_4F22_8C95_76585433DEF7__INCLUDED_)
00023 #define AFX_DLGGRAPHLIST_H__48D0AE69_037E_4F22_8C95_76585433DEF7__INCLUDED_
00024 
00025 #pragma once
00026 
00027 #include "DlgSkinDialog.h"
00028 
00029 class CLiveItem;
00030 class CLineGraph;
00031 class CGraphItem;
00032 
00033 
00034 class CGraphListDlg : public CSkinDialog
00035 {
00036 // Construction
00037 public:
00038         CGraphListDlg(CWnd* pParent = NULL, CLineGraph* pGraph = NULL);
00039 
00040 // Dialog Data
00041 public:
00042         //{{AFX_DATA(CGraphListDlg)
00043         enum { IDD = IDD_GRAPH_LIST };
00044         CButton m_wndCancel;
00045         CButton m_wndOK;
00046         CSpinButtonCtrl m_wndSpeed;
00047         CButton m_wndRemove;
00048         CButton m_wndEdit;
00049         CListCtrl       m_wndList;
00050         DWORD   m_nSpeed;
00051         BOOL    m_bShowGrid;
00052         BOOL    m_bShowAxis;
00053         BOOL    m_bShowLegend;
00054         CString m_sName;
00055         //}}AFX_DATA
00056 
00057         CLineGraph*     m_pGraph;
00058         CImageList      m_gdiImageList;
00059 
00060         CLiveItem*      PrepareItem(CGraphItem* pItem);
00061         void            SetModified();
00062 
00063 // Overrides
00064 public:
00065         //{{AFX_VIRTUAL(CGraphListDlg)
00066         protected:
00067         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00068         //}}AFX_VIRTUAL
00069 
00070 // Implementation
00071 protected:
00072         //{{AFX_MSG(CGraphListDlg)
00073         virtual BOOL OnInitDialog();
00074         virtual void OnOK();
00075         afx_msg void OnItemChangedGraphItems(NMHDR* pNMHDR, LRESULT* pResult);
00076         afx_msg void OnGraphAdd();
00077         afx_msg void OnGraphEdit();
00078         afx_msg void OnGraphRemove();
00079         afx_msg void OnDblClkGraphItems(NMHDR* pNMHDR, LRESULT* pResult);
00080         afx_msg void OnCustomDrawItems(NMHDR* pNMHDR, LRESULT* pResult);
00081         //}}AFX_MSG
00082         DECLARE_MESSAGE_MAP()
00083 };
00084 
00085 //{{AFX_INSERT_LOCATION}}
00086 
00087 #endif // !defined(AFX_DLGGRAPHLIST_H__48D0AE69_037E_4F22_8C95_76585433DEF7__INCLUDED_)

Generated on Thu Dec 15 10:39:39 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2