Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Array_Matrix BSP_DISCO_F746NG LCD_DISCO_F746NG TS_DISCO_F746NG
Fork of F746_GUI by
Diff: SeekBarGroup.hpp
- Revision:
- 10:5a2068884fd9
- Parent:
- 9:c379410bda15
--- a/SeekBarGroup.hpp Sun Apr 24 11:49:42 2016 +0000
+++ b/SeekBarGroup.hpp Wed Apr 27 00:24:18 2016 +0000
@@ -1,7 +1,7 @@
//-----------------------------------------------------------
// SeekBarGroup class -- Header
//
-// 2016/04/24, Copyright (c) 2016 MIKAMI, Naoki
+// 2016/04/26, Copyright (c) 2016 MIKAMI, Naoki
//-----------------------------------------------------------
#ifndef F746_SEEKBAR_GROUP_HPP
@@ -36,6 +36,11 @@
void Draw(int num, float value, bool fill = false)
{ seekBars_[num]->Draw(value, fill); }
+ void Redraw(int num, bool fill = false)
+ { seekBars_[num]->Draw(seekBars_[num]->GetValue(), fill); }
+
+ void RedrawAll(bool fill = false)
+ { for (int n=0; n<numberOfSeekBar_; n++) Redraw(n, fill); }
// Activate and inactivate
void Activate(int num) { seekBars_[num]->Activate(); }
