diff options
Diffstat (limited to 'src/gui/buttoninfo.h')
-rw-r--r-- | src/gui/buttoninfo.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/buttoninfo.h b/src/gui/buttoninfo.h index 7de7375f9..a6c7eb9e0 100644 --- a/src/gui/buttoninfo.h +++ b/src/gui/buttoninfo.h @@ -21,13 +21,15 @@ #ifndef GUI_BUTTONINFO_H #define GUI_BUTTONINFO_H +#include "enums/simpletypes/visible.h" + #include "localconsts.h" class Button; struct ButtonInfo final { - ButtonInfo(Button *const button0, const int key0, const bool visible0) : + ButtonInfo(Button *const button0, const int key0, const Visible visible0) : button(button0), key(key0), visible(visible0) @@ -38,6 +40,6 @@ struct ButtonInfo final Button *button; int key; - bool visible; + Visible visible; }; #endif // GUI_BUTTONINFO_H |