22 #ifndef NUVIE_VIEWS_CONTAINER_VIEW_GUMP_H 23 #define NUVIE_VIEWS_CONTAINER_VIEW_GUMP_H 25 #include "ultima/nuvie/views/draggable_view.h" 38 class ContainerWidgetGump;
50 uint16 container_widget_y_offset;
63 void Display(
bool full_redraw)
override;
65 void set_actor(
Actor *a);
66 const Actor *get_actor()
const {
69 void set_container_obj(
Obj *o);
70 const Obj *get_container_obj()
const {
74 bool is_actor_container()
const {
75 return container_obj ==
nullptr;
80 GUI_status MouseDown(
int x,
int y, Shared::MouseButton button)
override;
81 GUI_status MouseUp(
int x,
int y, Shared::MouseButton button)
override;
82 GUI_status MouseMotion(
int x,
int y, uint8 state)
override {
83 return DraggableView::MouseMotion(x, y, state);
85 GUI_status MouseWheel(sint32 x, sint32 y)
override;
86 void MoveRelative(
int dx,
int dy)
override {
87 return DraggableView::MoveRelative(dx, dy);
91 GUI_status callback(uint16 msg,
GUI_CallBack *caller,
void *data)
override;
95 void init_backpack(
const Common::Path &datadir,
bool extend_area_w);
100 void display_inventory_weight();
Definition: configuration.h:61
Definition: atari-screen.h:60
Definition: tile_manager.h:145
Definition: detection.h:27
Definition: draggable_view.h:34
Definition: obj_manager.h:75
Definition: keyboard.h:294
Definition: container_view_gump.h:40
Definition: gui_callback.h:31