git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4711
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
class wxSlider: public wxControl
{
public:
class wxSlider: public wxControl
{
public:
inline wxSlider( wxWindow *parent, wxWindowID id,
int value, int minValue, int maxValue,
const wxPoint& pos = wxDefaultPosition,
inline wxSlider( wxWindow *parent, wxWindowID id,
int value, int minValue, int maxValue,
const wxPoint& pos = wxDefaultPosition,
{
Create( parent, id, value, minValue, maxValue, pos, size, style, validator, name );
}
{
Create( parent, id, value, minValue, maxValue, pos, size, style, validator, name );
}
bool Create(wxWindow *parent, wxWindowID id,
int value, int minValue, int maxValue,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxSL_HORIZONTAL,
bool Create(wxWindow *parent, wxWindowID id,
int value, int minValue, int maxValue,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxSL_HORIZONTAL,
- const wxValidator& validator = wxDefaultValidator,
+ const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxSliderNameStr );
virtual int GetValue() const;
virtual void SetValue( int );
const wxString& name = wxSliderNameStr );
virtual int GetValue() const;
virtual void SetValue( int );
int GetThumbLength() const;
void SetTick( int tickPos );
int GetThumbLength() const;
void SetTick( int tickPos );
bool IsOwnGtkWindow( GdkWindow *window );
void ApplyWidgetStyle();
bool IsOwnGtkWindow( GdkWindow *window );
void ApplyWidgetStyle();
GtkAdjustment *m_adjust;
float m_oldPos;
GtkAdjustment *m_adjust;
float m_oldPos;
private:
DECLARE_DYNAMIC_CLASS(wxSlider)
};
private:
DECLARE_DYNAMIC_CLASS(wxSlider)
};
class wxSlider: public wxControl
{
public:
class wxSlider: public wxControl
{
public:
inline wxSlider( wxWindow *parent, wxWindowID id,
int value, int minValue, int maxValue,
const wxPoint& pos = wxDefaultPosition,
inline wxSlider( wxWindow *parent, wxWindowID id,
int value, int minValue, int maxValue,
const wxPoint& pos = wxDefaultPosition,
{
Create( parent, id, value, minValue, maxValue, pos, size, style, validator, name );
}
{
Create( parent, id, value, minValue, maxValue, pos, size, style, validator, name );
}
bool Create(wxWindow *parent, wxWindowID id,
int value, int minValue, int maxValue,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxSL_HORIZONTAL,
bool Create(wxWindow *parent, wxWindowID id,
int value, int minValue, int maxValue,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxSL_HORIZONTAL,
- const wxValidator& validator = wxDefaultValidator,
+ const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxSliderNameStr );
virtual int GetValue() const;
virtual void SetValue( int );
const wxString& name = wxSliderNameStr );
virtual int GetValue() const;
virtual void SetValue( int );
int GetThumbLength() const;
void SetTick( int tickPos );
int GetThumbLength() const;
void SetTick( int tickPos );
bool IsOwnGtkWindow( GdkWindow *window );
void ApplyWidgetStyle();
bool IsOwnGtkWindow( GdkWindow *window );
void ApplyWidgetStyle();
GtkAdjustment *m_adjust;
float m_oldPos;
GtkAdjustment *m_adjust;
float m_oldPos;
private:
DECLARE_DYNAMIC_CLASS(wxSlider)
};
private:
DECLARE_DYNAMIC_CLASS(wxSlider)
};