diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-28 00:55:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-28 00:55:13 +0300 |
commit | 01a0e4b658241cc3dbd8a5d11d34a6de48dab159 (patch) | |
tree | 37294c079b9a05768b7380f7595784eb73485769 /src/gui/windows/ministatuswindow.h | |
parent | 072b727ae4d072d6c84f3331d78ca5a2ac76d271 (diff) | |
download | plus-01a0e4b658241cc3dbd8a5d11d34a6de48dab159.tar.gz plus-01a0e4b658241cc3dbd8a5d11d34a6de48dab159.tar.bz2 plus-01a0e4b658241cc3dbd8a5d11d34a6de48dab159.tar.xz plus-01a0e4b658241cc3dbd8a5d11d34a6de48dab159.zip |
Add strong typed bool type Visible.
Diffstat (limited to 'src/gui/windows/ministatuswindow.h')
-rw-r--r-- | src/gui/windows/ministatuswindow.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/windows/ministatuswindow.h b/src/gui/windows/ministatuswindow.h index 8d46fbdf9..d31783b63 100644 --- a/src/gui/windows/ministatuswindow.h +++ b/src/gui/windows/ministatuswindow.h @@ -23,6 +23,8 @@ #ifndef GUI_WINDOWS_MINISTATUSWINDOW_H #define GUI_WINDOWS_MINISTATUSWINDOW_H +#include "enums/simpletypes/visible.h" + #include "listeners/arrowslistener.h" #include "listeners/attributelistener.h" #include "listeners/inventorylistener.h" @@ -79,7 +81,7 @@ class MiniStatusWindow final : public Window, void mouseExited(MouseEvent &event) override final; - void showBar(const std::string &name, const bool visible); + void showBar(const std::string &name, const Visible visible); void updateBars(); |