wl_cursors.h 366 B

12345678910111213141516171819
  1. // Declarations for a HiDPI-aware cursor theme manager.
  2. #include <wayland-cursor.h>
  3. typedef struct {
  4. struct wl_cursor_theme *theme;
  5. int scale;
  6. } GLFWWLCursorTheme;
  7. typedef struct {
  8. GLFWWLCursorTheme *themes;
  9. size_t count, capacity;
  10. } GLFWWLCursorThemes;
  11. struct wl_cursor_theme* glfw_wlc_theme_for_scale(int scale);
  12. void glfw_wlc_destroy(void);