Same as original
Diff: button.cpp
- Revision:
- 10:5ca60e724a76
- Parent:
- 5:2cc388e91bde
- Child:
- 12:710078d50d9b
diff -r 0573d8a9bbcd -r 5ca60e724a76 button.cpp --- a/button.cpp Wed Dec 23 08:00:51 2015 +0000 +++ b/button.cpp Thu Dec 31 08:32:05 2015 +0000 @@ -1,7 +1,7 @@ //----------------------------------------------------------- // Button class // -// 2015/12/08, Copyright (c) 2015 MIKAMI, Naoki +// 2015/12/31, Copyright (c) 2015 MIKAMI, Naoki //----------------------------------------------------------- #include "button.hpp" @@ -12,7 +12,6 @@ void Button::Draw(uint32_t color, uint32_t textColor) { lcd_.SetTextColor(color); - currentColor_ = color; lcd_.FillRect(X_, Y_, W_, H_); if (STR_.length() != 0) @@ -55,4 +54,3 @@ return rtn; } } -