From f03be9430963aa454e50113a7ee1f4647634d4f2 Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Fri, 18 Aug 2017 19:48:55 -0400 Subject: rename wlr_cursor to wlr_xcursor This is for the implementation of another type that should be called wlr_cursor. --- include/wlr/xcursor.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/xcursor.h b/include/wlr/xcursor.h index 1744fd92..ae07b4fa 100644 --- a/include/wlr/xcursor.h +++ b/include/wlr/xcursor.h @@ -31,7 +31,7 @@ #define _WLR_XCURSOR_H #include -struct wlr_cursor_image { +struct wlr_xcursor_image { uint32_t width; /* actual width */ uint32_t height; /* actual height */ uint32_t hotspot_x; /* hot spot x (must be inside image) */ @@ -40,27 +40,27 @@ struct wlr_cursor_image { uint8_t *buffer; }; -struct wlr_cursor { +struct wlr_xcursor { unsigned int image_count; - struct wlr_cursor_image **images; + struct wlr_xcursor_image **images; char *name; uint32_t total_delay; /* length of the animation in ms */ }; -struct wlr_cursor_theme { +struct wlr_xcursor_theme { unsigned int cursor_count; - struct wlr_cursor **cursors; + struct wlr_xcursor **cursors; char *name; int size; }; -struct wlr_cursor_theme *wlr_cursor_theme_load(const char *name, int size); +struct wlr_xcursor_theme *wlr_xcursor_theme_load(const char *name, int size); -void wlr_cursor_theme_destroy(struct wlr_cursor_theme *theme); +void wlr_xcursor_theme_destroy(struct wlr_xcursor_theme *theme); -struct wlr_cursor *wlr_cursor_theme_get_cursor( - struct wlr_cursor_theme *theme, const char *name); +struct wlr_xcursor *wlr_xcursor_theme_get_cursor( + struct wlr_xcursor_theme *theme, const char *name); -int wlr_cursor_frame(struct wlr_cursor *cursor, uint32_t time); +int wlr_xcursor_frame(struct wlr_xcursor *cursor, uint32_t time); #endif -- cgit v1.2.3