parent
4fd69991dd
commit
48dc5b9a11
|
@ -5,6 +5,7 @@ button_in.png \
|
|||
button_out.png \
|
||||
e.png \
|
||||
error_bg.png \
|
||||
pointer.png
|
||||
pointer.png \
|
||||
pointer_mono.png
|
||||
|
||||
EXTRA_DIST = $(files_DATA)
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 583 B After Width: | Height: | Size: 798 B |
Binary file not shown.
After Width: | Height: | Size: 230 B |
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue