forked from enlightenment/terminology
termio/win: use Elementary_Cursor.h
This commit is contained in:
parent
665a3acbcf
commit
1fe87a4b2c
|
@ -1,6 +1,7 @@
|
||||||
#include "private.h"
|
#include "private.h"
|
||||||
|
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
#include <Elementary_Cursor.h>
|
||||||
#include <Ecore_Input.h>
|
#include <Ecore_Input.h>
|
||||||
|
|
||||||
#include "termio.h"
|
#include "termio.h"
|
||||||
|
@ -1625,7 +1626,7 @@ _update_link(Termio *sd, Eina_Bool same_geom)
|
||||||
}
|
}
|
||||||
|
|
||||||
sd->link.objs = eina_list_append(sd->link.objs, o);
|
sd->link.objs = eina_list_append(sd->link.objs, o);
|
||||||
elm_object_cursor_set(o, "hand2");
|
elm_object_cursor_set(o, ELM_CURSOR_HAND2);
|
||||||
evas_object_show(o);
|
evas_object_show(o);
|
||||||
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN,
|
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN,
|
||||||
_cb_link_down, obj);
|
_cb_link_down, obj);
|
||||||
|
@ -1678,7 +1679,7 @@ _hyperlink_end(Termio *sd,
|
||||||
Eina_Bool popup_exists;
|
Eina_Bool popup_exists;
|
||||||
|
|
||||||
sd->link.objs = eina_list_append(sd->link.objs, o);
|
sd->link.objs = eina_list_append(sd->link.objs, o);
|
||||||
elm_object_cursor_set(o, "hand2");
|
elm_object_cursor_set(o, ELM_CURSOR_HAND2);
|
||||||
evas_object_show(o);
|
evas_object_show(o);
|
||||||
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN,
|
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN,
|
||||||
_cb_link_down, sd->self);
|
_cb_link_down, sd->self);
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
#include <Elementary_Cursor.h>
|
||||||
#include <Ecore_Input.h>
|
#include <Ecore_Input.h>
|
||||||
#include <Ecore_IMF.h>
|
#include <Ecore_IMF.h>
|
||||||
#include <Ecore_IMF_Evas.h>
|
#include <Ecore_IMF_Evas.h>
|
||||||
|
@ -4214,7 +4215,7 @@ _tab_drag_start(void *data EINA_UNUSED)
|
||||||
evas_pointer_canvas_xy_get(_tab_drag->e, &mx, &my);
|
evas_pointer_canvas_xy_get(_tab_drag->e, &mx, &my);
|
||||||
evas_object_move(_tab_drag->icon, mx - w/2, my - h/2);
|
evas_object_move(_tab_drag->icon, mx - w/2, my - h/2);
|
||||||
evas_object_raise(o);
|
evas_object_raise(o);
|
||||||
elm_object_cursor_set(term->bg, "hand2");
|
elm_object_cursor_set(term->bg, ELM_CURSOR_HAND2);
|
||||||
term->has_bg_cursor = EINA_TRUE;
|
term->has_bg_cursor = EINA_TRUE;
|
||||||
evas_object_show(o);
|
evas_object_show(o);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue