diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-08-18 19:48:55 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-08-18 19:48:55 -0400 |
commit | f03be9430963aa454e50113a7ee1f4647634d4f2 (patch) | |
tree | 3ba24b1d401119ccfcc247c3245935014a1d2583 /include | |
parent | 01d9eda702b3c3fc56b00ab63568ae2d43218515 (diff) |
rename wlr_cursor to wlr_xcursor
This is for the implementation of another type that should be called wlr_cursor.
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/xcursor.h | 20 |
1 files changed, 10 insertions, 10 deletions
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 <stdint.h> -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 |