22 #ifndef NUVIE_VIEWS_SPELL_VIEW_GUMP_H 23 #define NUVIE_VIEWS_SPELL_VIEW_GUMP_H 25 #include "ultima/nuvie/views/spell_view.h" 26 #include "ultima/nuvie/files/nuvie_bmp_file.h" 40 static const int SPELLVIEWGUMP_WIDTH = 162;
45 sint16 selected_spell;
54 void Display(
bool full_redraw)
override;
56 GUI_status MouseDown(
int x,
int y, Shared::MouseButton button)
override;
57 GUI_status MouseUp(
int x,
int y, Shared::MouseButton button)
override;
58 GUI_status MouseMotion(
int x,
int y, uint8 state)
override {
59 return DraggableView::MouseMotion(x, y, state);
61 GUI_status MouseWheel(sint32 x, sint32 y)
override;
62 void MoveRelative(
int dx,
int dy)
override {
63 return DraggableView::MoveRelative(dx, dy);
67 GUI_status callback(uint16 msg,
GUI_CallBack *caller,
void *data)
override;
70 sint16 getSpell(
int x,
int y)
const;
72 uint8 fill_cur_spell_list()
override;
75 void printSpellQty(uint8 spell_num, uint16 x, uint16 y);
77 void close_spellbook();
Definition: configuration.h:61
Definition: gui_font.h:36
Definition: atari-screen.h:60
Definition: tile_manager.h:145
Definition: detection.h:27
Definition: spell_view_gump.h:42
Definition: spell_view.h:40
Definition: obj_manager.h:75
Definition: nuvie_bmp_file.h:33
Definition: gui_callback.h:31