// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __GTKGAUGEH__
-#define __GTKGAUGEH__
-
-#include "wx/defs.h"
-
-#if wxUSE_GAUGE
-
-#include "wx/object.h"
-#include "wx/list.h"
-#include "wx/control.h"
-
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxGauge;
+#ifndef _WX_GTK_GAUGE_H_
+#define _WX_GTK_GAUGE_H_
//-----------------------------------------------------------------------------
-// global data
-//-----------------------------------------------------------------------------
-
-extern WXDLLIMPEXP_CORE const wxChar wxGaugeNameStr[];
-
-//-----------------------------------------------------------------------------
-// wxGaugeBox
+// wxGauge
//-----------------------------------------------------------------------------
class WXDLLIMPEXP_CORE wxGauge: public wxControl
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
DECLARE_DYNAMIC_CLASS(wxGauge)
};
-#endif
-
-#endif // __GTKGAUGEH__
+#endif // _WX_GTK_GAUGE_H_