Rev 2097 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1528 | jag | 1 | /* |
2 | * filled_button.h |
||
2302 | jag | 3 | * DIN Is Noise is copyright (c) 2006-2025 Jagannathan Sampath |
1713 | jag | 4 | * DIN Is Noise is released under GNU Public License 2.0 |
1528 | jag | 5 | * For more information, please visit https://dinisnoise.org/ |
6 | */ |
||
7 | |||
8 | #ifndef __filled_button |
||
9 | #define __filled_button |
||
10 | |||
11 | #include "button.h" |
||
12 | |||
13 | struct filled_button : button { |
||
14 | filled_button (int sz = 8) {set_size (sz);} |
||
15 | void update () {set_size (size);} |
||
16 | void draw (); |
||
17 | }; |
||
18 | |||
19 | #endif |