diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-05 19:09:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-05 19:09:02 +0300 |
commit | 92c019dad798f1a84c5d3e8e8331a885f6458133 (patch) | |
tree | 078d58c3b78ed37d23e7292460f4443f5ef799dd /src/gui/widgets/popuplist.h | |
parent | e6d251345a48108495d39d82b0ec79deac63d86d (diff) | |
download | mv-92c019dad798f1a84c5d3e8e8331a885f6458133.tar.gz mv-92c019dad798f1a84c5d3e8e8331a885f6458133.tar.bz2 mv-92c019dad798f1a84c5d3e8e8331a885f6458133.tar.xz mv-92c019dad798f1a84c5d3e8e8331a885f6458133.zip |
Add to left classes stong typed Modal enum.
Diffstat (limited to 'src/gui/widgets/popuplist.h')
-rw-r--r-- | src/gui/widgets/popuplist.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/widgets/popuplist.h b/src/gui/widgets/popuplist.h index db38585d9..a15701d57 100644 --- a/src/gui/widgets/popuplist.h +++ b/src/gui/widgets/popuplist.h @@ -21,6 +21,8 @@ #ifndef GUI_WIDGETS_POPUPLIST_H #define GUI_WIDGETS_POPUPLIST_H +#include "enums/simpletypes.h" + #include "gui/widgets/popup.h" #include "listeners/focuslistener.h" @@ -37,8 +39,9 @@ class PopupList final : public Popup, { public: PopupList(DropDown *const widget, - ListModel *const listModel, bool extended, - bool modal = false); + ListModel *const listModel, + const bool extended, + const Modal modal = Modal_false); ~PopupList(); @@ -75,7 +78,7 @@ class PopupList final : public Popup, ScrollArea *mScrollArea; DropDown *mDropDown; int mPressedIndex; - bool mModal; + Modal mModal; }; #endif // GUI_WIDGETS_POPUPLIST_H |