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 不韋 呂

Revision:
2:d2f882d98f0a
Parent:
1:d1655f3c8717
Child:
4:cbf7ed9092a3
--- a/Label.hpp	Sun Apr 03 10:36:27 2016 +0000
+++ b/Label.hpp	Tue Apr 05 13:23:17 2016 +0000
@@ -1,7 +1,7 @@
 //-----------------------------------------------------------
 //  Label class -- Header
 //
-//  2016/04/03, Copyright (c) 2016 MIKAMI, Naoki
+//  2016/04/05, Copyright (c) 2016 MIKAMI, Naoki
 //-----------------------------------------------------------
 
 #ifndef F746_LABEL_HPP
@@ -23,13 +23,16 @@
               uint32_t backColor = GuiBase::ENUM_BACK);
 
         void Draw()
-        {   Draw(STR_, GuiBase::ENUM_TEXT); }
+        {   Draw(STR_, TEXT_COLOR_); }
+
+        void Draw(const string str)
+        {   Draw(str, TEXT_COLOR_); }
 
         void Draw(uint32_t textColor)
         {   Draw(STR_, textColor); }
 
         void Draw(const string str,
-                  uint32_t textColor = GuiBase::ENUM_TEXT);
+                  uint32_t textColor);
 
     private:
         const TextAlignMode MODE_;