GUI parts for DISCO-F746NG. GuiBase, Button, ButtonGroup, ResetButton, Label, BlinkLabel, NumericLabel, SeekBar, SeekbarGroup, NumericUpDown

Dependencies:   Array_Matrix BSP_DISCO_F746NG LCD_DISCO_F746NG TS_DISCO_F746NG

Dependents:   F746_AudioOutQSPI F746_AudioPlayerSD DISCO-F746NG_test001 F746_SD_WavPlayer ... more

Revision:
29:551a5f1b52b9
Parent:
27:115219bcd9f5
--- a/BlinkLabel.hpp	Wed Jan 25 13:56:02 2017 +0000
+++ b/BlinkLabel.hpp	Wed Jan 25 14:18:42 2017 +0000
@@ -2,7 +2,7 @@
 //  BlinkLabel class -- derived class of Label class
 //      For displaying error message
 //
-//  2017/01/16, Copyright (c) 2017 MIKAMI, Naoki
+//  2017/01/25, Copyright (c) 2017 MIKAMI, Naoki
 //-----------------------------------------------------------
 
 #ifndef F746_BLINK_LABEL_HPP
@@ -25,14 +25,14 @@
                    uint32_t on = 500, uint32_t off = 200)
             : Label(x, y, str, mode, fonts, textColor, backColor)
         {
-            ResetButton *reset = new ResetButton();
+            ResetButton reset;
             while (true)    // Blinking here
             {
                 wait_ms(on);
                 Draw(backColor);
                 wait_ms(off);
                 Draw(textColor);
-                reset->DoIfTouched();
+                reset.DoIfTouched();
             }
         }
 
@@ -43,3 +43,4 @@
     };
 }
 #endif  // F746_BLINK_LABEL_HPP
+