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:
- 28:e2b7ea78b7a0
- Parent:
- 16:b2762ec08863
- Child:
- 33:f8dbcf3fee79
--- a/SeekBar.hpp Mon Jan 16 00:23:53 2017 +0000
+++ b/SeekBar.hpp Wed Jan 25 13:56:02 2017 +0000
@@ -1,7 +1,7 @@
//-----------------------------------------------------------
// SeekBar class -- Header
//
-// 2016/07/12, Copyright (c) 2016 MIKAMI, Naoki
+// 2017/01/25, Copyright (c) 2017 MIKAMI, Naoki
//-----------------------------------------------------------
#ifndef F746_SEEKBAR_HPP
@@ -49,8 +49,9 @@
uint32_t colorH = 0xFFB0B0B0,
uint32_t backColor = GuiBase::ENUM_BACK);
- virtual ~SeekBar();
-
+ virtual ~SeekBar()
+ { for (int n=0; n<3; n++) delete labelLCR_[n]; }
+
bool Slide();
float GetValue() { return v_; }
int GetIntValue() { return Round(v_); }
@@ -91,3 +92,4 @@
};
}
#endif // F746_SEEKBAR_HPP
+
