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.cpp
- Revision:
- 10:5a2068884fd9
- Parent:
- 9:c379410bda15
--- a/SeekBarGroup.cpp Sun Apr 24 11:49:42 2016 +0000
+++ b/SeekBarGroup.cpp Wed Apr 27 00:24:18 2016 +0000
@@ -1,7 +1,7 @@
//-----------------------------------------------------------
// SeekBarGroup class
//
-// 2016/04/24, Copyright (c) 2016 MIKAMI, Naoki
+// 2016/04/26, Copyright (c) 2016 MIKAMI, Naoki
//-----------------------------------------------------------
#include "SeekBarGroup.hpp"
@@ -66,6 +66,8 @@
{
if (seekBars_[n]->IsOnThumb(x, y))
{
+ if ((num != n) && Range(num))
+ seekBars_[num]->Draw(seekBars_[num]->GetValue());
num = n;
seekBars_[n]->SetValue(seekBars_[n]->ToValue(SeekBar::Point(x, y)));
seekBars_[n]->Draw(seekBars_[n]->GetValue(), true);
