A no-change for scroll events.

Added y-axis to wxPlot.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-01-20 14:16:18 +00:00
parent 30a6d2d264
commit 846e1424e2
13 changed files with 112 additions and 35 deletions

View File

@@ -33,18 +33,30 @@ class wxPlotWindow;
class WXDLLEXPORT wxPlotCurve: public wxObject
{
public:
wxPlotCurve( int offsetY );
wxPlotCurve( int offsetY, double startY, double endY );
virtual wxInt32 GetStartX() = 0;
virtual wxInt32 GetEndX() = 0;
virtual double GetY( wxInt32 x ) = 0;
void SetStartY( double startY )
{ m_startY = startY; }
double GetStartY()
{ return m_startY; }
void SetEndY( double endY )
{ m_endY = endY; }
double GetEndY()
{ return m_endY; }
void SetOffsetY( int offsetY )
{ m_offsetY = offsetY; }
int GetOffsetY()
{ return m_offsetY; }
virtual double GetY( wxInt32 x ) = 0;
private:
int m_offsetY;
double m_startY;
double m_endY;
DECLARE_ABSTRACT_CLASS(wxPlotCurve)
};