GUI parts for DISCO-F469I a fork of DISCO-F746NG. GuiBase, Button, ButtonGroup, ResetButton, Label, BlinkLabel, NumericLabel, SeekBar, SeekbarGroup
Dependents: DISCO-F469NI_LCDTS_GUI_demo DISCO-F469NI_LCDTS_GUI_demo projekt_PSW_v1 DISCO-F469NI_LCDTS_GUI_demoaaaaaaaaaxxxx ... more
Fork of F746_GUI by
Diff: SeekBar.hpp
- Revision:
- 15:0511a08a3c09
- Parent:
- 13:9ae055fac9cf
- Child:
- 16:b2762ec08863
--- 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 -