#ifndef MSP_GLTK_PROGRESSBAR_H_
#define MSP_GLTK_PROGRESSBAR_H_
+#include "mspgltk_api.h"
#include "widget.h"
namespace Msp {
namespace GLtk {
-class ProgressBar: public Widget
+class MSPGLTK_API ProgressBar: public Widget
{
private:
- float range;
- float fraction;
+ float range = 1.0f;
+ float fraction = 0.0f;
public:
- ProgressBar();
-
virtual const char *get_class() const { return "progressbar"; }
void set_range(float);