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

Dependencies:   Array_Matrix TS_DISCO_F746NG LCD_DISCO_F746NG BSP_DISCO_F746NG

Files at this revision

API Documentation at this revision

Comitter:
Lessa
Date:
Tue Jun 04 20:18:47 2019 +0000
Parent:
33:50b8f7654c36
Commit message:
Rev1

Changed in this revision

Button.cpp Show annotated file Show diff for this revision Revisions of this file
GuiBase.hpp Show annotated file Show diff for this revision Revisions of this file
--- a/Button.cpp	Mon Mar 12 04:22:48 2018 +0000
+++ b/Button.cpp	Tue Jun 04 20:18:47 2019 +0000
@@ -61,7 +61,7 @@
 
     void Button::Inactivate()
     {
-        Draw(INACTIVE_COLOR_, INACTIVE_TEXT_COLOR_);
+        Draw(0xFF003538, 0xFF003538); //Draw(INACTIVE_COLOR_, INACTIVE_TEXT_COLOR_);
         active_ = false;
     }
 }
--- a/GuiBase.hpp	Mon Mar 12 04:22:48 2018 +0000
+++ b/GuiBase.hpp	Tue Jun 04 20:18:47 2019 +0000
@@ -53,8 +53,8 @@
         const uint32_t BACK_COLOR_;
         const uint32_t CREATED_COLOR_;
         const uint32_t TOUCHED_COLOR_;
-        const uint32_t INACTIVE_COLOR_;
-        const uint32_t INACTIVE_TEXT_COLOR_;
+        const uint32_t INACTIVE_COLOR_; //INACTIVE_COLOR
+        const uint32_t INACTIVE_TEXT_COLOR_; //INACTIVE_TEXT_COLOR_
 
         // Constructor
         GuiBase(uint16_t x =0, uint16_t y =0,