summaryrefslogtreecommitdiff
path: root/plugingui/progressbar.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-04-16 13:23:11 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-04-16 13:23:11 +0200
commit35e804b984c28131fe13d229c5a0867762c6e8cf (patch)
tree200a8c3029e38fbf0f33318faec05c4f9f8e71c3 /plugingui/progressbar.h
parentc7577fa4ecf6f9858483c5d8b4a46e7caa2b376d (diff)
Some DrumKitLoader refactoring.
Diffstat (limited to 'plugingui/progressbar.h')
-rw-r--r--plugingui/progressbar.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugingui/progressbar.h b/plugingui/progressbar.h
index d48a8b5..7485e40 100644
--- a/plugingui/progressbar.h
+++ b/plugingui/progressbar.h
@@ -43,11 +43,11 @@ enum class ProgressBarState
class ProgressBar : public Widget {
public:
- ProgressBar(Widget *parent);
+ ProgressBar(Widget* parent);
~ProgressBar();
- void setTotal(int total);
- void setValue(int value);
+ void setTotal(std::size_t total);
+ void setValue(std::size_t value);
void setState(ProgressBarState state);
@@ -64,8 +64,8 @@ private:
Painter::Bar bar_blue;
Painter::Bar bar_red;
- int total{0};
- int value{0};
+ std::size_t total{0};
+ std::size_t value{0};
};
} // GUI::