]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/progressbar.h
Remove unnecessary destructors from exception classes
[libs/gltk.git] / source / progressbar.h
index c1e17b56890a613d967e21550e0780a7082a2049..6e44e731dff4a3355371aa04eb69376d66eaeffd 100644 (file)
@@ -1,20 +1,19 @@
 #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);