Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-01-08 14:43:08 +0000
committerStijn Buys <ingar@osirion.org>2012-01-08 14:43:08 +0000
commit99ef9f98f509e9adb408a0b9bb4f13bb3e113384 (patch)
tree1756a30dfd9e4591e72fbaa1e66d86a2d95fe63f /src/client/inventorywindow.h
parentadbed6d8e57cd15020ad483ead1fed3dfb69b815 (diff)
Added eject cargo dialog
Diffstat (limited to 'src/client/inventorywindow.h')
-rw-r--r--src/client/inventorywindow.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/client/inventorywindow.h b/src/client/inventorywindow.h
index 32175b1..e32bf44 100644
--- a/src/client/inventorywindow.h
+++ b/src/client/inventorywindow.h
@@ -9,10 +9,12 @@
#include "core/info.h"
#include "core/inventory.h"
+#include "ui/button.h"
#include "ui/iconbutton.h"
#include "ui/listview.h"
#include "ui/modelview.h"
#include "ui/scrollpane.h"
+#include "ui/slider.h"
#include "ui/plaintext.h"
#include "ui/window.h"
@@ -49,6 +51,14 @@ private:
void set_info(const core::Info *info, const int amount);
+ void show_eject_dialog(const core::Info *info, const int amount);
+
+ void show_eject_amount(const int amount);
+
+ void act_eject();
+
+ void show_item_info(const ui::ListItem *listitem);
+
bool verify() const;
unsigned long inventorywindow_inventorytimestamp;
@@ -73,6 +83,11 @@ private:
ui::ScrollPane *inventorywindow_scrollpane;
ui::IconButton *inventorywindow_shipbutton;
+ ui::IconButton *inventorywindow_ejectbutton;
+ ui::Button *inventorywindow_ejectconfirmbutton;
+ ui::Button *inventorywindow_ejectcancelbutton;
+ ui::Slider *inventorywindow_ejectslider;
+
}; // class InventoryWindow
}