summaryrefslogtreecommitdiff
path: root/src/gui/widgets/inttextfield.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-06 18:37:06 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-06 18:37:06 +0300
commitc25141f02a5b3dcddcc93ca5d2bd2fcdad5efb31 (patch)
treeac124c630bc17ef10a8885a49fbb387f7091d15d /src/gui/widgets/inttextfield.h
parent88697bc3503090194877b241b987ddc751034166 (diff)
downloadplus-c25141f02a5b3dcddcc93ca5d2bd2fcdad5efb31.tar.gz
plus-c25141f02a5b3dcddcc93ca5d2bd2fcdad5efb31.tar.bz2
plus-c25141f02a5b3dcddcc93ca5d2bd2fcdad5efb31.tar.xz
plus-c25141f02a5b3dcddcc93ca5d2bd2fcdad5efb31.zip
Add strong typed bool type Enable.
Diffstat (limited to 'src/gui/widgets/inttextfield.h')
-rw-r--r--src/gui/widgets/inttextfield.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/inttextfield.h b/src/gui/widgets/inttextfield.h
index 979f3a886..04f34b393 100644
--- a/src/gui/widgets/inttextfield.h
+++ b/src/gui/widgets/inttextfield.h
@@ -23,6 +23,8 @@
#ifndef GUI_WIDGETS_INTTEXTFIELD_H
#define GUI_WIDGETS_INTTEXTFIELD_H
+#include "enums/simpletypes.h"
+
#include "gui/widgets/textfield.h"
/**
@@ -38,7 +40,7 @@ class IntTextField final : public TextField
const int def = 0,
const int min = 0,
const int max = 0,
- const bool enabled = true,
+ const Enable enabled = Enable_true,
const int width = 0);
A_DELETE_COPY(IntTextField)