diff options
author | Stijn Buys <ingar@osirion.org> | 2012-01-08 14:43:08 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-01-08 14:43:08 +0000 |
commit | 99ef9f98f509e9adb408a0b9bb4f13bb3e113384 (patch) | |
tree | 1756a30dfd9e4591e72fbaa1e66d86a2d95fe63f /src/client/inventorywindow.h | |
parent | adbed6d8e57cd15020ad483ead1fed3dfb69b815 (diff) |
Added eject cargo dialog
Diffstat (limited to 'src/client/inventorywindow.h')
-rw-r--r-- | src/client/inventorywindow.h | 15 |
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 } |