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:
28:e2b7ea78b7a0
Parent:
6:b8f197b0012c
Child:
30:835a6b1c0fad
--- a/GuiBase.hpp	Mon Jan 16 00:23:53 2017 +0000
+++ b/GuiBase.hpp	Wed Jan 25 13:56:02 2017 +0000
@@ -1,7 +1,7 @@
 //-----------------------------------------------------------
 //  GuiBase class (abstract base class) ---- Header
 //      
-//  2016/04/10, Copyright (c) 2016 MIKAMI, Naoki
+//  2017/01/25, Copyright (c) 2017 MIKAMI, Naoki
 //-----------------------------------------------------------
 
 #ifndef F746_GUI_BASE_HPP
@@ -49,12 +49,12 @@
         // Constructor
         GuiBase(uint16_t x =0, uint16_t y =0,
                 sFONT &fonts = Font12,
-                uint32_t textColor         = GuiBase::ENUM_TEXT,
-                uint32_t backColor         = GuiBase::ENUM_BACK,
-                uint32_t createdColor      = GuiBase::ENUM_CREATED,
-                uint32_t touchedColor      = GuiBase::ENUM_TOUCHED,
-                uint32_t inactiveColor     = GuiBase::ENUM_INACTIVE,
-                uint32_t inactiveTextColor = GuiBase::ENUM_INACTIVE_TEXT);
+                uint32_t textColor         = ENUM_TEXT,
+                uint32_t backColor         = ENUM_BACK,
+                uint32_t createdColor      = ENUM_CREATED,
+                uint32_t touchedColor      = ENUM_TOUCHED,
+                uint32_t inactiveColor     = ENUM_INACTIVE,
+                uint32_t inactiveTextColor = ENUM_INACTIVE_TEXT);
 
         void DrawString(uint16_t x, uint16_t y, const string str)
         { lcd_.DisplayStringAt(x, y, (uint8_t *)str.c_str(), LEFT_MODE); }
@@ -68,3 +68,4 @@
     };
 }
 #endif  // F746_GUI_BASE_HPP
+