GUI parts for DISCO-F746NG. GuiBase, Button, ButtonGroup, ResetButton, Label, BlinkLabel, NumericLabel, SeekBar, SeekbarGroup, NumericUpDown
Dependencies: Array_Matrix TS_DISCO_F746NG LCD_DISCO_F746NG BSP_DISCO_F746NG
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 -