forked from enlightenment/efl
Do not set color of cursor object.
We should not set the color of cursor objects, it damages things like rectangles and polygons. SVN revision: 31820
This commit is contained in:
parent
e04b782d50
commit
ac9e3d7412
|
@ -446,7 +446,6 @@ _ecore_evas_directfb_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int lay
|
||||||
|
|
||||||
evas_pointer_output_xy_get(ee->evas, &x, &y);
|
evas_pointer_output_xy_get(ee->evas, &x, &y);
|
||||||
evas_object_layer_set(ee->prop.cursor.object, ee->prop.cursor.layer);
|
evas_object_layer_set(ee->prop.cursor.object, ee->prop.cursor.layer);
|
||||||
evas_object_color_set(ee->prop.cursor.object, 255, 255, 255, 255);
|
|
||||||
evas_object_move(ee->prop.cursor.object,x - ee->prop.cursor.hot.x,y - ee->prop.cursor.hot.y);
|
evas_object_move(ee->prop.cursor.object,x - ee->prop.cursor.hot.x,y - ee->prop.cursor.hot.y);
|
||||||
evas_object_pass_events_set(ee->prop.cursor.object, 1);
|
evas_object_pass_events_set(ee->prop.cursor.object, 1);
|
||||||
if (evas_pointer_inside_get(ee->evas))
|
if (evas_pointer_inside_get(ee->evas))
|
||||||
|
|
|
@ -429,7 +429,6 @@ _ecore_evas_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int h
|
||||||
ee->prop.cursor.hot.y = hot_y;
|
ee->prop.cursor.hot.y = hot_y;
|
||||||
evas_pointer_output_xy_get(ee->evas, &x, &y);
|
evas_pointer_output_xy_get(ee->evas, &x, &y);
|
||||||
evas_object_layer_set(ee->prop.cursor.object, ee->prop.cursor.layer);
|
evas_object_layer_set(ee->prop.cursor.object, ee->prop.cursor.layer);
|
||||||
evas_object_color_set(ee->prop.cursor.object, 255, 255, 255, 255);
|
|
||||||
evas_object_move(ee->prop.cursor.object,
|
evas_object_move(ee->prop.cursor.object,
|
||||||
x - ee->prop.cursor.hot.x,
|
x - ee->prop.cursor.hot.x,
|
||||||
y - ee->prop.cursor.hot.y);
|
y - ee->prop.cursor.hot.y);
|
||||||
|
|
|
@ -368,7 +368,6 @@ _ecore_evas_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int h
|
||||||
ee->prop.cursor.hot.y = hot_y;
|
ee->prop.cursor.hot.y = hot_y;
|
||||||
evas_pointer_output_xy_get(ee->evas, &x, &y);
|
evas_pointer_output_xy_get(ee->evas, &x, &y);
|
||||||
evas_object_layer_set(ee->prop.cursor.object, ee->prop.cursor.layer);
|
evas_object_layer_set(ee->prop.cursor.object, ee->prop.cursor.layer);
|
||||||
evas_object_color_set(ee->prop.cursor.object, 255, 255, 255, 255);
|
|
||||||
evas_object_move(ee->prop.cursor.object,
|
evas_object_move(ee->prop.cursor.object,
|
||||||
x - ee->prop.cursor.hot.x,
|
x - ee->prop.cursor.hot.x,
|
||||||
y - ee->prop.cursor.hot.y);
|
y - ee->prop.cursor.hot.y);
|
||||||
|
|
|
@ -2111,7 +2111,6 @@ _ecore_evas_x_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int
|
||||||
|
|
||||||
evas_pointer_output_xy_get(ee->evas, &x, &y);
|
evas_pointer_output_xy_get(ee->evas, &x, &y);
|
||||||
evas_object_layer_set(ee->prop.cursor.object, ee->prop.cursor.layer);
|
evas_object_layer_set(ee->prop.cursor.object, ee->prop.cursor.layer);
|
||||||
evas_object_color_set(ee->prop.cursor.object, 255, 255, 255, 255);
|
|
||||||
evas_object_move(ee->prop.cursor.object,
|
evas_object_move(ee->prop.cursor.object,
|
||||||
x - ee->prop.cursor.hot.x,
|
x - ee->prop.cursor.hot.x,
|
||||||
y - ee->prop.cursor.hot.y);
|
y - ee->prop.cursor.hot.y);
|
||||||
|
|
Loading…
Reference in New Issue