summaryrefslogtreecommitdiff
path: root/src/gui/windows/inventorywindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/inventorywindow.h')
-rw-r--r--src/gui/windows/inventorywindow.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/inventorywindow.h b/src/gui/windows/inventorywindow.h
index 209e9c171..eb82b0fb5 100644
--- a/src/gui/windows/inventorywindow.h
+++ b/src/gui/windows/inventorywindow.h
@@ -25,6 +25,8 @@
#include "inventory.h"
+#include "enums/simpletypes/visible.h"
+
#include "gui/widgets/window.h"
#include "listeners/actionlistener.h"
@@ -122,7 +124,7 @@ class InventoryWindow final : public Window,
/**
* Sets whether the split button should be shown.
*/
- void setSplitAllowed(const bool allowed);
+ void setSplitAllowed(const Visible allowed);
/**
* Closes the Storage Window, as well as telling the server that the
@@ -153,7 +155,7 @@ class InventoryWindow final : public Window,
void mouseExited(MouseEvent &event) override final;
- void setVisible(bool visible) override final;
+ void setVisible(Visible visible) override final;
void unsetInventory();