X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0416c41834f36316a03720c4ed05cdf36964a2f3..74af0b13434f4fa5c814a19a6d325d271944accf:/include/wx/gtk/gauge.h diff --git a/include/wx/gtk/gauge.h b/include/wx/gtk/gauge.h index 8b78986b65..b06d3bf7f8 100644 --- a/include/wx/gtk/gauge.h +++ b/include/wx/gtk/gauge.h @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: gauge.h +// Name: wx/gtk/gauge.h // Purpose: // Author: Robert Roebling // Id: $Id$ // Copyright: (c) 1998 Robert Roebling -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_GTK_GAUGE_H_ @@ -43,20 +43,26 @@ public: void SetShadowWidth( int WXUNUSED(w) ) { } void SetBezelFace( int WXUNUSED(w) ) { } - void SetRange( int r ); - void SetValue( int pos ); int GetShadowWidth() const { return 0; }; int GetBezelFace() const { return 0; }; + + // determinate mode API + void SetRange( int r ); + void SetValue( int pos ); + int GetRange() const; int GetValue() const; + // indeterminate mode API + virtual void Pulse(); + bool IsVertical() const { return HasFlag(wxGA_VERTICAL); } - + static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); virtual wxVisualAttributes GetDefaultAttributes() const; - + // implementation // ------------- @@ -77,4 +83,5 @@ private: DECLARE_DYNAMIC_CLASS(wxGauge) }; -#endif // _WX_GTK_GAUGE_H_ +#endif + // _WX_GTK_GAUGE_H_