X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6de97a3b945c99fb942209df48be26f43c1b436d..93ccaed86983970c4a2aa5af34593781e5b8964f:/include/wx/gtk1/slider.h diff --git a/include/wx/gtk1/slider.h b/include/wx/gtk1/slider.h index 2915e8380f..aa8f0f969e 100644 --- a/include/wx/gtk1/slider.h +++ b/include/wx/gtk1/slider.h @@ -2,13 +2,11 @@ // Name: slider.h // Purpose: // Author: Robert Roebling -// Created: 01/02/97 -// Id: +// Id: $Id$ // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __GTKSLIDERH__ #define __GTKSLIDERH__ @@ -17,6 +15,9 @@ #endif #include "wx/defs.h" + +#if wxUSE_SLIDER + #include "wx/object.h" #include "wx/list.h" #include "wx/control.h" @@ -63,9 +64,6 @@ class wxSlider: public wxControl const wxString& name = wxSliderNameStr ); virtual int GetValue(void) const; virtual void SetValue( int ); - void GetSize( int *x, int *y ) const; - void SetSize( int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO ); - void GetPosition( int *x, int *y ) const; void SetRange( int minValue, int maxValue ); int GetMin(void) const; int GetMax(void) const; @@ -84,11 +82,16 @@ class wxSlider: public wxControl int GetThumbLength(void) const; void SetTick( int tickPos ); - public: - + // implementation + + bool IsOwnGtkWindow( GdkWindow *window ); + void ApplyWidgetStyle(); + GtkAdjustment *m_adjust; float m_oldPos; }; +#endif + #endif // __GTKSLIDERH__