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
Diff: ButtonGroup.hpp
- Revision:
- 3:fe6ff954824a
- Parent:
- 2:d2f882d98f0a
- Child:
- 8:8c5107c91d02
diff -r d2f882d98f0a -r fe6ff954824a ButtonGroup.hpp --- a/ButtonGroup.hpp Tue Apr 05 13:23:17 2016 +0000 +++ b/ButtonGroup.hpp Thu Apr 07 00:08:19 2016 +0000 @@ -1,7 +1,7 @@ //----------------------------------------------------------- // ButtonGroup class -- Header // -// 2016/03/31, Copyright (c) 2016 MIKAMI, Naoki +// 2016/04/07, Copyright (c) 2016 MIKAMI, Naoki //----------------------------------------------------------- #ifndef F746_BUTTON_GROUP_HPP @@ -36,8 +36,8 @@ bool Draw(int num, uint32_t color, uint32_t textColor); bool Draw(int num) { return Draw(num, CREATED_COLOR_, TEXT_COLOR_); } - // Draw with touched color - bool DrawTouched(int num) { return Draw(num, TOUCHED_COLOR_, TEXT_COLOR_); } + // Change to touched color + bool TouchedColor(int num); // Draw all buttons void DrawAll(uint32_t color, uint32_t textColor)