86 lines
2.1 KiB
C
86 lines
2.1 KiB
C
|
#if !defined(AFX_SERIESPROPDLG_H__EFFE6C6F_39A1_42E7_9B35_1EE66D5AC520__INCLUDED_)
|
||
|
#define AFX_SERIESPROPDLG_H__EFFE6C6F_39A1_42E7_9B35_1EE66D5AC520__INCLUDED_
|
||
|
|
||
|
#if _MSC_VER > 1000
|
||
|
#pragma once
|
||
|
#endif // _MSC_VER > 1000
|
||
|
// SeriesPropDlg.h : header file
|
||
|
//
|
||
|
|
||
|
#include "ChartString.h"
|
||
|
#include "ColourPicker.h"
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CSeriesPropDlg dialog
|
||
|
|
||
|
class CSeriesPropDlg : public CDialog
|
||
|
{
|
||
|
// Construction
|
||
|
public:
|
||
|
// std::string GetSeriesName() const { return m_strSeriesName; }
|
||
|
// int GetSeriesType() const { return m_iSeriesType; }
|
||
|
// COLORREF GetSeriesColour() const { return m_SeriesColour; }
|
||
|
|
||
|
CSeriesPropDlg(CWnd* pParent = NULL); // standard constructor
|
||
|
|
||
|
// Dialog Data
|
||
|
//{{AFX_DATA(CSeriesPropDlg)
|
||
|
enum { IDD = IDD_SERIESPROP_DLG };
|
||
|
CComboBox m_VertAxisCombo;
|
||
|
CComboBox m_HorizAxisCombo;
|
||
|
CColourPicker m_ColourSelect;
|
||
|
CComboBox m_SeriesTypeCombo;
|
||
|
//}}AFX_DATA
|
||
|
|
||
|
|
||
|
// Overrides
|
||
|
// ClassWizard generated virtual function overrides
|
||
|
//{{AFX_VIRTUAL(CSeriesPropDlg)
|
||
|
protected:
|
||
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||
|
//}}AFX_VIRTUAL
|
||
|
|
||
|
// Implementation
|
||
|
protected:
|
||
|
|
||
|
// Generated message map functions
|
||
|
//{{AFX_MSG(CSeriesPropDlg)
|
||
|
virtual void OnOK();
|
||
|
virtual BOOL OnInitDialog();
|
||
|
afx_msg void OnSelectLineData();
|
||
|
afx_msg void OnSelectRandomData();
|
||
|
afx_msg void OnSelectSineData();
|
||
|
//}}AFX_MSG
|
||
|
DECLARE_MESSAGE_MAP()
|
||
|
|
||
|
public:
|
||
|
TChartString m_strSeriesName;
|
||
|
int m_iSeriesType;
|
||
|
COLORREF m_SeriesColour;
|
||
|
|
||
|
int m_iVertAxis;
|
||
|
int m_iHorizAxis;
|
||
|
|
||
|
int m_iDataType;
|
||
|
int m_iPointsNumber;
|
||
|
float m_fMaxXValue;
|
||
|
float m_fMinXValue;
|
||
|
|
||
|
//Line data:
|
||
|
float m_fLineSlope;
|
||
|
float m_fLineOffset;
|
||
|
|
||
|
// Sine wave data:
|
||
|
float m_fSineAmplitude;
|
||
|
float m_fSinePeriod;
|
||
|
|
||
|
// Random values data:
|
||
|
int m_iRandMinVal;
|
||
|
int m_iRandMaxVal;
|
||
|
};
|
||
|
|
||
|
//{{AFX_INSERT_LOCATION}}
|
||
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||
|
|
||
|
#endif // !defined(AFX_SERIESPROPDLG_H__EFFE6C6F_39A1_42E7_9B35_1EE66D5AC520__INCLUDED_)
|