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: SeekBar.hpp
- Revision:
- 15:0511a08a3c09
- Parent:
- 13:9ae055fac9cf
- Child:
- 16:b2762ec08863
diff -r b977160de2f3 -r 0511a08a3c09 SeekBar.hpp
--- a/SeekBar.hpp Sun Jul 03 02:07:07 2016 +0000
+++ b/SeekBar.hpp Mon Jul 11 05:20:33 2016 +0000
@@ -1,7 +1,7 @@
//-----------------------------------------------------------
// SeekBar class -- Header
//
-// 2016/05/30, Copyright (c) 2016 MIKAMI, Naoki
+// 2016/07/11, Copyright (c) 2016 MIKAMI, Naoki
//-----------------------------------------------------------
#ifndef F746_SEEKBAR_HPP
@@ -61,6 +61,7 @@
bool IsOnThumb(uint16_t &x, uint16_t &y);
void Draw(float value, bool fill = false);
+ void Redraw(bool fill = false);
float ToValue(Point pt);
void SetValue(float v) { v_ = v; }
@@ -74,7 +75,7 @@
const float MIN_, MAX_;
const Orientation ORIENT_;
- Label **labelLCR;
+ Label **labelLCR_;
float v_; // value of seekbar
bool labelOn_;
bool slided_;
@@ -90,4 +91,3 @@
};
}
#endif // F746_SEEKBAR_HPP
-
