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:
8:8c5107c91d02
Parent:
3:fe6ff954824a
Child:
14:b977160de2f3
--- a/ButtonGroup.hpp	Tue Apr 12 05:48:25 2016 +0000
+++ b/ButtonGroup.hpp	Thu Apr 21 01:12:59 2016 +0000
@@ -1,7 +1,7 @@
 //-----------------------------------------------------------
 //  ButtonGroup class -- Header
 //
-//  2016/04/07, Copyright (c) 2016 MIKAMI, Naoki
+//  2016/04/21, Copyright (c) 2016 MIKAMI, Naoki
 //-----------------------------------------------------------
 
 #ifndef F746_BUTTON_GROUP_HPP
@@ -59,6 +59,16 @@
         // Activate and inactivate
         bool Activate(int num);
         bool Inactivate(int num);
+        void ActivateAll()
+        {   
+            for (int n=0; n<numberOfButtons_; n++)
+                buttons_[n]->Activate();
+        }
+        void InactivateAll()
+        {
+            for (int n=0; n<numberOfButtons_; n++)
+                buttons_[n]->Inactivate();
+        }
 
     private:
         Button **buttons_;