forked from enlightenment/efl
parent
315c2a045b
commit
f0e54c13f7
|
@ -1001,8 +1001,7 @@ EAPI void ecore_x_window_configure(Ecore_X_Window win,
|
||||||
int border_width,
|
int border_width,
|
||||||
Ecore_X_Window sibling,
|
Ecore_X_Window sibling,
|
||||||
int stack_mode);
|
int stack_mode);
|
||||||
EAPI void ecore_x_window_cursor_set(Ecore_X_Window win,
|
EAPI void ecore_x_window_cursor_set(Ecore_X_Window win, Ecore_X_Cursor c);
|
||||||
Ecore_X_Cursor c);
|
|
||||||
EAPI void ecore_x_window_del(Ecore_X_Window win);
|
EAPI void ecore_x_window_del(Ecore_X_Window win);
|
||||||
EAPI void ecore_x_window_ignore_set(Ecore_X_Window win, int ignore);
|
EAPI void ecore_x_window_ignore_set(Ecore_X_Window win, int ignore);
|
||||||
EAPI Ecore_X_Window *ecore_x_window_ignore_list(int *num);
|
EAPI Ecore_X_Window *ecore_x_window_ignore_list(int *num);
|
||||||
|
@ -1322,6 +1321,9 @@ EAPI int ecore_x_cursor_color_supported_get(void);
|
||||||
EAPI Ecore_X_Cursor ecore_x_cursor_new(Ecore_X_Window win, int *pixels, int w, int h, int hot_x, int hot_y);
|
EAPI Ecore_X_Cursor ecore_x_cursor_new(Ecore_X_Window win, int *pixels, int w, int h, int hot_x, int hot_y);
|
||||||
EAPI void ecore_x_cursor_free(Ecore_X_Cursor c);
|
EAPI void ecore_x_cursor_free(Ecore_X_Cursor c);
|
||||||
EAPI Ecore_X_Cursor ecore_x_cursor_shape_get(int shape);
|
EAPI Ecore_X_Cursor ecore_x_cursor_shape_get(int shape);
|
||||||
|
EAPI void ecore_x_cursor_size_set(int size);
|
||||||
|
EAPI int ecore_x_cursor_size_get(void);
|
||||||
|
|
||||||
|
|
||||||
EAPI int ecore_x_pointer_grab(Ecore_X_Window win);
|
EAPI int ecore_x_pointer_grab(Ecore_X_Window win);
|
||||||
EAPI int ecore_x_pointer_confine_grab(Ecore_X_Window win);
|
EAPI int ecore_x_pointer_confine_grab(Ecore_X_Window win);
|
||||||
|
|
|
@ -1103,7 +1103,7 @@ ecore_x_cursor_color_supported_get(void)
|
||||||
Ecore_X_Cursor
|
Ecore_X_Cursor
|
||||||
ecore_x_cursor_new(Ecore_X_Window win, int *pixels, int w, int h, int hot_x, int hot_y)
|
ecore_x_cursor_new(Ecore_X_Window win, int *pixels, int w, int h, int hot_x, int hot_y)
|
||||||
{
|
{
|
||||||
#ifdef ECORE_XCURSOR
|
#ifdef ECORE_XCURSOR
|
||||||
if (_ecore_x_xcursor)
|
if (_ecore_x_xcursor)
|
||||||
{
|
{
|
||||||
Cursor c;
|
Cursor c;
|
||||||
|
@ -1295,6 +1295,18 @@ ecore_x_cursor_shape_get(int shape)
|
||||||
return XCreateFontCursor(_ecore_x_disp, shape);
|
return XCreateFontCursor(_ecore_x_disp, shape);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
ecore_x_cursor_size_set(int size)
|
||||||
|
{
|
||||||
|
XcursorSetDefaultSize(_ecore_x_disp, size);
|
||||||
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
ecore_x_cursor_size_get(void)
|
||||||
|
{
|
||||||
|
return XcursorGetDefaultSize(_ecore_x_disp);
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
ecore_x_pointer_grab(Ecore_X_Window win)
|
ecore_x_pointer_grab(Ecore_X_Window win)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue