22 #ifndef NUVIE_VIEWS_DOLL_WIDGET_H 23 #define NUVIE_VIEWS_DOLL_WIDGET_H 25 #include "ultima/nuvie/gui/widgets/gui_widget.h" 26 #include "ultima/nuvie/core/tile_manager.h" 27 #include "ultima/nuvie/core/obj_manager.h" 28 #include "ultima/nuvie/views/inventory_message.h" 44 bool use_new_dolls, old_use_new_dolls;
46 Obj *selected_obj, *unready_obj;
49 bool is_in_portrait_view;
50 bool need_to_free_tiles;
51 Tile *empty_tile, *blocked_tile;
61 void free_doll_shapes();
63 void set_actor(
Actor *a);
64 void Display(
bool full_redraw)
override;
66 GUI_status MouseDown(
int x,
int y, Shared::MouseButton button)
override;
67 GUI_status MouseUp(
int x,
int y, Shared::MouseButton button)
override;
68 GUI_status MouseMotion(
int x,
int y, uint8 state)
override;
69 GUI_status MouseDouble(
int x,
int y, Shared::MouseButton button)
override;
70 GUI_status MouseClick(
int x,
int y, Shared::MouseButton button)
override;
71 GUI_status MouseDelayed(
int x,
int y, Shared::MouseButton button)
override;
73 void drag_drop_success(
int x,
int y,
int message,
void *data)
override;
74 void drag_drop_failed(
int x,
int y,
int message,
void *data)
override;
76 bool drag_accept_drop(
int x,
int y,
int message,
void *data)
override;
77 void drag_perform_drop(
int x,
int y,
int message,
void *data)
override;
79 void drag_draw(
int x,
int y,
int message,
void *data)
override;
81 const Common::Rect *get_item_hit_rect(uint8 location)
const;
88 void display_old_doll();
89 void display_new_doll();
90 void display_readied_object(uint8 location, uint16 x, uint16 y,
Actor *actor,
Tile *emptyTile);
95 void load_md_doll_shp();
Definition: managed_surface.h:51
Definition: configuration.h:61
Definition: tile_manager.h:145
Definition: u6_shape.h:47
Definition: detection.h:27
Definition: obj_manager.h:75
Definition: tile_manager.h:113
Definition: gui_callback.h:31