diff --git a/radio/src/thirdparty/libopenui/src/progress.cpp b/radio/src/thirdparty/libopenui/src/progress.cpp index a29707719..d17cd9a07 100644 --- a/radio/src/thirdparty/libopenui/src/progress.cpp +++ b/radio/src/thirdparty/libopenui/src/progress.cpp @@ -22,5 +22,5 @@ void Progress::paint(BitmapBuffer * dc) { - theme->drawProgressBar(dc, 0, 0, width(), height(), value); + theme->drawProgressBar(dc, 0, 0, width(), height(), value, 100); } diff --git a/radio/src/thirdparty/libopenui/src/theme.h b/radio/src/thirdparty/libopenui/src/theme.h index e7b138229..0de92ac33 100644 --- a/radio/src/thirdparty/libopenui/src/theme.h +++ b/radio/src/thirdparty/libopenui/src/theme.h @@ -40,7 +40,7 @@ class Theme { // char * action, LcdFlags flags) const = 0; virtual void drawProgressBar(BitmapBuffer * dc, coord_t x, coord_t y, - coord_t w, coord_t h, int value) const = 0; + coord_t w, coord_t h, int value, int total) const = 0; virtual void drawCheckBox(BitmapBuffer* dc, CheckBox* checkBox) const {