forked from enlightenment/terminology
parent
7666a1570b
commit
bbdb7e98b6
|
@ -206,6 +206,7 @@ collections {
|
||||||
group { name: "terminology/cursor";
|
group { name: "terminology/cursor";
|
||||||
images {
|
images {
|
||||||
image: "cr_fill.png" COMP;
|
image: "cr_fill.png" COMP;
|
||||||
|
image: "cr_key.png" COMP;
|
||||||
image: "cr_out.png" COMP;
|
image: "cr_out.png" COMP;
|
||||||
image: "cr_pulse.png" COMP;
|
image: "cr_pulse.png" COMP;
|
||||||
}
|
}
|
||||||
|
@ -226,6 +227,34 @@ collections {
|
||||||
color: 255 255 255 255;
|
color: 255 255 255 255;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
part { name: "key";
|
||||||
|
mouse_events: 0;
|
||||||
|
description { state: "default" 0.0;
|
||||||
|
rel1 {
|
||||||
|
to: "outline";
|
||||||
|
offset: -5 -5;
|
||||||
|
}
|
||||||
|
rel2 {
|
||||||
|
to: "outline";
|
||||||
|
offset: 4 4;
|
||||||
|
}
|
||||||
|
image {
|
||||||
|
normal: "cr_key.png";
|
||||||
|
border: 4 4 4 4;
|
||||||
|
}
|
||||||
|
color: 255 255 255 0;
|
||||||
|
}
|
||||||
|
description { state: "on" 0.0;
|
||||||
|
inherit: "default" 0.0;
|
||||||
|
color: 255 255 255 255;
|
||||||
|
}
|
||||||
|
description { state: "out" 0.0;
|
||||||
|
inherit: "default" 0.0;
|
||||||
|
color: 160 100 255 0;
|
||||||
|
rel1.offset: -7 -15;
|
||||||
|
rel2.offset: 6 14;
|
||||||
|
}
|
||||||
|
}
|
||||||
part { name: "pulse";
|
part { name: "pulse";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
@ -317,6 +346,23 @@ collections {
|
||||||
target: "fill";
|
target: "fill";
|
||||||
target: "outline";
|
target: "outline";
|
||||||
}
|
}
|
||||||
|
program { name: "key";
|
||||||
|
signal: "key,down";
|
||||||
|
source: "terminology";
|
||||||
|
action: STATE_SET "default" 0.0;
|
||||||
|
target: "key";
|
||||||
|
after: "key2";
|
||||||
|
}
|
||||||
|
program { name: "key2";
|
||||||
|
action: STATE_SET "on" 0.0;
|
||||||
|
target: "key";
|
||||||
|
after: "key3";
|
||||||
|
}
|
||||||
|
program { name: "key3";
|
||||||
|
action: STATE_SET "out" 0.0;
|
||||||
|
transition: DECELERATE 0.3;
|
||||||
|
target: "key";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,7 @@ bg_shine.png \
|
||||||
bg_glint.png \
|
bg_glint.png \
|
||||||
bg_shadow.png \
|
bg_shadow.png \
|
||||||
cr_fill.png \
|
cr_fill.png \
|
||||||
|
cr_key.png \
|
||||||
cr_out.png \
|
cr_out.png \
|
||||||
cr_pulse.png \
|
cr_pulse.png \
|
||||||
fn_shadow.png
|
fn_shadow.png
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 463 B |
|
@ -463,6 +463,7 @@ _smart_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
keyin_handle(sd->pty, ev);
|
keyin_handle(sd->pty, ev);
|
||||||
|
edje_object_signal_emit(sd->cur.obj, "key,down", "terminology");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue