diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-01 14:07:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-01 14:07:38 +0300 |
commit | 7afb9df4a8fdecc0d6b93a7dbd7044e0f6a358f3 (patch) | |
tree | 2aa557aac271eb15b1f70bbfb7842e593e90b791 /src/gui/widgets/setupitem.h | |
parent | 1b2001d45ea6ee99490d4b1c374b1a03d73bbc86 (diff) | |
download | manaplus-7afb9df4a8fdecc0d6b93a7dbd7044e0f6a358f3.tar.gz manaplus-7afb9df4a8fdecc0d6b93a7dbd7044e0f6a358f3.tar.bz2 manaplus-7afb9df4a8fdecc0d6b93a7dbd7044e0f6a358f3.tar.xz manaplus-7afb9df4a8fdecc0d6b93a7dbd7044e0f6a358f3.zip |
Add strong typed bool enum donotalign.
Diffstat (limited to 'src/gui/widgets/setupitem.h')
-rw-r--r-- | src/gui/widgets/setupitem.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/widgets/setupitem.h b/src/gui/widgets/setupitem.h index 2bfa9e04c..cc7a04044 100644 --- a/src/gui/widgets/setupitem.h +++ b/src/gui/widgets/setupitem.h @@ -21,6 +21,7 @@ #ifndef GUI_WIDGETS_SETUPITEM_H #define GUI_WIDGETS_SETUPITEM_H +#include "enums/simpletypes/donotalign.h" #include "enums/simpletypes/mainconfig.h" #include "enums/simpletypes/onthefly.h" #include "enums/simpletypes/usebase64.h" @@ -418,7 +419,7 @@ class SetupItemSlider2 final : public SetupItem SetupItemNames *restrict const values, const OnTheFly onTheFly, const MainConfig mainConfig, - const bool doNotAlign); + const DoNotAlign doNotAlign); SetupItemSlider2(const std::string &restrict text, const std::string &restrict description, @@ -430,7 +431,7 @@ class SetupItemSlider2 final : public SetupItem const std::string &restrict def, const OnTheFly onTheFly, const MainConfig mainConfig, - const bool doNotAlign); + const DoNotAlign doNotAlign); A_DELETE_COPY(SetupItemSlider2) @@ -464,7 +465,7 @@ class SetupItemSlider2 final : public SetupItem int mInvertValue; bool mInvert; OnTheFly mOnTheFly; - bool mDoNotAlign; + DoNotAlign mDoNotAlign; }; class SetupItemSliderList notfinal : public SetupItem |