Same as original

Revision:
1:57fe493e8db2
Parent:
0:d3038879fed6
Child:
2:682475aae171
diff -r d3038879fed6 -r 57fe493e8db2 button_group.cpp
--- a/button_group.cpp	Sun Nov 22 10:07:55 2015 +0000
+++ b/button_group.cpp	Mon Nov 23 01:05:59 2015 +0000
@@ -1,7 +1,7 @@
 //-----------------------------------------------------------
 //  Button group class -- Header
 //
-//  2015/11/22, Copyright (c) 2015 MIKAMI, Naoki
+//  2015/11/23, Copyright (c) 2015 MIKAMI, Naoki
 //-----------------------------------------------------------
 
 #include "button_group.hpp"
@@ -51,19 +51,20 @@
     }
 
     // Get touched number and redraw button if touched
-    bool ButtonGroup::GetTouchedNumber(int &num, uint32_t color,
-                                       uint32_t textColor)
+    bool ButtonGroup::GetTouchedNumber(int &num, uint32_t color)
     {
         if (GetTouchedNumber(num))
         {
             for (int n=0; n<numberOfButtons_; n++)
                 if (n == num)
-                    buttons_[n]->Draw(color, textColor);
+                    buttons_[n]->Draw(color);
                 else
-                    buttons_[n]->Draw(buttons_[n]->GetColor(), textColor);
+                    buttons_[n]->Draw(buttons_[n]->GetColor());
             return true;
         }
         else
             return false;
     }
 }
+
+