22 #ifndef NUVIE_CORE_CURSOR_H 23 #define NUVIE_CORE_CURSOR_H 25 #include "common/str.h" 36 uint16 point_x, point_y;
37 unsigned char *shapedat;
53 unsigned char *cleanup;
59 uint16 screen_w, screen_h;
61 void add_update(uint16 x, uint16 y, uint16 w, uint16 h);
62 inline void fix_position(
MousePointer *ptr,
int &px,
int &py);
63 void save_backing(uint32 px, uint32 py, uint32 w, uint32 h);
71 uint32 load_all(
const Common::Path &filename, nuvie_game_t game_type);
73 bool set_pointer(uint8 ptr_num);
75 void reset_position() {
79 void move(uint32 px, uint32 py) {
92 void get_hotspot(uint16 &x, uint16 &y)
const {
93 x = cursors[cursor_id]->point_x;
94 y = cursors[cursor_id]->point_y;
97 return display(cur_x, cur_y);
99 bool display(
int px,
int py);
103 bool is_visible()
const {
Definition: configuration.h:60
Definition: atari-screen.h:58
Definition: detection.h:27
Out move(In first, In last, Out dst)
Definition: algorithm.h:109