libXcursor support (themed cursors).

This commit is contained in:
Fernando Tarlá Cardoso Lemos
2010-11-26 21:26:51 -02:00
committed by Michael Stapelberg
parent 3bab222aa7
commit 69fc6449dc
12 changed files with 123 additions and 31 deletions

17
include/xcursor.h Normal file
View File

@ -0,0 +1,17 @@
#ifndef _XCURSOR_CURSOR_H
#define _XCURSOR_CURSOR_H
#include <X11/Xlib.h>
enum xcursor_cursor_t {
XCURSOR_CURSOR_POINTER = 0,
XCURSOR_CURSOR_RESIZE_HORIZONTAL,
XCURSOR_CURSOR_RESIZE_VERTICAL,
XCURSOR_CURSOR_MAX
};
extern void xcursor_load_cursors();
extern Cursor xcursor_get_cursor(enum xcursor_cursor_t c);
extern int xcursor_get_xcb_cursor(enum xcursor_cursor_t c);
#endif