|
|
|
@ -10,7 +10,10 @@ e_pointer_container_set(E_Container *con) |
|
|
|
|
int *pix; |
|
|
|
|
|
|
|
|
|
o = evas_object_image_add(con->bg_evas); |
|
|
|
|
evas_object_image_file_set(o, e_path_find(path_images, "pointer.png"), NULL); |
|
|
|
|
if (ecore_x_cursor_color_supported_get()) |
|
|
|
|
evas_object_image_file_set(o, e_path_find(path_images, "pointer.png"), NULL); |
|
|
|
|
else |
|
|
|
|
evas_object_image_file_set(o, e_path_find(path_images, "pointer_mono.png"), NULL); |
|
|
|
|
evas_object_image_size_get(o, &w, &h); |
|
|
|
|
pix = evas_object_image_data_get(o, 0); |
|
|
|
|
cur = ecore_x_cursor_new(con->win, pix, w, h, 0, 0); |
|
|
|
@ -34,7 +37,10 @@ e_pointer_ecore_evas_set(Ecore_Evas *ee) |
|
|
|
|
e = ecore_evas_get(ee); |
|
|
|
|
win = ecore_evas_software_x11_window_get(ee); |
|
|
|
|
o = evas_object_image_add(e); |
|
|
|
|
evas_object_image_file_set(o, e_path_find(path_images, "pointer.png"), NULL); |
|
|
|
|
if (ecore_x_cursor_color_supported_get()) |
|
|
|
|
evas_object_image_file_set(o, e_path_find(path_images, "pointer.png"), NULL); |
|
|
|
|
else |
|
|
|
|
evas_object_image_file_set(o, e_path_find(path_images, "pointer_mono.png"), NULL); |
|
|
|
|
evas_object_image_size_get(o, &w, &h); |
|
|
|
|
pix = evas_object_image_data_get(o, 0); |
|
|
|
|
cur = ecore_x_cursor_new(win, pix, w, h, 0, 0); |
|
|
|
|