22 #ifndef NUVIE_VIEWS_INVENTORY_VIEW_H 23 #define NUVIE_VIEWS_INVENTORY_VIEW_H 25 #include "ultima/nuvie/views/view.h" 38 class InventoryWidget;
56 struct invcursor_pos_s {
69 bool set_party_member(uint8 party_member)
override;
70 bool set_actor(
Actor *actor,
bool pickpocket =
false);
71 void set_show_cursor(
bool state);
72 void moveCursorToSlot(uint8 slot_num);
73 void moveCursorToInventory(uint8 inv_x = 0, uint8 inv_y = 0);
74 void moveCursorRelative(sint8 new_x, sint8 new_y);
75 void moveCursorToButton(uint8 button_num = 0);
76 void moveCursorToTop();
77 bool select_obj(
Obj *obj);
78 void select_objAtCursor();
79 Obj *get_objAtCursor();
81 return inventory_widget;
84 void Display(
bool full_redraw)
override;
87 void simulate_CB_callback();
88 bool is_picking_pocket()
const {
89 return picking_pocket;
91 void lock_to_actor(
bool value) {
98 void add_command_icons(
Screen *tmp_screen,
void *view_manager);
99 void display_inventory_weights();
100 void display_combat_mode();
101 void update_cursor();
104 GUI_status MouseDown(
int x,
int y, Shared::MouseButton button)
override;
105 GUI_status MouseWheel(sint32 x, sint32 y)
override;
106 GUI_status callback(uint16 msg,
GUI_CallBack *caller,
void *data)
override;
Definition: configuration.h:61
Definition: atari-screen.h:60
Definition: tile_manager.h:145
Definition: detection.h:27
Definition: obj_manager.h:75
Definition: gui_drag_manager.h:36
Definition: keyboard.h:294
Definition: inventory_view.h:40
Definition: tile_manager.h:113
Definition: gui_callback.h:31