2014-11-19 04:57:13 -08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
struct cursor_data {
|
|
|
|
gs_texture_t *texture;
|
|
|
|
HCURSOR current_cursor;
|
|
|
|
POINT cursor_pos;
|
|
|
|
long x_hotspot;
|
|
|
|
long y_hotspot;
|
|
|
|
bool visible;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern void cursor_capture(struct cursor_data *data);
|
|
|
|
extern void cursor_draw(struct cursor_data *data, long x_offset, long y_offset,
|
2014-12-31 23:58:41 -08:00
|
|
|
float x_scale, float y_scale, long width, long height);
|
2014-11-19 04:57:13 -08:00
|
|
|
extern void cursor_data_free(struct cursor_data *data);
|