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:
@@ -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)
|
||||
};
|
||||
|
@@ -87,7 +87,6 @@ public:
|
||||
|
||||
GtkAdjustment *m_adjust;
|
||||
float m_oldPos;
|
||||
bool m_isScrolling;
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxScrollBar)
|
||||
|
@@ -185,6 +185,7 @@ public:
|
||||
bool m_isRadioButton:1; /* faster than IS_KIND_OF */
|
||||
bool m_isFrame:1; /* faster than IS_KIND_OF */
|
||||
bool m_acceptsFocus:1; /* not wxStaticBox, not wxStaticBitmap etc. */
|
||||
bool m_isScrolling;
|
||||
|
||||
// these are true if the style were set before the widget was realized
|
||||
// (typcally in the constructor) but the actual GTK style must not be set
|
||||
|
@@ -87,7 +87,6 @@ public:
|
||||
|
||||
GtkAdjustment *m_adjust;
|
||||
float m_oldPos;
|
||||
bool m_isScrolling;
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxScrollBar)
|
||||
|
@@ -185,6 +185,7 @@ public:
|
||||
bool m_isRadioButton:1; /* faster than IS_KIND_OF */
|
||||
bool m_isFrame:1; /* faster than IS_KIND_OF */
|
||||
bool m_acceptsFocus:1; /* not wxStaticBox, not wxStaticBitmap etc. */
|
||||
bool m_isScrolling;
|
||||
|
||||
// these are true if the style were set before the widget was realized
|
||||
// (typcally in the constructor) but the actual GTK style must not be set
|
||||
|
Reference in New Issue
Block a user