Merge branch 'feature/themes/flat' into devs/hermet/lottie

This commit is contained in:
Hermet Park 2021-03-22 10:43:22 +09:00
commit 8eb04c5321
31 changed files with 2205 additions and 2407 deletions

View File

@ -1,4 +1,4 @@
efl_version: 1 22;
efl_version: 1 25;
#include "macros.edc"
@ -6,20 +6,22 @@ externals.external: "elm";
// theme api version. from 1.10 on we will check version to avoid
// compat issues
data.item: "version" "119";
data.item: "version" "125";
data.item: "efl_theme_base" "dark";
collections {
sounds {
sample { name: "splash" LOSSY 256; source: "splash.wav"; }
sample { name: "wood-tap1" LOSSY 64; source: "wood-tap.wav"; }
sample { name: "wood-tap2" LOSSY 64; source: "wood-tap2.wav"; }
sample { name: "key-tap1" LOSSY 64; source: "kbd-tap.wav"; }
sample { name: "key-tap2" LOSSY 64; source: "kbd-tap2.wav"; }
sample { name: "key-tap3" LOSSY 64; source: "kbd-tap3.wav"; }
sample { name: "key-tap4" LOSSY 64; source: "kbd-tap4.wav"; }
sample { name: "key-tap5" LOSSY 64; source: "kbd-tap5.wav"; }
sample { name: "splash" LOSSY 256; source: "splash.wav"; }
sample { name: "wood-tap1" LOSSY 64; source: "wood-tap.wav"; }
sample { name: "wood-tap2" LOSSY 64; source: "wood-tap2.wav"; }
sample { name: "key-tap1" LOSSY 64; source: "kbd-tap.wav"; }
sample { name: "key-tap2" LOSSY 64; source: "kbd-tap2.wav"; }
sample { name: "key-tap3" LOSSY 64; source: "kbd-tap3.wav"; }
sample { name: "key-tap4" LOSSY 64; source: "kbd-tap4.wav"; }
sample { name: "key-tap5" LOSSY 64; source: "kbd-tap5.wav"; }
sample { name: "synth-worble-dn" LOSSY 128; source: "synth-worble-down.wav"; }
sample { name: "synth-worble-up" LOSSY 128; source: "synth-worble-up.wav"; }
}
#include "ic.edc"

View File

@ -69,13 +69,11 @@ group { name: "e/gadget/batman/main";
}
}
programs {
program {
signal: "e,state,charging"; source: "e";
program { signal: "e,state,charging"; source: "e";
action: STATE_SET "charging" 0.0;
target: "fill";
}
program {
signal: "e,state,discharging"; source: "e";
program { signal: "e,state,discharging"; source: "e";
action: STATE_SET "default" 0.0;
target: "fill";
}
@ -92,8 +90,7 @@ group { name: "e/gadget/batman/main";
target: "pulse_clip";
after: "pulse";
}
program {
signal: "e,action,pulse,stop"; source: "e";
program { signal: "e,action,pulse,stop"; source: "e";
action: ACTION_STOP;
target: "pulse";
target: "pulse2";
@ -104,14 +101,12 @@ group { name: "e/gadget/batman/main";
action: STATE_SET "default" 0.0;
target: "pulse_clip";
}
program {
signal: "mouse,in"; source: "over";
program { signal: "mouse,in"; source: "over";
action: STATE_SET "visible" 0.0;
transition: SINUSOIDAL 0.3;
target: "fill_clip_dim";
}
program {
signal: "mouse,out"; source: "over";
program { signal: "mouse,out"; source: "over";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.3;
target: "fill_clip_dim";

View File

@ -3,6 +3,7 @@ group { name: "e/modules/battery/main";
min: 16 16;
max: 160 160;
script {
public load_time;
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT) && (id == 1)) {
new Float:val = getfarg(2);
@ -12,6 +13,20 @@ group { name: "e/modules/battery/main";
set_state(PART:"fill_clip", "custom", 0.0);
}
}
public Float:year_sec() {
new year, month, day, yearday, weekday, hour, minute;
new Float:second;
date(year, month, day, yearday, weekday, hour, minute, second);
return seconds() + float(yearday * 24 * 3600);
}
public run_prog_later(prog) {
new Float:second, Float:start;
second = Float:year_sec();
start = get_float(load_time);
if ((second - start) > float(5)) run_program(prog);
}
}
parts {
part { name: "pulse_clip"; type: RECT;
@ -112,6 +127,21 @@ group { name: "e/modules/battery/main";
}
}
programs {
program { signal: "load"; source: "";
script { set_float(load_time, year_sec()); }
}
program { signal: "e,state,ac,on"; source: "e";
script { run_prog_later(PROGRAM:"ac_on"); }
}
program { name: "ac_on";
action: PLAY_SAMPLE "synth-worble-up" 1.0 ALERT;
}
program { signal: "e,state,ac,off"; source: "e";
script { run_prog_later(PROGRAM:"ac_off"); }
}
program { name: "ac_off";
action: PLAY_SAMPLE "synth-worble-dn" 1.0 ALERT;
}
program { signal: "e,state,charging"; source: "e";
action: STATE_SET "charging" 0.0;
target: "fill";

View File

@ -98,7 +98,7 @@ group { name: "e/widgets/border/volume";
}
program { name: "show_volume2";
action: STATE_SET "show" 0.0;
transition: SINUSOIDAL 0.3;
transition: SINUSOIDAL 0.3 USE_DURATION_FACTOR 1;
target: "clip";
}
@ -110,7 +110,7 @@ group { name: "e/widgets/border/volume";
}
program { name: "hide_volume1";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.5;
transition: SINUSOIDAL 0.5 USE_DURATION_FACTOR 1;
target: "clip";
after: "hide_volume2";
}
@ -612,13 +612,13 @@ group { name: "e/widgets/border/default/border";
}
program { name: "urg1";
action: STATE_SET "bounce2" 0.0;
transition: DECELERATE 0.4;
transition: DECELERATE 0.4 USE_DURATION_FACTOR 1;
target: "icon";
after: "urg2";
}
program { name: "urg2";
action: STATE_SET "bounce1" 0.0;
transition: ACCELERATE 0.3;
transition: ACCELERATE 0.3 USE_DURATION_FACTOR 1;
target: "icon";
after: "urg1";
}

View File

@ -311,11 +311,11 @@ group { name: "e/comp/frame/default";
name: "focus_on";
signal: "e,state,focused"; source: "e";
action: STATE_SET "focused" 0.0;
transition: SINUSOIDAL 0.1;
transition: SINUSOIDAL 0.1 USE_DURATION_FACTOR 1;
targets: "glow" "focus-clipper";
sequence {
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.4;
transition: SINUSOIDAL 0.4 USE_DURATION_FACTOR 1;
target: "glow";
}
}
@ -323,7 +323,7 @@ group { name: "e/comp/frame/default";
name: "focus_off";
signal: "e,state,unfocused"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.1;
transition: SINUSOIDAL 0.1 USE_DURATION_FACTOR 1;
target: "focus-clipper";
sequence {
action: STATE_SET "default" 0.0;
@ -333,11 +333,11 @@ group { name: "e/comp/frame/default";
program { name: "urgent1";
signal: "e,state,urgent"; source: "e";
action: STATE_SET "focused" 0.0;
transition: SINUSOIDAL 0.3;
transition: SINUSOIDAL 0.3 USE_DURATION_FACTOR 1;
target: "glow";
sequence {
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.3;
transition: SINUSOIDAL 0.3 USE_DURATION_FACTOR 1;
target: "glow";
after: "urgent1";
}
@ -345,7 +345,7 @@ group { name: "e/comp/frame/default";
program {
signal: "e,state,not_urgent"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.6 CURRENT;
transition: SINUSOIDAL 0.6 CURRENT USE_DURATION_FACTOR 1;
target: "glow";
}
program { signal: "e,state,focus,disabled"; source: "e";

View File

@ -84,7 +84,7 @@ group { name: "e/comp/border/default";
name: "visible_on";
signal: "e,state,visible,on"; source: "e";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.15;
transition: DECELERATE 0.15 USE_DURATION_FACTOR 1;
target: "clipper";
target: "shower";
after: "show2";
@ -96,7 +96,7 @@ group { name: "e/comp/border/default";
name: "visible_off";
signal: "e,state,visible,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.30;
transition: DECELERATE 0.30 USE_DURATION_FACTOR 1;
target: "clipper";
target: "shower";
after: "hide2";
@ -109,47 +109,47 @@ group { name: "e/comp/border/default";
name: "focus_on";
signal: "e,state,focus,on"; source: "e";
action: STATE_SET "focused" 0.0;
transition: SINUSOIDAL 0.1;
transition: SINUSOIDAL 0.1 USE_DURATION_FACTOR 1;
target: "glow";
target: "focus-clipper";
after: "focus2";
}
program { name: "focus2";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.4;
transition: SINUSOIDAL 0.4 USE_DURATION_FACTOR 1;
target: "glow";
}
program {
name: "focus_off";
signal: "e,state,focus,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.1;
transition: SINUSOIDAL 0.1 USE_DURATION_FACTOR 1;
target: "focus-clipper";
after: "focus_off2";
}
program {
name: "focus_off2";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.4;
transition: SINUSOIDAL 0.4 USE_DURATION_FACTOR 1;
target: "glow";
}
program { name: "urgent1";
signal: "e,state,urgent,on"; source: "e";
action: STATE_SET "focused" 0.0;
transition: SINUSOIDAL 0.3;
transition: SINUSOIDAL 0.3 USE_DURATION_FACTOR 1;
target: "glow";
after: "urgent2";
}
program { name: "urgent2";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.3;
transition: SINUSOIDAL 0.3 USE_DURATION_FACTOR 1;
target: "glow";
after: "urgent1";
}
program {
signal: "e,state,urgent,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.6 CURRENT;
transition: SINUSOIDAL 0.6 CURRENT USE_DURATION_FACTOR 1;
target: "glow";
}
*/
@ -187,13 +187,13 @@ group { name: "e/comp/border/rotate";
signal: "e,state,focus,on"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.swallow.content";
transition: LINEAR 0.3;
transition: LINEAR 0.3 USE_DURATION_FACTOR 1;
}
program { name: "focus_off3";
signal: "e,state,focus,off"; source: "e";
action: STATE_SET "focus-out" 0.0;
target: "e.swallow.content";
transition: LINEAR 0.3;
transition: LINEAR 0.3 USE_DURATION_FACTOR 1;
}
}
}
@ -401,7 +401,7 @@ group { name: "e/comp/border/fullscreen";
name: "visible_on";
signal: "e,state,visible,on"; source: "e";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.25;
transition: DECELERATE 0.25 USE_DURATION_FACTOR 1;
target: "scr_shadow";
target: "scr_shade";
}
@ -409,7 +409,7 @@ group { name: "e/comp/border/fullscreen";
name: "visible_on2";
signal: "e,state,visible,on"; source: "e";
action: STATE_SET "visible1" 0.0;
transition: DECELERATE 0.05;
transition: DECELERATE 0.05 USE_DURATION_FACTOR 1;
target: "clipper";
target: "shower";
target: "fader";
@ -417,7 +417,7 @@ group { name: "e/comp/border/fullscreen";
}
program { name: "show2";
action: STATE_SET "visible2" 0.0;
transition: DECELERATE 0.20;
transition: DECELERATE 0.20 USE_DURATION_FACTOR 1;
target: "clipper";
target: "shower";
target: "fader";
@ -430,7 +430,7 @@ group { name: "e/comp/border/fullscreen";
name: "visible_off";
signal: "e,state,visible,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.25;
transition: DECELERATE 0.25 USE_DURATION_FACTOR 1;
target: "scr_shadow";
target: "scr_shade";
}
@ -438,7 +438,7 @@ group { name: "e/comp/border/fullscreen";
name: "visible_off2";
signal: "e,state,visible,off"; source: "e";
action: STATE_SET "visible1" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "clipper";
target: "shower";
target: "fader";
@ -446,7 +446,7 @@ group { name: "e/comp/border/fullscreen";
}
program { name: "hide2";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.05;
transition: DECELERATE 0.05 USE_DURATION_FACTOR 1;
target: "clipper";
target: "shower";
target: "fader";

View File

@ -175,7 +175,7 @@ group { name: "e/deskmirror/frame/default";
}
program { name: "go_big2";
action: STATE_SET "urgent2" 0.0;
transition: LINEAR 0.5;
transition: LINEAR 0.5 USE_DURATION_FACTOR 1;
target: "clone";
after: "go_big";
}
@ -188,7 +188,7 @@ group { name: "e/deskmirror/frame/default";
}
program { name: "go_hid";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.5;
transition: LINEAR 0.5 USE_DURATION_FACTOR 1;
target: "clone";
}
program { name: "shon";
@ -242,12 +242,12 @@ group { name: "e/deskmirror/frame/default";
}
program { name: "iconify";
action: STATE_SET "iconic" 0.0;
transition: ACCELERATE 0.2 CURRENT;
transition: ACCELERATE 0.2 CURRENT USE_DURATION_FACTOR 1;
target: "spacer";
}
program { name: "uniconify";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.2 CURRENT;
transition: DECELERATE 0.2 CURRENT USE_DURATION_FACTOR 1;
target: "spacer";
}
program {
@ -426,12 +426,12 @@ group { "e/deskmirror/frame/borderless";
}
program { name: "iconify";
action: STATE_SET "iconic" 0.0;
transition: ACCELERATE 0.2 CURRENT;
transition: ACCELERATE 0.2 CURRENT USE_DURATION_FACTOR 1;
target: "spacer";
}
program { name: "uniconify";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.2 CURRENT;
transition: DECELERATE 0.2 CURRENT USE_DURATION_FACTOR 1;
target: "spacer";
}
program {
@ -460,7 +460,7 @@ group { "e/deskmirror/frame/borderless";
}
program { name: "go_big2";
action: STATE_SET "urgent2" 0.0;
transition: LINEAR 0.5;
transition: LINEAR 0.5 USE_DURATION_FACTOR 1;
target: "clone";
after: "go_big";
}
@ -473,7 +473,7 @@ group { "e/deskmirror/frame/borderless";
}
program { name: "go_hid";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.5;
transition: LINEAR 0.5 USE_DURATION_FACTOR 1;
target: "clone";
}
}

View File

@ -154,7 +154,7 @@ group { name: "efl/button";
text { "efl.text"; nomouse; required;
scale: 1;
desc { "default";
fixed: 1 1;
// fixed: 1 1;
color: 192 192 192 255;
rel1.offset: 0 6;
rel1.relative: 1.0 0.0;

View File

@ -1,19 +1,18 @@
group { name: "efl/panel"; data.item: "version" "123";
data {
item: "handler_size" "30";
}
group { name: "efl/panel";
data.item: "version" "123";
data.item: "handler_size" "30";
parts {
part { name: "efl.content";
type: SWALLOW;
part { name: "efl.content"; type: SWALLOW;
description { state: "default" 0.0;
}
}
}
}
group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
group { name: "efl/scroller/panel/left";
data.item: "version" "123";
parts {
part { name: "efl.panel_area";
type: SWALLOW;
part { name: "efl.panel_area"; type: SWALLOW;
description { state: "default" 0.0;
rel2.relative: 0.0 1.0;
align: 0.0 0.5;
@ -25,17 +24,11 @@ group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
visible: 1;
}
}
part { name: "efl.event_area";
type: SWALLOW;
part { name: "efl.event_area"; type: SWALLOW;
description { state: "default" 0.0;
rel1 {
relative: 1.0 0.0;
to: "efl.panel_area";
}
rel2 {
relative: 1.0 1.0;
to: "efl.panel_area";
}
rel.to: "efl.panel_area";
rel1.relative: 1.0 0.0;
rel2.relative: 1.0 1.0;
align: 0.0 0.5;
fixed: 1 1;
visible: 0;
@ -45,20 +38,16 @@ group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
visible: 1;
}
}
part { name: "access.outline";
type: RECT;
part { name: "access.outline"; type: RECT;
repeat_events: 1;
description { state: "default" 0.0;
rel1.to: "efl.panel_area";
rel2.to: "efl.panel_area";
rel.to: "efl.panel_area";
color: 0 0 0 0;
}
}
part { name: "bg";
type: RECT;
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
rel1.to: "efl.panel_area";
rel2.to: "efl.panel_area";
rel.to: "efl.panel_area";
color: 64 64 64 255;
visible: 0;
}
@ -67,11 +56,9 @@ group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
visible: 1;
}
}
part { name: "efl.content";
type: SWALLOW;
part { name: "efl.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "efl.panel_area";
rel2.to: "efl.panel_area";
rel.to: "efl.panel_area";
visible: 0;
}
description { state: "visible" 0.0;
@ -81,18 +68,14 @@ group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
}
}
programs {
program { name: "active";
signal: "efl,state,content,visible";
source: "efl";
program { signal: "efl,state,content,visible"; source: "efl";
action: STATE_SET "visible" 0.0;
target: "efl.panel_area";
target: "efl.event_area";
target: "bg";
target: "efl.content";
}
program { name: "inactive";
signal: "efl,state,content,hidden";
source: "efl";
program { signal: "efl,state,content,hidden"; source: "efl";
action: STATE_SET "default" 0.0;
target: "efl.panel_area";
target: "efl.event_area";
@ -102,10 +85,10 @@ group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
}
}
group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
group { name: "efl/scroller/panel/right";
data.item: "version" "123";
parts {
part { name: "efl.event_area";
type: SWALLOW;
part { name: "efl.event_area"; type: SWALLOW;
description { state: "default" 0.0;
rel2.relative: 0.0 1.0;
align: 0.0 0.5;
@ -117,8 +100,7 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
visible: 1;
}
}
part { name: "efl.panel_area";
type: SWALLOW;
part { name: "efl.panel_area"; type: SWALLOW;
description { state: "default" 0.0;
rel1 {
relative: 1.0 0.0;
@ -137,8 +119,7 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
visible: 1;
}
}
part { name: "access.outline";
type: RECT;
part { name: "access.outline"; type: RECT;
repeat_events: 1;
description { state: "default" 0.0;
rel1.to: "efl.panel_area";
@ -146,8 +127,7 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
color: 0 0 0 0;
}
}
part { name: "bg";
type: RECT;
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
rel1.to: "efl.panel_area";
rel2.to: "efl.panel_area";
@ -159,8 +139,7 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
visible: 1;
}
}
part { name: "efl.content";
type: SWALLOW;
part { name: "efl.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "efl.panel_area";
rel2.to: "efl.panel_area";
@ -173,18 +152,14 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
}
}
programs {
program { name: "active";
signal: "efl,state,content,visible";
source: "efl";
program { signal: "efl,state,content,visible"; source: "efl";
action: STATE_SET "visible" 0.0;
target: "efl.panel_area";
target: "efl.event_area";
target: "bg";
target: "efl.content";
}
program { name: "inactive";
signal: "efl,state,content,hidden";
source: "efl";
program { signal: "efl,state,content,hidden"; source: "efl";
action: STATE_SET "default" 0.0;
target: "efl.panel_area";
target: "efl.event_area";
@ -194,10 +169,10 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
}
}
group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
group { name: "efl/scroller/panel/top";
data.item: "version" "123";
parts {
part { name: "efl.panel_area";
type: SWALLOW;
part { name: "efl.panel_area"; type: SWALLOW;
description { state: "default" 0.0;
rel2.relative: 1.0 0.0;
align: 0.5 0.0;
@ -209,8 +184,7 @@ group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
visible: 1;
}
}
part { name: "efl.event_area";
type: SWALLOW;
part { name: "efl.event_area"; type: SWALLOW;
description { state: "default" 0.0;
rel1 {
relative: 0.0 1.0;
@ -229,8 +203,7 @@ group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
visible: 1;
}
}
part { name: "access.outline";
type: RECT;
part { name: "access.outline"; type: RECT;
repeat_events: 1;
description { state: "default" 0.0;
rel1.to: "efl.panel_area";
@ -238,8 +211,7 @@ group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
color: 0 0 0 0;
}
}
part { name: "bg";
type: RECT;
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
rel1.to: "efl.panel_area";
rel2.to: "efl.panel_area";
@ -251,8 +223,7 @@ group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
visible: 1;
}
}
part { name: "efl.content";
type: SWALLOW;
part { name: "efl.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "efl.panel_area";
rel2.to: "efl.panel_area";
@ -265,18 +236,14 @@ group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
}
}
programs {
program { name: "active";
signal: "efl,state,content,visible";
source: "efl";
program { signal: "efl,state,content,visible"; source: "efl";
action: STATE_SET "visible" 0.0;
target: "efl.panel_area";
target: "efl.event_area";
target: "bg";
target: "efl.content";
}
program { name: "inactive";
signal: "efl,state,content,hidden";
source: "efl";
program { signal: "efl,state,content,hidden"; source: "efl";
action: STATE_SET "default" 0.0;
target: "efl.panel_area";
target: "efl.event_area";
@ -286,10 +253,10 @@ group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
}
}
group { name: "efl/panel/scrollable/bottom"; data.item: "version" "123";
group { name: "efl/scroller/panel/bottom";
data.item: "version" "123";
parts {
part { name: "efl.event_area";
type: SWALLOW;
part { name: "efl.event_area"; type: SWALLOW;
description { state: "default" 0.0;
rel2.relative: 1.0 0.0;
align: 0.5 0.0;
@ -301,17 +268,11 @@ group { name: "efl/panel/scrollable/bottom"; data.item: "version" "123";
visible: 1;
}
}
part { name: "efl.panel_area";
type: SWALLOW;
part { name: "efl.panel_area"; type: SWALLOW;
description { state: "default" 0.0;
rel1 {
relative: 0.0 1.0;
to: "efl.event_area";
}
rel2 {
relative: 1.0 1.0;
to: "efl.event_area";
}
rel.to: "efl.event_area";
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 1.0;
align: 0.5 0.0;
fixed: 1 1;
visible: 0;
@ -321,20 +282,15 @@ group { name: "efl/panel/scrollable/bottom"; data.item: "version" "123";
visible: 1;
}
}
part { name: "access.outline";
type: RECT;
repeat_events: 1;
part { name: "access.outline"; type: RECT; repeat_events: 1;
description { state: "default" 0.0;
rel1.to: "efl.panel_area";
rel2.to: "efl.panel_area";
rel.to: "efl.panel_area";
color: 0 0 0 0;
}
}
part { name: "bg";
type: RECT;
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
rel1.to: "efl.panel_area";
rel2.to: "efl.panel_area";
rel.to: "efl.panel_area";
color: 64 64 64 255;
visible: 0;
}
@ -343,11 +299,9 @@ group { name: "efl/panel/scrollable/bottom"; data.item: "version" "123";
visible: 1;
}
}
part { name: "efl.content";
type: SWALLOW;
part { name: "efl.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "efl.panel_area";
rel2.to: "efl.panel_area";
rel.to: "efl.panel_area";
visible: 0;
}
description { state: "visible" 0.0;
@ -357,18 +311,14 @@ group { name: "efl/panel/scrollable/bottom"; data.item: "version" "123";
}
}
programs {
program { name: "active";
signal: "efl,state,content,visible";
source: "efl";
program { signal: "efl,state,content,visible"; source: "efl";
action: STATE_SET "visible" 0.0;
target: "efl.panel_area";
target: "efl.event_area";
target: "bg";
target: "efl.content";
}
program { name: "inactive";
signal: "efl,state,content,hidden";
source: "efl";
program { signal: "efl,state,content,hidden"; source: "efl";
action: STATE_SET "default" 0.0;
target: "efl.panel_area";
target: "efl.event_area";
@ -378,49 +328,32 @@ group { name: "efl/panel/scrollable/bottom"; data.item: "version" "123";
}
}
group { name: "efl/panel/left"; data.item: "version" "123";
images.image: "bevel_out.png" COMP;
images.image: "shine.png" COMP;
images.image: "shadow_square_tiny.png" COMP;
images.image: "holes_tiny_glow_vert.png" COMP;
images.image: "holes_tiny_glow_horiz.png" COMP;
images.image: "win_glow.png" COMP;
images.image: "icon_arrow_right.png" COMP;
images.image: "icon_arrow_left.png" COMP;
images.image: "icon_arrow_up.png" COMP;
images.image: "icon_arrow_down.png" COMP;
group { name: "efl/panel/left";
data.item: "version" "123";
data.item: "focus_highlight" "on";
script {
public is_rtl = 0;
}
parts {
part { name: "shadow"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.offset: -3 -2;
rel1.to: "base";
rel2.offset: 2 4;
rel2.to: "base";
image.normal: "shadow_square_tiny.png";
image.border: 6 6 6 6;
fill.smooth: 0;
rel.to: "base";
WIN_SHADOW_SMALL;
}
}
part { name: "glow"; mouse_events: 0;
part { name: "glow"; type: RECT; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
image.normal: "win_glow.png";
image.border: 9 9 9 9;
image.middle: 0;
rel1.offset: -5 -5;
rel1.to: "base";
rel2.offset: 4 4;
rel2.to: "base";
fill.smooth: 0;
color: 255 255 255 0;
rel.to: "base";
color: 51 153 255 255;
visible: 0;
offscale;
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
rel1.offset: -5 -5;
rel2.offset: 4 4;
visible: 1;
}
}
@ -433,44 +366,23 @@ group { name: "efl/panel/left"; data.item: "version" "123";
rel1.to_x: "all";
rel2.to_x: "efl.swallow.event";
rel2.relative: 0.0 1.0;
rel2.offset: -4 -1;
color: 64 64 64 255;
}
}
part { name: "efl.content"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
rel.to: "base";
rel1.offset: 4 4;
rel1.to: "base";
rel2.offset: -5 -5;
rel2.to: "base";
}
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
image.normal: "bevel_out.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "shine"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel1.to: "base";
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
rel2.to: "base";
FIXED_SIZE(69, 5)
offscale;
}
}
part { name: "efl.swallow.event"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 20 20;
max: 20 20;
min: 30 30; max: 30 999999;
align: 1.0 0.5;
rel1.relative: 1.0 0.0;
rel2.relative: 1.0 1.0;
@ -485,54 +397,38 @@ group { name: "efl/panel/left"; data.item: "version" "123";
}
part { name: "btn"; type: RECT;
description { state: "default" 0.0;
rel1.to: "efl.swallow.event";
rel2.to: "efl.swallow.event";
rel.to: "efl.swallow.event";
color: 0 0 0 0;
}
description { state: "hidden" 0.0;
rel1.to: "efl.swallow.event";
rel2.to: "efl.swallow.event";
}
}
part { name: "dots"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "icn";
rel2.to: "icn";
align: 0.0 0.5;
image.normal: "holes_tiny_glow_vert.png";
FIXED_SIZE(11, 17)
rel.to: "efl.swallow.event";
}
}
part { name: "icn"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 20 20;
max: 20 20;
rel1.to: "btn";
rel2.to: "btn";
image.normal: "icon_arrow_left.png";
min: 30 30; max: 30 30;
rel.to: "btn";
image.normal: "i-arrow-l";
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
image.normal: "icon_arrow_right.png";
image.normal: "i-arrow-r";
}
}
}
programs {
program {
signal: "mouse,clicked,1"; source: "btn";
program { signal: "mouse,clicked,1"; source: "btn";
action: SIGNAL_EMIT "efl,action,panel,toggle" "efl";
}
program {
signal: "efl,action,show"; source: "efl";
program { signal: "efl,action,show"; source: "efl";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.3;
transition: DECELERATE 0.2;
target: "efl.swallow.event";
target: "base";
}
program {
signal: "efl,action,show"; source: "efl";
program { signal: "efl,action,show"; source: "efl";
script {
if (get_int(is_rtl) == 0)
set_state(PART:"icn", "default", 0.0);
@ -540,9 +436,7 @@ group { name: "efl/panel/left"; data.item: "version" "123";
set_state(PART:"icn", "hidden", 0.0);
}
}
program {
signal: "edje,state,rtl";
source: "edje";
program { signal: "edje,state,rtl"; source: "edje";
script {
new st[31];
new Float:vl;
@ -554,9 +448,7 @@ group { name: "efl/panel/left"; data.item: "version" "123";
set_int(is_rtl, 1);
}
}
program {
signal: "edje,state,ltr";
source: "edje";
program { signal: "edje,state,ltr"; source: "edje";
script {
new st[31];
new Float:vl;
@ -568,14 +460,12 @@ group { name: "efl/panel/left"; data.item: "version" "123";
set_int(is_rtl, 0);
}
}
program {
signal: "efl,action,hide"; source: "efl";
program { signal: "efl,action,hide"; source: "efl";
action: STATE_SET "hidden" 0.0;
transition: ACCELERATE 0.3;
transition: ACCELERATE 0.2;
target: "efl.swallow.event";
}
program {
signal: "efl,action,hide"; source: "efl";
program { signal: "efl,action,hide"; source: "efl";
script {
if (get_int(is_rtl) == 0)
set_state(PART:"icn", "hidden", 0.0);
@ -587,21 +477,18 @@ group { name: "efl/panel/left"; data.item: "version" "123";
signal: "efl,action,hide"; source: "efl";
script {
new x, y, w, h;
if (get_int(is_rtl) == 0)
{
custom_state(PART:"base", "default", 0.0);
set_state_val(PART:"base", STATE_REL1, -1.0, 0.0);
get_geometry(PART:"efl.swallow.event", x, y, w, h);
set_state_val(PART:"base", STATE_REL1_OFFSET, w, 0);
}
else
{
custom_state(PART:"base", "default", 0.0);
set_state_val(PART:"base", STATE_REL1, -1.0, 0.0);
set_state_val(PART:"base", STATE_REL2, -2.0, 1.0);
get_geometry(PART:"efl.swallow.event", x, y, w, h);
set_state_val(PART:"base", STATE_REL2_OFFSET, -w, 0);
}
if (get_int(is_rtl) == 0) {
custom_state(PART:"base", "default", 0.0);
set_state_val(PART:"base", STATE_REL1, -1.0, 0.0);
get_geometry(PART:"efl.swallow.event", x, y, w, h);
set_state_val(PART:"base", STATE_REL1_OFFSET, w, 0);
} else {
custom_state(PART:"base", "default", 0.0);
set_state_val(PART:"base", STATE_REL1, -1.0, 0.0);
set_state_val(PART:"base", STATE_REL2, -2.0, 1.0);
get_geometry(PART:"efl.swallow.event", x, y, w, h);
set_state_val(PART:"base", STATE_REL2_OFFSET, -w, 0);
}
}
after: "hide2";
}
@ -610,14 +497,12 @@ group { name: "efl/panel/left"; data.item: "version" "123";
transition: ACCELERATE 0.3;
target: "base";
}
program {
signal: "efl,action,focus_highlight,show"; source: "efl";
program { signal: "efl,action,focus_highlight,show"; source: "efl";
action: STATE_SET "focused" 0.0;
transition: ACCELERATE 0.2;
target: "glow";
}
program {
signal: "efl,action,focus_highlight,hide"; source: "efl";
program { signal: "efl,action,focus_highlight,hide"; source: "efl";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "glow";
@ -626,8 +511,8 @@ group { name: "efl/panel/left"; data.item: "version" "123";
}
group { name: "efl/panel/right";
inherit: "efl/panel/left";
data.item: "version" "123";
inherit: "efl/panel/left";
parts {
part { name: "base";
description { state: "default" 0.0;
@ -651,17 +536,12 @@ group { name: "efl/panel/right";
rel2.relative: 1.0 1.0;
}
}
part { name: "dots";
description { state: "default" 0.0;
align: 1.0 0.5;
}
}
part { name: "icn";
description { state: "default" 0.0;
image.normal: "icon_arrow_right.png";
image.normal: "i-arrow-r";
}
description { state: "hidden" 0.0;
image.normal: "icon_arrow_left.png";
image.normal: "i-arrow-l";
}
}
}
@ -669,7 +549,7 @@ group { name: "efl/panel/right";
program { name: "hide1";
script {
new x, y, w, h;
custom_state(PART:"base", "default", 0.0);
set_state_val(PART:"base", STATE_REL1, 1.0, 0.0);
set_state_val(PART:"base", STATE_REL2, 2.0, 1.0);
@ -681,23 +561,22 @@ group { name: "efl/panel/right";
}
group { name: "efl/panel/top";
inherit: "efl/panel/left";
data.item: "version" "123";
inherit: "efl/panel/left";
parts {
part { name: "base";
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel1.to_x: "all";
rel1.to_y: "all";
rel1.offset: 0 0;
rel2.relative: 1.0 0.0;
rel2.to_x: "all";
rel2.to_y: "efl.swallow.event";
rel2.offset: -1 -4;
}
}
part { name: "efl.swallow.event";
description { state: "default" 0.0;
min: 30 30; max: 999999 30;
align: 0.5 1.0;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 1.0;
@ -708,19 +587,12 @@ group { name: "efl/panel/top";
rel2.relative: 1.0 0.0;
}
}
part { name: "dots";
description { state: "default" 0.0;
align: 0.5 0.0;
image.normal: "holes_tiny_glow_horiz.png";
FIXED_SIZE(17, 11)
}
}
part { name: "icn";
description { state: "default" 0.0;
image.normal: "icon_arrow_up.png";
image.normal: "i-arrow-u";
}
description { state: "hidden" 0.0;
image.normal: "icon_arrow_down.png";
image.normal: "i-arrow-d";
}
}
}
@ -728,7 +600,6 @@ group { name: "efl/panel/top";
program { name: "hide1";
script {
new x, y, w, h;
custom_state(PART:"base", "default", 0.0);
set_state_val(PART:"base", STATE_REL1, 0.0, -1.0);
set_state_val(PART:"base", STATE_REL2, 1.0, 0.0);
@ -736,14 +607,11 @@ group { name: "efl/panel/top";
set_state_val(PART:"base", STATE_REL1_OFFSET, 0, h);
}
}
program {
signal: "efl,action,show"; source: "efl";
program { signal: "efl,action,show"; source: "efl";
action: STATE_SET "default" 0.0;
target: "icn";
}
program {
signal: "edje,state,rtl";
source: "edje";
program { signal: "edje,state,rtl"; source: "edje";
script {
new st[31];
new Float:vl;
@ -754,9 +622,7 @@ group { name: "efl/panel/top";
set_state(PART:"icn", "hidden", 0.0);
}
}
program {
signal: "edje,state,ltr";
source: "edje";
program { signal: "edje,state,ltr"; source: "edje";
script {
new st[31];
new Float:vl;
@ -767,8 +633,7 @@ group { name: "efl/panel/top";
set_state(PART:"icn", "hidden", 0.0);
}
}
program {
signal: "efl,action,hide"; source: "efl";
program { signal: "efl,action,hide"; source: "efl";
action: STATE_SET "hidden" 0.0;
target: "icn";
}
@ -776,19 +641,17 @@ group { name: "efl/panel/top";
}
group { name: "efl/panel/bottom";
inherit: "efl/panel/top";
data.item: "version" "123";
inherit: "efl/panel/top";
parts {
part { name: "base";
description { state: "default" 0.0;
rel1.relative: 0.0 1.0;
rel1.to_x: "all";
rel1.to_y: "efl.swallow.event";
rel1.offset: 0 3;
rel2.relative: 1.0 1.0;
rel2.to_x: "all";
rel2.to_y: "all";
rel2.offset: -1 -1;
}
}
part { name: "efl.swallow.event";
@ -803,19 +666,12 @@ group { name: "efl/panel/bottom";
rel2.relative: 1.0 1.0;
}
}
part { name: "dots";
description { state: "default" 0.0;
align: 0.5 0.0;
image.normal: "holes_tiny_glow_horiz.png";
FIXED_SIZE(17, 11)
}
}
part { name: "icn";
description { state: "default" 0.0;
image.normal: "icon_arrow_down.png";
image.normal: "i-arrow-d";
}
description { state: "hidden" 0.0;
image.normal: "icon_arrow_up.png";
image.normal: "i-arrow-u";
}
}
}
@ -832,3 +688,4 @@ group { name: "efl/panel/bottom";
}
}
}

View File

@ -9,12 +9,13 @@
efl,action,unpress: Used for "unpress" smart callback.
*/
#define PANEMIN 10
#define PANEMIN2 16
#define PANEWID 32
#define PANEMIN 8
#define PANEMIN2 24
#define PANEWID 24
group { name: "efl/panes/vertical"; data.item: "version" "123";
images.image: "holes_vert.png" COMP;
group { name: "efl/panes/vertical";
data.item: "version" "123";
images.image: "pane_handle_v.png" COMP;
parts {
//TODO: remove left/right
alias: "first" "efl.left";
@ -55,31 +56,27 @@ group { name: "efl/panes/vertical"; data.item: "version" "123";
part { name: "whole_left"; type: RECT;
description { state: "default" 0.0;
rel2.to_x: "efl.bar";
rel2.relative: 1.0 1.0;
rel2.offset: -4 -1;
rel2.relative: 0.0 1.0;
}
}
part { name: "whole_right"; type: RECT;
description { state: "default" 0.0;
rel1.to_x: "efl.bar";
rel1.relative: 0.0 0.0;
rel1.offset: 3 0;
rel1.relative: 1.0 0.0;
}
}
part { name: "efl.left"; type: SWALLOW;
clip_to: "whole_left";
description { state: "default" 0.0;
rel2.to_x: "efl.bar";
rel2.relative: 1.0 1.0;
rel2.offset: -4 -1;
rel2.relative: 0.0 1.0;
}
}
part { name: "efl.right"; type: SWALLOW;
clip_to: "whole_right";
description { state: "default" 0.0;
rel1.to_x: "efl.bar";
rel1.relative: 0.0 0.0;
rel1.offset: 3 0;
rel1.relative: 1.0 0.0;
}
}
part { name: "efl.bar"; type: SPACER;
@ -88,8 +85,8 @@ group { name: "efl/panes/vertical"; data.item: "version" "123";
y: 0 0 0;
}
description { state: "default" 0.0;
max: 0 99999;
min: 0 14;
max: 8 99999;
min: 8 24;
fixed: 1 1;
rel1.relative: 0.0 0.5;
rel2.relative: 1.0 0.5;
@ -97,10 +94,11 @@ group { name: "efl/panes/vertical"; data.item: "version" "123";
}
part { name: "dots"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "holes_vert.png";
rel1.to: "efl.bar";
rel2.to: "efl.bar";
FIXED_SIZE(4, 14)
FIXED_SIZE(8, 24)
image.normal: "pane_handle_v.png";
fill.smooth: 0;
rel.to: "efl.bar";
color: 160 160 160 255;
}
}
part { name: "efl.event"; type: SWALLOW;
@ -108,8 +106,7 @@ group { name: "efl/panes/vertical"; data.item: "version" "123";
visible: 0;
min: PANEMIN PANEMIN2;
fixed: 1 1;
rel1.to: "efl.bar";
rel2.to: "efl.bar";
rel.to: "efl.bar";
}
}
part { name: "bar"; type: RECT;
@ -130,12 +127,12 @@ group { name: "efl/panes/vertical"; data.item: "version" "123";
}
programs {
EFL_UI_CLICKABLE_PART_BIND("bar")
program { // for elm_panes_fixed_set()
program { // for efl_panes_fixed_set()
signal: "efl,panes,fixed"; source: "efl";
action: STATE_SET "disabled" 0.0;
target: "bar";
}
program { // for elm_panes_fixed_set()
program { // for efl_panes_fixed_set()
signal: "efl,panes,unfixed"; source: "efl";
action: STATE_SET "default" 0.0;
target: "bar";
@ -143,8 +140,9 @@ group { name: "efl/panes/vertical"; data.item: "version" "123";
}
}
group { name: "efl/panes/horizontal"; data.item: "version" "123";
images.image: "holes_horiz.png" COMP;
group { name: "efl/panes/horizontal";
data.item: "version" "123";
images.image: "pane_handle_h.png" COMP;
parts {
//TODO: remove left/right
alias: "first" "efl.left";
@ -185,31 +183,27 @@ group { name: "efl/panes/horizontal"; data.item: "version" "123";
part { name: "whole_left"; type: RECT;
description { state: "default" 0.0;
rel2.to_y: "efl.bar";
rel2.relative: 1.0 1.0;
rel2.offset: -1 -4;
rel2.relative: 1.0 0.0;
}
}
part { name: "whole_right"; type: RECT;
description { state: "default" 0.0;
rel1.to_y: "efl.bar";
rel1.relative: 0.0 0.0;
rel1.offset: 0 3;
rel1.relative: 0.0 1.0;
}
}
part { name: "efl.left"; type: SWALLOW;
clip_to: "whole_left";
description { state: "default" 0.0;
rel2.to_y: "efl.bar";
rel2.relative: 1.0 1.0;
rel2.offset: -1 -4;
rel2.relative: 1.0 0.0;
}
}
part { name: "efl.right"; type: SWALLOW;
clip_to: "whole_right";
description { state: "default" 0.0;
rel1.to_y: "efl.bar";
rel1.relative: 0.0 0.0;
rel1.offset: 0 3;
rel1.relative: 0.0 1.0;
}
}
part { name: "efl.bar"; type: SPACER;
@ -218,8 +212,8 @@ group { name: "efl/panes/horizontal"; data.item: "version" "123";
y: 1 1 1;
}
description { state: "default" 0.0;
max: 99999 0;
min: 14 0;
max: 99999 8;
min: 24 8;
fixed: 1 1;
rel1.relative: 0.5 0.0;
rel2.relative: 0.5 1.0;
@ -227,10 +221,11 @@ group { name: "efl/panes/horizontal"; data.item: "version" "123";
}
part { name: "dots"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "holes_horiz.png";
rel1.to: "efl.bar";
rel2.to: "efl.bar";
FIXED_SIZE(14, 4)
FIXED_SIZE(24, 8)
image.normal: "pane_handle_h.png";
fill.smooth: 0;
rel.to: "efl.bar";
color: 160 160 160 255;
}
}
part { name: "efl.event"; type: SWALLOW;
@ -238,8 +233,7 @@ group { name: "efl/panes/horizontal"; data.item: "version" "123";
visible: 0;
min: PANEMIN2 PANEMIN;
fixed: 1 1;
rel1.to: "efl.bar";
rel2.to: "efl.bar";
rel.to: "efl.bar";
}
}
part { name: "bar"; type: RECT;
@ -260,12 +254,12 @@ group { name: "efl/panes/horizontal"; data.item: "version" "123";
}
programs {
EFL_UI_CLICKABLE_PART_BIND("bar")
program { // for elm_panes_fixed_set()
program { // for efl_panes_fixed_set()
signal: "efl,panes,fixed"; source: "efl";
action: STATE_SET "disabled" 0.0;
target: "bar";
}
program { // for elm_panes_fixed_set()
program { // for efl_panes_fixed_set()
signal: "efl,panes,unfixed"; source: "efl";
action: STATE_SET "default" 0.0;
target: "bar";
@ -273,9 +267,11 @@ group { name: "efl/panes/horizontal"; data.item: "version" "123";
}
}
group { name: "efl/panes/vertical:flush"; data.item: "version" "123";
images.image: "downlight_glow_left.png" COMP;
images.image: "downlight_glow_right.png" COMP;
////////////////////////////////////////////////////////////////////////////
group { name: "efl/panes/vertical:flush";
data.item: "version" "123";
images.image: "shadow_circle_vert.png" COMP;
parts {
part { name: "whole"; type: SPACER;
description { state: "default" 0.0;
@ -353,8 +349,7 @@ group { name: "efl/panes/vertical:flush"; data.item: "version" "123";
visible: 0;
min: PANEMIN PANEMIN2;
fixed: 1 1;
rel1.to: "efl.bar";
rel2.to: "efl.bar";
rel.to: "efl.bar";
}
}
part { name: "bar"; type: RECT;
@ -375,64 +370,81 @@ group { name: "efl/panes/vertical:flush"; data.item: "version" "123";
}
}
part { name: "glow1a"; mouse_events: 0;
clip_to: "whole_right";
scale: 1;
description { state: "default" 0.0;
image.normal: "downlight_glow_left.png";
image.border: 0 3 0 0;
max: 32 99999;
image.normal: "shadow_circle_vert.png";
rel1.to_x: "efl.bar";
rel2.to_x: "efl.bar";
color: 255 255 255 0;
align: 1.0 0.5;
offscale;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "glow1b"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "downlight_glow_right.png";
max: 4 99999;
rel1.to_x: "efl.bar";
color: 255 255 255 0;
align: 0.0 0.5;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
inherit: "default" 0.0;
color: 255 255 255 128;
rel1.offset: -16 0;
rel2.offset: 15 -1;
visible: 1;
}
}
part { name: "glow2a"; mouse_events: 0;
clip_to: "whole_left";
scale: 1;
description { state: "default" 0.0;
image.normal: "downlight_glow_left.png";
max: 4 99999;
image.normal: "shadow_circle_vert.png";
rel1.to_x: "efl.bar";
rel2.to_x: "efl.bar";
color: 255 255 255 0;
align: 1.0 0.5;
offscale;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
inherit: "default" 0.0;
color: 255 255 255 128;
rel1.offset: -16 0;
rel2.offset: 15 -1;
visible: 1;
}
}
part { name: "glow2b"; mouse_events: 0;
part { name: "glowbar1a"; type: RECT; mouse_events: 0;
clip_to: "whole_left";
scale: 1;
description { state: "default" 0.0;
image.normal: "downlight_glow_right.png";
image.border: 3 0 0 0;
max: 32 99999;
rel1.to_x: "efl.bar";
color: 255 255 255 0;
align: 0.0 0.5;
rel2.to_x: "efl.bar";
color: 51 153 255 255;
offscale;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
inherit: "default" 0.0;
rel1.offset: -5 0;
rel2.offset: 4 -1;
visible: 1;
}
}
part { name: "glowbar2a"; type: RECT; mouse_events: 0;
clip_to: "whole_right";
scale: 1;
description { state: "default" 0.0;
rel1.to_x: "efl.bar";
rel2.to_x: "efl.bar";
color: 51 153 255 255;
offscale;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
rel1.offset: -5 0;
rel2.offset: 4 -1;
visible: 1;
}
}
part { name: "bar1"; type: RECT; repeat_events: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "bar";
rel2.to: "bar";
rel.to: "bar";
rel2.relative: 0.5 1.0;
color: 0 0 0 0;
}
@ -440,21 +452,25 @@ group { name: "efl/panes/vertical:flush"; data.item: "version" "123";
part { name: "bar2"; type: RECT; repeat_events: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "bar";
rel.to: "bar";
rel1.relative: 0.5 0.0;
rel2.to: "bar";
color: 0 0 0 0;
}
}
}
programs {
EFL_UI_CLICKABLE_PART_BIND("bar")
program { // for elm_panes_fixed_set()
program {signal: "mouse,down,1"; source: "bar"; // for "press" smart callback
action: SIGNAL_EMIT "efl,action,press" "efl";
}
program { signal: "mouse,up,1"; source: "bar"; // for "unpress" smart callback
action: SIGNAL_EMIT "efl,action,unpress" "efl";
}
program { // for efl_panes_fixed_set()
signal: "efl,panes,fixed"; source: "efl";
action: STATE_SET "disabled" 0.0;
target: "bar";
}
program { // for elm_panes_fixed_set()
program { // for efl_panes_fixed_set()
signal: "efl,panes,unfixed"; source: "efl";
action: STATE_SET "default" 0.0;
target: "bar";
@ -462,37 +478,37 @@ group { name: "efl/panes/vertical:flush"; data.item: "version" "123";
program {
signal: "mouse,in"; source: "bar1";
action: STATE_SET "active" 0.0;
transition: BOUNCE 0.4 0.5 4;
transition: DECELERATE 0.2;
target: "glow1a";
target: "glow1b";
target: "glowbar1a";
}
program {
signal: "mouse,out"; source: "bar1";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "glow1a";
target: "glow1b";
target: "glowbar1a";
}
program {
signal: "mouse,in"; source: "bar2";
action: STATE_SET "active" 0.0;
transition: BOUNCE 0.4 0.5 4;
transition: DECELERATE 0.2;
target: "glow2a";
target: "glow2b";
target: "glowbar2a";
}
program {
signal: "mouse,out"; source: "bar2";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "glow2a";
target: "glow2b";
target: "glowbar2a";
}
}
}
group { name: "efl/panes/horizontal:flush"; data.item: "version" "123";
images.image: "downlight_glow.png" COMP;
images.image: "downlight_glow_up.png" COMP;
group { name: "efl/panes/horizontal:flush";
data.item: "version" "123";
images.image: "shadow_circle_horiz.png" COMP;
parts {
part { name: "whole"; type: SPACER;
description { state: "default" 0.0;
@ -570,8 +586,7 @@ group { name: "efl/panes/horizontal:flush"; data.item: "version" "123";
visible: 0;
min: PANEMIN2 PANEMIN;
fixed: 1 1;
rel1.to: "efl.bar";
rel2.to: "efl.bar";
rel.to: "efl.bar";
}
}
part { name: "bar"; type: RECT;
@ -592,64 +607,81 @@ group { name: "efl/panes/horizontal:flush"; data.item: "version" "123";
}
}
part { name: "glow1a"; mouse_events: 0;
clip_to: "whole_right";
scale: 1;
description { state: "default" 0.0;
image.normal: "downlight_glow_up.png";
image.border: 0 0 0 3;
max: 99999 32;
image.normal: "shadow_circle_horiz.png";
rel1.to_y: "efl.bar";
rel2.to_y: "efl.bar";
color: 255 255 255 0;
align: 0.5 1.0;
offscale;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "glow1b"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "downlight_glow.png";
max: 99999 4;
rel1.to_y: "efl.bar";
color: 255 255 255 0;
align: 0.5 0.0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
inherit: "default" 0.0;
color: 255 255 255 128;
rel1.offset: 0 -16;
rel2.offset: -1 15;
visible: 1;
}
}
part { name: "glow2a"; mouse_events: 0;
clip_to: "whole_left";
scale: 1;
description { state: "default" 0.0;
image.normal: "downlight_glow_up.png";
max: 99999 4;
image.normal: "shadow_circle_horiz.png";
rel1.to_y: "efl.bar";
rel2.to_y: "efl.bar";
color: 255 255 255 0;
align: 0.5 1.0;
offscale;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
inherit: "default" 0.0;
color: 255 255 255 128;
rel1.offset: 0 -16;
rel2.offset: -1 15;
visible: 1;
}
}
part { name: "glow2b"; mouse_events: 0;
part { name: "glowbar1a"; type: RECT; mouse_events: 0;
clip_to: "whole_left";
scale: 1;
description { state: "default" 0.0;
image.normal: "downlight_glow.png";
image.border: 0 0 3 0;
max: 99999 32;
rel1.to_y: "efl.bar";
color: 255 255 255 0;
align: 0.5 0.0;
rel2.to_y: "efl.bar";
color: 51 153 255 255;
offscale;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
inherit: "default" 0.0;
rel1.offset: 0 -5;
rel2.offset: -1 4;
visible: 1;
}
}
part { name: "glowbar2a"; type: RECT; mouse_events: 0;
clip_to: "whole_right";
scale: 1;
description { state: "default" 0.0;
rel1.to_y: "efl.bar";
rel2.to_y: "efl.bar";
color: 51 153 255 255;
offscale;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
rel1.offset: 0 -5;
rel2.offset: -1 4;
visible: 1;
}
}
part { name: "bar1"; type: RECT; repeat_events: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "bar";
rel2.to: "bar";
rel.to: "bar";
rel2.relative: 1.0 0.5;
color: 0 0 0 0;
}
@ -657,87 +689,85 @@ group { name: "efl/panes/horizontal:flush"; data.item: "version" "123";
part { name: "bar2"; type: RECT; repeat_events: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "bar";
rel.to: "bar";
rel1.relative: 0.0 0.5;
rel2.to: "bar";
color: 0 0 0 0;
}
}
}
programs {
program {signal: "mouse,down,1"; source: "bar"; // for "press" smart callback
action: SIGNAL_EMIT "efl,action,press" "efl";
}
program { signal: "mouse,up,1"; source: "bar"; // for "unpress" smart callback
action: SIGNAL_EMIT "efl,action,unpress" "efl";
}
program { // for efl_panes_fixed_set()
signal: "efl,panes,fixed"; source: "efl";
action: STATE_SET "disabled" 0.0;
target: "bar";
}
program { // for efl_panes_fixed_set()
signal: "efl,panes,unfixed"; source: "efl";
action: STATE_SET "default" 0.0;
target: "bar";
}
program {
signal: "mouse,in"; source: "bar1";
action: STATE_SET "active" 0.0;
transition: BOUNCE 0.4 0.5 4;
transition: DECELERATE 0.2;
target: "glow1a";
target: "glow1b";
target: "glowbar1a";
}
program {
signal: "mouse,out"; source: "bar1";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "glow1a";
target: "glow1b";
target: "glowbar1a";
}
program {
signal: "mouse,in"; source: "bar2";
action: STATE_SET "active" 0.0;
transition: BOUNCE 0.4 0.5 4;
transition: DECELERATE 0.2;
target: "glow2a";
target: "glow2b";
target: "glowbar2a";
}
program {
signal: "mouse,out"; source: "bar2";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "glow2a";
target: "glow2b";
}
EFL_UI_CLICKABLE_PART_BIND("bar")
program { // for elm_panes_fixed_set()
signal: "efl,panes,fixed"; source: "efl";
action: STATE_SET "disabled" 0.0;
target: "bar";
}
program { // for elm_panes_fixed_set()
signal: "efl,panes,unfixed"; source: "efl";
action: STATE_SET "default" 0.0;
target: "bar";
target: "glowbar2a";
}
}
}
group { name: "efl/panes/vertical:left-fold";
inherit: "efl/panes/vertical";
data.item: "version" "123";
images.image: "icon_arrow_left.png" COMP;
images.image: "icon_arrow_right.png" COMP;
inherit: "efl/panes/vertical";
script {
public open;
public drag_x;
public drag_y;
}
parts {
spacer { "sub_whole";
desc { "default";
rel1.offset: 3 0;
}
}
image { "dots";
scale;
desc { "default";
image.normal: "icon_arrow_left.png";
FIXED_SIZE(14, 14)
image.normal: "i-arrow-l";
FIXED_SIZE(15, 15)
fill.smooth: 1;
}
desc { "closed";
inherit: "default" 0.0;
image.normal: "icon_arrow_right.png";
image.normal: "i-arrow-r";
}
}
rect { "event";
repeat;
desc { "default";
rel1.to: "dots";
rel2.to: "dots";
rel.to: "dots";
color: 0 0 0 0;
}
}
@ -750,8 +780,7 @@ group { name: "efl/panes/vertical:left-fold";
}
program { signal: "mouse,clicked,1"; source: "event";
script {
if (get_int(open) == 1)
{
if (get_int(open) == 1) {
new Float: dx;
new Float: dy;
set_int(open, 0);
@ -759,9 +788,7 @@ group { name: "efl/panes/vertical:left-fold";
set_float(drag_x, dx);
set_drag(PART:"efl.bar", 0.0, 0.5);
set_state(PART:"dots", "closed", 0.0);
}
else if (get_int(open) == 0)
{
} else if (get_int(open) == 0) {
set_int(open, 1);
set_drag(PART:"efl.bar", get_float(drag_x), 0.5);
set_state(PART:"dots", "default", 0.0);
@ -772,36 +799,29 @@ group { name: "efl/panes/vertical:left-fold";
}
group { name: "efl/panes/vertical:right-fold";
inherit: "efl/panes/vertical";
data.item: "version" "123";
images.image: "icon_arrow_left.png" COMP;
images.image: "icon_arrow_right.png" COMP;
inherit: "efl/panes/vertical";
script {
public open;
public drag_x;
public drag_y;
}
parts {
spacer { "sub_whole";
desc { "default";
rel2.offset: -4 0;
}
}
image { "dots";
desc { "default";
image.normal: "icon_arrow_right.png";
FIXED_SIZE(14, 17)
image.normal: "i-arrow-r";
FIXED_SIZE(15, 15)
fill.smooth: 1;
}
desc { "closed";
inherit: "default" 0.0;
image.normal: "icon_arrow_left.png";
image.normal: "i-arrow-l";
}
}
rect { "event";
repeat;
desc { "default";
rel1.to: "dots";
rel2.to: "dots";
rel.to: "dots";
color: 0 0 0 0;
}
}
@ -814,8 +834,7 @@ group { name: "efl/panes/vertical:right-fold";
}
program { signal: "mouse,clicked,1"; source: "event";
script {
if (get_int(open) == 1)
{
if (get_int(open) == 1) {
new Float: dx;
new Float: dy;
set_int(open, 0);
@ -823,9 +842,7 @@ group { name: "efl/panes/vertical:right-fold";
set_float(drag_x, dx);
set_drag(PART:"efl.bar", 1.0, 0.5);
set_state(PART:"dots", "closed", 0.0);
}
else if (get_int(open) == 0)
{
} else if (get_int(open) == 0) {
set_int(open, 1);
set_drag(PART:"efl.bar", get_float(drag_x), 0.5);
set_state(PART:"dots", "default", 0.0);
@ -836,36 +853,29 @@ group { name: "efl/panes/vertical:right-fold";
}
group { name: "efl/panes/horizontal:up-fold";
inherit: "efl/panes/horizontal";
data.item: "version" "123";
images.image: "icon_arrow_up.png" COMP;
images.image: "icon_arrow_down.png" COMP;
inherit: "efl/panes/horizontal";
script {
public open;
public drag_x;
public drag_y;
}
parts {
spacer { "sub_whole";
desc { "default";
rel1.offset: 0 3;
}
}
image { "dots";
desc { "default";
image.normal: "icon_arrow_up.png";
FIXED_SIZE(17, 14)
image.normal: "i-arrow-u";
FIXED_SIZE(15, 15)
fill.smooth: 1;
}
desc { "closed";
inherit: "default" 0.0;
image.normal: "icon_arrow_down.png";
image.normal: "i-arrow-d";
}
}
rect { "event";
repeat;
desc { "default";
rel1.to: "dots";
rel2.to: "dots";
rel.to: "dots";
color: 0 0 0 0;
}
}
@ -878,8 +888,7 @@ group { name: "efl/panes/horizontal:up-fold";
}
program { signal: "mouse,clicked,1"; source: "event";
script {
if (get_int(open) == 1)
{
if (get_int(open) == 1) {
new Float: dx;
new Float: dy;
set_int(open, 0);
@ -887,9 +896,7 @@ group { name: "efl/panes/horizontal:up-fold";
set_float(drag_y, dy);
set_drag(PART:"efl.bar", 0.5, 0.0);
set_state(PART:"dots", "closed", 0.0);
}
else if (get_int(open) == 0)
{
} else if (get_int(open) == 0) {
set_int(open, 1);
set_drag(PART:"efl.bar", 0.5, get_float(drag_y));
set_state(PART:"dots", "default", 0.0);
@ -900,36 +907,29 @@ group { name: "efl/panes/horizontal:up-fold";
}
group { name: "efl/panes/horizontal:down-fold";
inherit: "efl/panes/horizontal";
data.item: "version" "123";
images.image: "icon_arrow_up.png" COMP;
images.image: "icon_arrow_down.png" COMP;
inherit: "efl/panes/horizontal";
script {
public open;
public drag_x;
public drag_y;
}
parts {
spacer { "sub_whole";
desc { "default";
rel2.offset: 0 -4;
}
}
image { "dots";
desc { "default";
image.normal: "icon_arrow_down.png";
FIXED_SIZE(17, 14)
image.normal: "i-arrow-d";
FIXED_SIZE(15, 15)
fill.smooth: 1;
}
desc { "closed";
inherit: "default" 0.0;
image.normal: "icon_arrow_up.png";
image.normal: "i-arrow-u";
}
}
rect { "event";
repeat;
desc { "default";
rel1.to: "dots";
rel2.to: "dots";
rel.to: "dots";
color: 0 0 0 0;
}
}
@ -942,8 +942,7 @@ group { name: "efl/panes/horizontal:down-fold";
}
program { signal: "mouse,clicked,1"; source: "event";
script {
if (get_int(open) == 1)
{
if (get_int(open) == 1) {
new Float: dx;
new Float: dy;
set_int(open, 0);
@ -951,9 +950,7 @@ group { name: "efl/panes/horizontal:down-fold";
set_float(drag_y, dy);
set_drag(PART:"efl.bar", 0.5, 1.0);
set_state(PART:"dots", "closed", 0.0);
}
else if (get_int(open) == 0)
{
} else if (get_int(open) == 0) {
set_int(open, 1);
set_drag(PART:"efl.bar", 0.5, get_float(drag_y));
set_state(PART:"dots", "default", 0.0);

View File

@ -1,14 +1,9 @@
group { name: "efl/pointer"; data.item: "version" "123";
images {
image: "pointer.png" COMP;
image: "pointer_glow.png" COMP;
}
group { name: "efl/pointer";
data.item: "version" "123";
images.image: "pointer.png" COMP;
parts {
part {
name: "base";
mouse_events: 0;
description {
state: "default" 0.0;
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
aspect: 1.0 1.0;
min: 32 32;
/* force a specific aspect ratio so
@ -18,87 +13,46 @@ group { name: "efl/pointer"; data.item: "version" "123";
/* both axes control aspect - thus it
* will be WITHIN the bounds the axes
* of thre part describe */
image {
normal: "pointer.png";
}
image.normal: "pointer.png";
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
color: 51 153 255 255;
}
}
part { name: "glow";
description { state: "default" 0.0;
image.normal: "pointer_glow.png";
color: 255 255 255 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description { state: "faded" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
}
}
part {
name: "efl.hotspot";
part { name: "efl.hotspot"; type: SWALLOW;
/* this is a "fake" swallow part
* that is used by e to determine
* the pointer hotspot - or where
* the actual mouse events get
* reported from on the cursor */
type: SWALLOW;
description {
state: "default" 0.0;
description { state: "default" 0.0;
visible: 0;
fixed: 1 1;
rel1 {
/* the hotspot will scale with the cursor here */
to: "base";
relative: 0.1875 0.1875;
relative: (5/32) (5/32);
offset: 0 0;
}
rel2 {
to: "base";
relative: 0.1875 0.1875;
relative: (5/32) (5/32);
offset: 0 0;
}
}
}
}
programs {
program {
signal: "efl,action,mouse,down"; source: "efl";
action: STATE_SET "visible" 0.0;
target: "glow";
program { signal: "efl,action,mouse,down"; source: "efl";
action: STATE_SET "clicked" 0.0;
target: "base";
after: "fade";
}
program { name: "fade";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.5;
target: "glow";
}
program { name: "pulse";
signal: "e,state,mouse,idle"; source: "e";
in: 10.0 0.0;
action: STATE_SET "faded" 0.0;
transition: SINUSOIDAL 0.25;
target: "glow";
after: "pulse2";
}
program { name: "pulse2";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.5;
target: "glow";
after: "pulse";
}
program {
signal: "efl,action,mouse,move"; source: "efl";
action: STATE_SET "default" 0.0;
target: "glow";
after: "stop2";
}
program { name: "stop2";
action: ACTION_STOP;
target: "pulse";
target: "pulse2";
target: "base";
}
}
}
@ -106,13 +60,11 @@ group { name: "efl/pointer"; data.item: "version" "123";
group { name: "efl/pointer:bottom_right_corner";
inherit: "efl/pointer";
data.item: "version" "123";
images.image: "mini_box_glow.png" COMP;
parts {
part { name: "box";
insert_after: "glow";
part { name: "box"; type: RECT;
insert_after: "base";
description { state: "default" 0.0;
image.normal: "mini_box_glow.png";
image.border: 7 7 7 7;
color: 51 153 255 192;
rel1.relative: 0.3 0.3;
rel2.relative: 0.7 0.7;
}

View File

@ -71,68 +71,93 @@ Group: efl/alert_popup/left_button (@since 1.23)
*/
group { "efl/popup";
data.item: "version" "123";
images.image: "rounded_square.png" COMP;
parts {
spacer { "base";
image { "shadow";
scale;
desc { "default";
rel1.offset: 10 10;
rel2.offset: -11 -11;
rel.to: "base";
WIN_SHADOW;
}
}
image { "bg";
rect { "base";
scale;
desc { "default";
min: 100 100;
image.border: 15 15 15 15;
image.normal: "rounded_square.png";
color: 0 0 0 192;
rel1.offset: 16 16;
rel2.offset: -17 -17;
offscale;
}
}
swallow { "efl.background"; required;
desc { "default";
rel.to: "bg";
rel.to: "base";
}
}
swallow { "efl.content"; required;
scale;
desc { "default";
rel.to: "base";
rel1.offset: 4 4;
rel2.offset: -5 -5;
offscale;
}
}
}
}
group { "efl/alert_popup"; data.item: "version" "123";
images.image: "rounded_square.png" COMP;
group { "efl/alert_popup";
data.item: "version" "123";
parts {
image { "bg";
image { "shadow";
scale;
desc { "default";
rel.to: "base";
WIN_SHADOW;
}
}
rect { "base";
scale;
desc { "default";
min: 100 100;
image.border: 15 15 15 15;
image.normal: "rounded_square.png";
color: 0 0 0 192;
rel1.offset: 16 16;
rel2.offset: -17 -17;
offscale;
}
}
swallow { "efl.background"; required;
desc { "default";
rel.to: "bg";
rel.to: "base";
}
}
spacer { "base";
swallow { "efl.content"; required;
scale;
desc { "default";
rel.to: "bg";
rel1.offset: 10 10;
rel2.offset: -11 -11;
rel1.to_x: "base";
rel1.to_y: "title_bg";
rel2.to_x: "base";
rel2.to_y: "efl.buttons";
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
offscale;
}
}
rect { "title_bg";
scale;
desc { "default";
fixed: 0 1;
min: 0 0;
rel.to: "base";
rel2.relative: 1.0 0.0;
align: 0.5 0.0;
color: 0 0 0 0;
align: 0.0 0.0;
color: 32 32 32 255;
}
desc { "title_visible";
inherit: "default";
min: 0 20;
min: 0 24;
}
}
textblock { "efl.text.title"; required;
@ -143,6 +168,9 @@ group { "efl/alert_popup"; data.item: "version" "123";
style: "popup_title_style_ellipsis";
}
rel.to: "title_bg";
rel1.offset: 4 4;
rel2.offset: -5 -5;
offscale;
hid;
}
desc { "title_visible";
@ -151,51 +179,45 @@ group { "efl/alert_popup"; data.item: "version" "123";
}
}
swallow { "efl.buttons"; required;
scale;
desc { "default";
fixed: 0 1;
rel.to: "base";
rel1.relative: 0.0 1.0;
rel1.offset: 4 0;
rel2.offset: -5 0;
align: 0.5 1.0;
min: 0 0;
offscale;
}
desc { "button_visible";
inherit: "default";
min: 0 30;
}
}
swallow { "efl.content"; required;
desc { "default";
rel1.to_x: "base";
rel1.to_y: "title_bg";
rel2.to_x: "base";
rel2.to_y: "efl.buttons";
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 0.0;
min: 80 24;
rel1.offset: 4 -5;
rel2.offset: -5 -5;
}
}
}
programs {
program {
signal: "efl,title,visible,on"; source: "efl";
program { signal: "efl,title,visible,on"; source: "efl";
action: STATE_SET "title_visible" 0.0;
target: "title_bg";
target: "efl.text.title";
}
program {
signal: "efl,title,visible,off"; source: "efl";
program { signal: "efl,title,visible,off"; source: "efl";
action: STATE_SET "default" 0.0;
target: "title_bg";
target: "efl.text.title";
}
program {
signal: "efl,buttons,visible,on"; source: "efl";
program { signal: "efl,buttons,visible,on"; source: "efl";
action: STATE_SET "button_visible" 0.0;
target: "efl.buttons";
}
}
}
group { "efl/popup/backwall"; data.item: "version" "123";
group { "efl/popup/backwall";
data.item: "version" "123";
alias: "efl/alert_popup/backwall";
parts {
rect { "base";
@ -208,9 +230,13 @@ group { "efl/popup/backwall"; data.item: "version" "123";
}
}
swallow { "efl.content"; required;
scale;
desc { "default";
rel.to: "base";
rel1.offset: 4 4;
rel2.offset: -5 -5;
hid;
offscale;
}
desc { "content_visible";
inherit: "default";
@ -226,33 +252,32 @@ group { "efl/popup/backwall"; data.item: "version" "123";
}
programs {
program {
signal: "efl,content,set"; source: "efl";
program { signal: "efl,content,set"; source: "efl";
action: STATE_SET "content_visible" 0.0;
target: "base";
target: "efl.content";
}
program {
signal: "efl,content,unset"; source: "efl";
program { signal: "efl,content,unset"; source: "efl";
action: STATE_SET "default" 0.0;
target: "base";
target: "efl.content";
}
program {
signal: "mouse,clicked,1"; source: "block";
program { signal: "mouse,clicked,1"; source: "block";
action: SIGNAL_EMIT "efl,action,click" "efl";
}
}
}
group { "efl/alert_popup/button_layout1"; data.item: "version" "123";
group { "efl/alert_popup/button_layout1";
data.item: "version" "123";
parts {
swallow { "efl.button1"; required;
}
}
}
group { "efl/alert_popup/button_layout2"; data.item: "version" "123";
group { "efl/alert_popup/button_layout2";
data.item: "version" "123";
parts {
spacer { "div1";
desc { "default";
@ -276,20 +301,23 @@ group { "efl/alert_popup/button_layout2"; data.item: "version" "123";
}
}
group { "efl/alert_popup/button_layout3"; data.item: "version" "123";
group { "efl/alert_popup/button_layout3";
data.item: "version" "123";
parts {
spacer { "div1";
scale;
desc { "default";
rel1.relative: 0.333 0.5;
rel2.relative: 0.333 0.5;
min: 5 5;
min: 4 4;
}
}
spacer { "div2";
scale;
desc { "default";
rel1.relative: 0.666 0.5;
rel2.relative: 0.666 0.5;
min: 5 5;
min: 4 4;
}
}
swallow { "efl.button1"; required;

File diff suppressed because it is too large Load Diff

View File

@ -11,293 +11,262 @@ Group: efl/radio (@since 1.23)
Signal: efl,text,set
Signal: efl,text,unset
*/
group { "efl/radio";
group { name: "efl/radio";
data.item: "version" "123";
images.image: "inset_shadow_circle_tiny.png" COMP;
images.image: "inset_circle_tiny.png" COMP;
images.image: "sym_radio_alum.png" COMP;
#define ICON 1
#define LABEL 2
#define MASK 3
#define DISABLE 4
#define SELECTED 8
script {
public btmode;
public eval_mode(m) {
new m1 = m & MASK;
new d = m & DISABLE;
if (m1 == (ICON | LABEL)) {
if (!d) {
set_state(PART:"efl.content", "visible", 0.0);
set_state(PART:"sizer_content", "visible", 0.0);
set_state(PART:"efl.text", "visible", 0.0);
set_state(PART:"inset", "default", 0.0);
set_state(PART:"clip", "default", 0.0);
set_state(PART:"event", "default", 0.0);
} else {
set_state(PART:"efl.content", "visible", 0.0);
set_state(PART:"sizer_content", "visible", 0.0);
set_state(PART:"efl.text", "disabled_visible", 0.0);
set_state(PART:"inset", "disabled", 0.0);
set_state(PART:"clip", "disabled", 0.0);
set_state(PART:"event", "disabled", 0.0);
}
} else if (m1 == (ICON)) {
if (!d) {
set_state(PART:"efl.content", "visible", 0.0);
set_state(PART:"sizer_content", "icononly", 0.0);
set_state(PART:"efl.text", "default", 0.0);
set_state(PART:"inset", "default", 0.0);
set_state(PART:"clip", "default", 0.0);
set_state(PART:"event", "default", 0.0);
} else {
set_state(PART:"efl.content", "visible", 0.0);
set_state(PART:"sizer_content", "icononly", 0.0);
set_state(PART:"efl.text", "disabled", 0.0);
set_state(PART:"inset", "disabled", 0.0);
set_state(PART:"clip", "disabled", 0.0);
set_state(PART:"event", "disabled", 0.0);
}
} else if (m1 == (LABEL)) {
if (!d) {
set_state(PART:"efl.content", "default", 0.0);
set_state(PART:"sizer_content", "default", 0.0);
set_state(PART:"efl.text", "visible", 0.0);
set_state(PART:"inset", "default", 0.0);
set_state(PART:"clip", "default", 0.0);
set_state(PART:"event", "default", 0.0);
} else {
set_state(PART:"efl.content", "default", 0.0);
set_state(PART:"sizer_content", "default", 0.0);
set_state(PART:"efl.text", "disabled_visible", 0.0);
set_state(PART:"inset", "disabled", 0.0);
set_state(PART:"clip", "disabled", 0.0);
set_state(PART:"event", "disabled", 0.0);
}
BUTTONMODE_SCRIPT2
public sel;
public eval_sel(m) {
if (m) {
set_state(PART:"ck_check", "selected", 0.0);
} else {
if (!d) {
set_state(PART:"efl.content", "default", 0.0);
set_state(PART:"sizer_content", "default", 0.0);
set_state(PART:"efl.text", "default", 0.0);
set_state(PART:"inset", "default", 0.0);
set_state(PART:"clip", "default", 0.0);
set_state(PART:"event", "default", 0.0);
} else {
set_state(PART:"efl.content", "default", 0.0);
set_state(PART:"sizer_content", "default", 0.0);
set_state(PART:"efl.text", "default", 0.0);
set_state(PART:"inset", "disabled", 0.0);
set_state(PART:"clip", "disabled", 0.0);
set_state(PART:"event", "disabled", 0.0);
}
set_state(PART:"ck_check", "default", 0.0);
}
}
}
parts {
part { name: "inset"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel2.relative: 0.0 1.0;
rel2.offset: 2 -3;
image.normal: "inset_shadow_circle_tiny.png";
align: 0.0 0.5;
min: 13 13;
max: 13 13;
fixed: 1 0;
part { name: "shadow"; type: SPACER;
description { state: "default";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
image.normal: "inset_circle_tiny.png";
desc { "pressed"; inherit;
}
desc { "disabled"; inherit;
}
}
part { name: "indicator"; mouse_events: 0;
scale: 1;
clip_to: "clip";
description { state: "default" 0.0;
rel1.to: "inset";
rel2.to: "inset";
image.normal: "sym_radio_alum.png";
min: 11 11;
max: 11 11;
swallow { "efl.background"; nomouse;
desc { "default";
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
desc { "visible"; inherit;
visible: 1;
}
}
part { name: "clip"; type: RECT;
description { state: "default" 0.0;
rect { "icon_clip";
desc { "default";
color_class: "button_icon";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 64;
desc { "pressed"; inherit;
color_class: "button_icon_pressed";
}
desc { "disabled"; inherit;
color_class: "button_icon_disabled";
}
}
part { name: "efl.content"; type: SWALLOW;
swallow { "efl.content"; nomouse;
required;
clip_to: "icon_clip";
scale: 1;
clip_to: "clip";
description { state: "default" 0.0;
desc { "default";
fixed: 1 0;
visible: 0;
align: 0.0 0.5;
max: 0 0;
rel1.to_x: "inset";
rel1.to_x: "base";
rel2.to_x: "base";
rel1.offset: 4 4;
rel1.relative: 1.0 0.0;
rel1.offset: 1 1;
rel2.to_x: "inset";
rel2.offset: 1 -2;
rel2.relative: 1.0 1.0;
rel2.relative: 0.0 1.0;
rel2.offset: 4 -5;
visible: 0;
offscale;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
desc { "visible"; inherit;
fixed: 1 0;
aspect: 1.0 1.0;
min: 16 16;
min: ICMIN ICMIN;
visible: 1;
}
desc { "icononly"; inherit;
fixed: 0 0;
align: 0.5 0.5;
rel2.relative: 1.0 1.0;
rel2.offset: -5 -5;
rel2.to_x: "";
visible: 1;
}
}
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
text { "sizer_content"; nomouse;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
desc { "default";
visible: 0;
text { font: FN; size: 10;
min: 0 0;
text_class: "radio_text";
text_class: "button_text";
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
rel1.to: "efl.content";
rel2.to: "efl.content";
desc { "visible"; inherit;
rel.to: "efl.content";
text {
min: 1 1;
ellipsis: -1;
text: "M";
text: SPACER_TEXT;
}
}
description { state: "icononly" 0.0;
inherit: "default" 0.0;
rel1.to: "efl.content";
rel2.to: "efl.content";
desc { "icononly"; inherit;
rel.to: "efl.content";
text {
min: 1 1;
ellipsis: -1;
text: "M";
text: SPACER_TEXT;
}
}
}
part { name: "efl.text"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
part { name: "base"; type: RECT;
scale: 1;
required;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel1.to_x: "efl.content";
rel1.relative: 1.0 0.0;
rel2.offset: -3 -3;
color: FN_COL_DEFAULT;
color_class: "radio_text";
text { font: FN; size: 10;
min: 0 0;
align: 0.0 0.5;
text_class: "radio";
}
description { state: "default";
align: 0.0 0.5;
min: 13 13;
max: 13 13;
rel1.offset: 4 4;
rel2.relative: 0.0 1.0;
rel2.offset: 4 -5;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
offscale;
visible: 0;
offscale;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color_class: "radio_text_disabled";
color3: 255 255 255 255;
desc { "pressed"; inherit;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
text.min: 1 1;
text.ellipsis: -1;
}
description { state: "disabled_visible" 0.0;
inherit: "default" 0.0;
color_class: "radio_text_disabled";
color3: 255 255 255 255;
visible: 1;
text.min: 1 1;
text.ellipsis: -1;
desc { "disabled"; inherit;
}
}
part { name: "event"; type: RECT;
part { name: "ck_check";
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel.to: "base";
image.normal: "i-radio";
min: 15 15;
max: 15 15;
color: 0 0 0 64;
}
description { state: "pressed" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
color: 160 160 160 255;
}
desc { "disabled"; inherit;
color: 0 0 0 16;
}
}
text { "efl.text"; nomouse;
required;
scale: 1;
desc { "default";
fixed: 0 1;
color: 160 160 160 255;
rel1.offset: 0 4;
rel1.relative: 1.0 0.0;
rel1.to_x: "efl.content";
rel2.offset: -5 -5;
text { font: FN; size: 10;
align: 0.0 0.5;
min: 0 0;
}
visible: 0;
offscale;
}
desc { "visible"; inherit;
fixed: 0 0;
rel1.offset: 4 4;
text.min: 1 1;
text.ellipsis: -1;
visible: 1;
}
desc { "pressed_visible"; inherit;
fixed: 0 0;
color: 255 255 255 255;
rel1.offset: 4 4;
text.min: 1 1;
text.ellipsis: -1;
visible: 1;
}
desc { "textonly"; inherit;
fixed: 0 0;
text.min: 1 1;
text.ellipsis: -1;
visible: 1;
}
desc { "pressed_textonly"; inherit;
fixed: 0 0;
color: 255 255 255 255;
text.min: 1 1;
text.ellipsis: -1;
visible: 1;
}
desc { "disabled_visible"; inherit;
fixed: 0 0;
color: 96 96 96 255;
rel1.offset: 4 4;
text.min: 1 1;
text.ellipsis: -1;
visible: 1;
}
desc { "disabled_textonly"; inherit;
fixed: 0 0;
color: 96 96 96 255;
text.min: 1 1;
text.ellipsis: -1;
visible: 1;
}
}
rect { "event";
ignore_flags: ON_HOLD;
desc { "default";
color: 0 0 0 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
desc { "disabled"; inherit;
visible: 0;
}
}
}
programs {
EFL_UI_CLICKABLE_PART_BIND(event)
program {
signal: "efl,state,selected"; source: "efl";
action: STATE_SET "selected" 0.0;
target: "indicator";
program { signal: "efl,state,selected"; source: "efl";
script {
new m = get_int(sel) | SELECTED;
set_int(sel, m);
eval_sel(m);
}
}
program {
signal: "efl,state,unselected"; source: "efl";
program { signal: "efl,state,unselected"; source: "efl";
script {
new m = get_int(sel) & ~SELECTED;
set_int(sel, m);
eval_sel(m);
}
}
program { signal: "efl,text,set"; source: "efl";
script { flag_set(LABEL); }
}
program { signal: "efl,text,unset"; source: "efl";
script { flag_unset(LABEL); }
}
program { signal: "efl,content,set"; source: "efl";
script { flag_set(ICON); }
}
program { signal: "efl,content,unset"; source: "efl";
script { flag_unset(ICON); }
}
program { signal: "efl,state,disabled"; source: "efl";
script { flag_set(DISABLE); }
}
program { signal: "efl,state,enabled"; source: "efl";
script { flag_unset(DISABLE); }
}
program { signal: "efl,state,disabled"; source: "efl";
action: STATE_SET "disabled" 0.0;
target: "ck_check";
}
program { signal: "efl,state,enabled"; source: "efl";
action: STATE_SET "default" 0.0;
target: "indicator";
}
program {
signal: "efl,text,set"; source: "efl";
script {
new m = get_int(btmode);
m |= LABEL; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "efl,text,unset"; source: "efl";
script {
new m = get_int(btmode);
m &= ~LABEL; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "efl,content,set"; source: "efl";
script {
new m = get_int(btmode);
m |= ICON; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "efl,content,unset"; source: "efl";
script {
new m = get_int(btmode);
m &= ~ICON; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "efl,state,disabled"; source: "efl";
script {
new m = get_int(btmode);
m |= DISABLE; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "efl,state,enabled"; source: "efl";
script {
new m = get_int(btmode);
m &= ~DISABLE; set_int(btmode, m);
eval_mode(m);
}
target: "ck_check";
}
}
#undef ICON
#undef LABEL
#undef MASK
#undef DISABLE
}

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,7 @@
group { name: "elm/scroller/panel/default";
data {
item: "handler_size" "30";
}
data.item: "handler_size" "30";
parts {
part { name: "elm.swallow.content";
type: SWALLOW;
part { name: "elm.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
}
}

View File

@ -358,8 +358,7 @@ group { name: "elm/panes/vertical/flush";
visible: 0;
min: PANEMIN PANEMIN2;
fixed: 1 1;
rel1.to: "elm.bar";
rel2.to: "elm.bar";
rel.to: "elm.bar";
}
}
part { name: "bar"; type: RECT;
@ -601,8 +600,7 @@ group { name: "elm/panes/horizontal/flush";
visible: 0;
min: PANEMIN2 PANEMIN;
fixed: 1 1;
rel1.to: "elm.bar";
rel2.to: "elm.bar";
rel.to: "elm.bar";
}
}
part { name: "bar"; type: RECT;
@ -767,8 +765,6 @@ group { name: "elm/panes/horizontal/flush";
group { name: "elm/panes/vertical/left-fold";
inherit: "elm/panes/vertical/default";
images.image: "big_arrow_left.png" COMP;
images.image: "big_arrow_right.png" COMP;
script {
public open;
public drag_x;
@ -777,13 +773,13 @@ group { name: "elm/panes/vertical/left-fold";
parts {
image { "dots";
desc { "default";
image.normal: "big_arrow_left.png";
FIXED_SIZE(14, 17)
image.normal: "i-arrow-l";
FIXED_SIZE(15, 15)
fill.smooth: 1;
}
desc { "closed";
inherit: "default" 0.0;
image.normal: "big_arrow_right.png";
image.normal: "i-arrow-r";
}
}
rect { "event";
@ -822,8 +818,6 @@ group { name: "elm/panes/vertical/left-fold";
group { name: "elm/panes/vertical/right-fold";
inherit: "elm/panes/vertical/default";
images.image: "big_arrow_left.png" COMP;
images.image: "big_arrow_right.png" COMP;
script {
public open;
public drag_x;
@ -832,13 +826,13 @@ group { name: "elm/panes/vertical/right-fold";
parts {
image { "dots";
desc { "default";
image.normal: "big_arrow_right.png";
FIXED_SIZE(14, 17)
image.normal: "i-arrow-r";
FIXED_SIZE(15, 15)
fill.smooth: 1;
}
desc { "closed";
inherit: "default" 0.0;
image.normal: "big_arrow_left.png";
image.normal: "i-arrow-l";
}
}
rect { "event";
@ -877,8 +871,6 @@ group { name: "elm/panes/vertical/right-fold";
group { name: "elm/panes/horizontal/up-fold";
inherit: "elm/panes/horizontal/default";
images.image: "big_arrow_up.png" COMP;
images.image: "big_arrow_down.png" COMP;
script {
public open;
public drag_x;
@ -887,20 +879,19 @@ group { name: "elm/panes/horizontal/up-fold";
parts {
image { "dots";
desc { "default";
image.normal: "big_arrow_up.png";
FIXED_SIZE(17, 14)
image.normal: "i-arrow-u";
FIXED_SIZE(15, 15)
fill.smooth: 1;
}
desc { "closed";
inherit: "default" 0.0;
image.normal: "big_arrow_down.png";
image.normal: "i-arrow-d";
}
}
rect { "event";
repeat;
desc { "default";
rel1.to: "dots";
rel2.to: "dots";
rel.to: "dots";
color: 0 0 0 0;
}
}
@ -933,8 +924,6 @@ group { name: "elm/panes/horizontal/up-fold";
group { name: "elm/panes/horizontal/down-fold";
inherit: "elm/panes/horizontal/default";
images.image: "big_arrow_up.png" COMP;
images.image: "big_arrow_down.png" COMP;
script {
public open;
public drag_x;
@ -943,20 +932,19 @@ group { name: "elm/panes/horizontal/down-fold";
parts {
image { "dots";
desc { "default";
image.normal: "big_arrow_down.png";
FIXED_SIZE(17, 14)
image.normal: "i-arrow-d";
FIXED_SIZE(15, 15)
fill.smooth: 1;
}
desc { "closed";
inherit: "default" 0.0;
image.normal: "big_arrow_up.png";
image.normal: "i-arrow-u";
}
}
rect { "event";
repeat;
desc { "default";
rel1.to: "dots";
rel2.to: "dots";
rel.to: "dots";
color: 0 0 0 0;
}
}

View File

@ -1,3 +1,5 @@
// FIXME: FLAT: improve for flat
group { name: "e/gadman/popup";
parts {
part { name: "bg"; type: RECT;
@ -51,51 +53,43 @@ group { name: "e/gadman/full_bg";
}
}
}
programs {
program {
signal: "e,state,visibility,show"; source: "e";
programs {
program { signal: "e,state,visibility,show"; source: "e";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.4;
transition: DECELERATE 0.4 USE_DURATION_FACTOR 1;
target: "bg";
}
program {
signal: "e,state,visibility,show,now"; source: "e";
program { signal: "e,state,visibility,show,now"; source: "e";
action: STATE_SET "visible" 0.0;
target: "bg";
}
program {
signal: "e,state,visibility,hide"; source: "e";
program { signal: "e,state,visibility,hide"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.4;
transition: DECELERATE 0.4 USE_DURATION_FACTOR 1;
target: "bg";
after: "hide_stop";
}
program {
signal: "e,state,visibility,hide,now"; source: "e";
program { signal: "e,state,visibility,hide,now"; source: "e";
action: STATE_SET "default" 0.0;
target: "bg";
after: "hide_stop";
}
program {
signal: "e,state,visibility,show,custom"; source: "e";
program { signal: "e,state,visibility,show,custom"; source: "e";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.4;
transition: DECELERATE 0.4 USE_DURATION_FACTOR 1;
target: "custom_bg";
}
program {
signal: "e,state,visibility,show,custom,now"; source: "e";
program { signal: "e,state,visibility,show,custom,now"; source: "e";
action: STATE_SET "visible" 0.0;
target: "custom_bg";
}
program {
signal: "e,state,visibility,hide,custom"; source: "e";
program { signal: "e,state,visibility,hide,custom"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.4;
transition: DECELERATE 0.4 USE_DURATION_FACTOR 1;
target: "custom_bg";
after: "hide_stop";
}
program {
signal: "e,state,visibility,hide,custom,now"; source: "e";
program { signal: "e,state,visibility,hide,custom,now"; source: "e";
action: STATE_SET "default" 0.0;
target: "custom_bg";
after: "hide_stop";
@ -328,34 +322,6 @@ group { name: "e/gadman/control";
visible: 0;
}
}
part { name: "resizeh1"; type: RECT;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
rel2.relative: 0.5 1.0;
align: 0.0 0.5;
max: 7 99999;
color: 0 0 0 0;
}
description { state: "off" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "resizeh2"; type: RECT;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
rel1.relative: 0.5 0.0;
align: 1.0 0.5;
max: 7 99999;
color: 0 0 0 0;
}
description { state: "off" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "resizev1"; type: RECT;
description { state: "default" 0.0;
rel1.to: "base";
@ -384,49 +350,69 @@ group { name: "e/gadman/control";
visible: 0;
}
}
part { name: "resizeh1"; type: RECT;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
rel2.relative: 0.5 1.0;
align: 0.0 0.5;
max: 7 99999;
color: 0 0 0 0;
}
description { state: "off" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "resizeh2"; type: RECT;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
rel1.relative: 0.5 0.0;
align: 1.0 0.5;
max: 7 99999;
color: 0 0 0 0;
}
description { state: "off" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
}
programs {
program {
signal: "e,state,hsize,on"; source: "e";
program { signal: "e,state,hsize,on"; source: "e";
action: STATE_SET "default" 0.0;
target: "resizeh1";
target: "resizeh2";
}
program {
signal: "e,state,hsize,off"; source: "e";
program { signal: "e,state,hsize,off"; source: "e";
action: STATE_SET "off" 0.0;
target: "resizeh1";
target: "resizeh2";
}
program {
signal: "e,state,vsize,on"; source: "e";
program { signal: "e,state,vsize,on"; source: "e";
action: STATE_SET "default" 0.0;
target: "resizev1";
target: "resizev2";
}
program {
signal: "e,state,vsize,off"; source: "e";
program { signal: "e,state,vsize,off"; source: "e";
action: STATE_SET "off" 0.0;
target: "resizev1";
target: "resizev2";
}
program {
signal: "e,state,move,on"; source: "e";
program { signal: "e,state,move,on"; source: "e";
action: STATE_SET "default" 0.0;
target: "move";
}
program {
signal: "e,state,move,off"; source: "e";
program { signal: "e,state,move,off"; source: "e";
action: STATE_SET "off" 0.0;
target: "move";
}
program {
signal: "e,state,focused"; source: "e";
program { signal: "e,state,focused"; source: "e";
action: STATE_SET "active" 0.0;
target: "base";
}
program {
signal: "e,state,unfocused"; source: "e";
program { signal: "e,state,unfocused"; source: "e";
action: STATE_SET "default" 0.0;
target: "base";
}
@ -451,8 +437,7 @@ group { name: "e/gadman/control";
target: _DST2; \
after: _NAME"1"; \
} \
program { \
signal: "mouse,out"; source: _SRC; \
program { signal: "mouse,out"; source: _SRC; \
action: ACTION_STOP; \
target: _NAME"0"; \
target: _NAME"1"; \
@ -468,25 +453,22 @@ group { name: "e/gadman/control";
ARROWPULSE("pulse2", "resizev2", "av20", "av21")
ARROWPULSE("pulse3", "resizeh1", "ah10", "ah11")
ARROWPULSE("pulse4", "resizeh2", "ah20", "ah21")
#undef ARROWPULSE
#undef ARROWPULSE
#define PROGSET(_SRC, _ACT) \
program { \
signal: "mouse,down,1"; source: _SRC; \
program { signal: "mouse,down,1"; source: _SRC; \
action: SIGNAL_EMIT "e,action,"_ACT",start" ""; \
} \
program { \
signal: "mouse,up,1"; source: _SRC; \
program { signal: "mouse,up,1"; source: _SRC; \
action: SIGNAL_EMIT "e,action,"_ACT",stop" ""; \
} \
program { \
signal: "mouse,move"; source: _SRC; \
program { signal: "mouse,move"; source: _SRC; \
action: SIGNAL_EMIT "e,action,"_ACT",go" ""; \
}
PROGSET("move", "move")
PROGSET("resizeh1", "resize,left")
PROGSET("resizeh2", "resize,right")
PROGSET("resizev1", "resize,up")
PROGSET("resizev2", "resize,down")
PROGSET("resizeh1", "resize,left")
PROGSET("resizeh2", "resize,right")
#undef PROGSET
}
}

View File

@ -250,12 +250,12 @@ group { name: "e/modules/ibox/icon";
// }
program { signal: "e,state,starting"; source: "e";
action: STATE_SET "starting" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "content";
}
program { signal: "e,state,started"; source: "e";
action: STATE_SET "default" 0.0;
transition: ACCELERATE 0.2;
transition: ACCELERATE 0.2 USE_DURATION_FACTOR 1;
target: "content";
}
/////////////////////////////////////////////////////////////
@ -264,14 +264,14 @@ group { name: "e/modules/ibox/icon";
target: "indicator1";
target: "indicator2";
target: "indicator3";
transition: ACCELERATE 0.2;
transition: ACCELERATE 0.2 USE_DURATION_FACTOR 1;
}
program { signal: "e,state,off"; source: "e";
action: STATE_SET "default" 0.0;
target: "indicator1";
target: "indicator2";
target: "indicator3";
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
}
/////////////////////////////////////////////////////////////
program { signal: "e,state,urgent"; source: "e";
@ -405,17 +405,17 @@ group { name: "e/modules/ibox/icon_overlay";
text_source: "e.text.label";
}
link.base: "e,origin,center" "e";
link.transition: SINUSOIDAL 0.1 CURRENT;
link.transition: SINUSOIDAL 0.1 CURRENT USE_DURATION_FACTOR 1;
}
desc { "left"; inherit: "default";
align: 0.0 0.5;
link.base: "e,origin,left" "e";
link.transition: SINUSOIDAL 0.1 CURRENT;
link.transition: SINUSOIDAL 0.1 CURRENT USE_DURATION_FACTOR 1;
}
desc { "right"; inherit: "default";
align: 1.0 0.5;
link.base: "e,origin,right" "e";
link.transition: SINUSOIDAL 0.1 CURRENT;
link.transition: SINUSOIDAL 0.1 CURRENT USE_DURATION_FACTOR 1;
}
}
part { name: "bg"; type: RECT; mouse_events: 0;
@ -467,12 +467,12 @@ group { name: "e/modules/ibox/icon_overlay";
// }
program { signal: "e,state,starting"; source: "e";
action: STATE_SET "starting" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "content";
}
program { signal: "e,state,started"; source: "e";
action: STATE_SET "default" 0.0;
transition: ACCELERATE 0.2;
transition: ACCELERATE 0.2 USE_DURATION_FACTOR 1;
target: "content";
}
///////////////////////////////////////////////////////////
@ -510,24 +510,24 @@ group { name: "e/modules/ibox/icon_overlay";
}
program { signal: "e,action,show,label"; source: "e";
action: STATE_SET "visible" 0.0;
transition: SINUSOIDAL 0.5;
transition: SINUSOIDAL 0.5 USE_DURATION_FACTOR 1;
target: "e.text.label";
target: "bg";
}
program { signal: "e,action,hide,label"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 1.0;
transition: SINUSOIDAL 1.0 USE_DURATION_FACTOR 1;
target: "e.text.label";
target: "bg";
}
program {
action: STATE_SET visible 0.0;
transition: SINUSOIDAL 1.0;
transition: SINUSOIDAL 1.0 USE_DURATION_FACTOR 1;
target: "bg";
}
program {
action: STATE_SET default 0.0;
transition: SINUSOIDAL 1.0;
transition: SINUSOIDAL 1.0 USE_DURATION_FACTOR 1;
target: "bg";
}
program { name: "go_passive2";
@ -583,7 +583,7 @@ group { name: "e/modules/ibox/icon_overlay";
}
program { name: "go_big2";
action: STATE_SET "huge" 0.0;
transition: LINEAR 0.5;
transition: LINEAR 0.5 USE_DURATION_FACTOR 1;
target: "background";
}
}

View File

@ -121,7 +121,7 @@ group { name: "e/init/splash";
}
program { signal: "show"; source: "";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 1.0;
transition: DECELERATE 1.0 USE_DURATION_FACTOR 1;
in: 1.0 0.0;
target: "blanker";
}
@ -129,7 +129,7 @@ group { name: "e/init/splash";
action: STATE_SET "active" 0.0;
target: "logo";
in: 1.5 0.0;
transition: SINUSOIDAL 0.8;
transition: SINUSOIDAL 0.8 USE_DURATION_FACTOR 1;
after: "ready";
}
program { signal: "show"; source: "";
@ -156,7 +156,7 @@ group { name: "e/init/splash";
}
program { name: "exit1";
action: STATE_SET "faded" 0.0;
transition: SINUSOIDAL 1.0 CURRENT;
transition: SINUSOIDAL 1.0 CURRENT USE_DURATION_FACTOR 1;
target: "fader";
after: "exit2";
}
@ -207,7 +207,7 @@ group { name: "e/init/extra_screen";
}
program { signal: "show"; source: "";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 1.0;
transition: DECELERATE 1.0 USE_DURATION_FACTOR 1;
in: 1.0 0.0;
target: "blanker";
after: "ready";
@ -234,7 +234,7 @@ group { name: "e/init/extra_screen";
}
program { name: "exit1";
action: STATE_SET "faded" 0.0;
transition: SINUSOIDAL 1.0 CURRENT;
transition: SINUSOIDAL 1.0 CURRENT USE_DURATION_FACTOR 1;
target: "fader";
after: "exit2";
}

View File

@ -115,12 +115,12 @@ group { name: "e/modules/mixer/main";
programs {
program { name: "mute";
action: STATE_SET "mute" 0.0;
transition: LINEAR 0.3;
transition: LINEAR 0.3 USE_DURATION_FACTOR 1;
target: "state";
}
program { name: "unmute";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.2;
transition: LINEAR 0.2 USE_DURATION_FACTOR 1;
target: "state";
}
}

View File

@ -305,7 +305,7 @@ group { name: "e/modules/music-control/popup";
}
program { signal: "mouse,up,1"; source: "*_btn";
action: STATE_SET "default" 0.0;
transition: DECELERATE 1.0;
transition: DECELERATE 1.0 USE_DURATION_FACTOR 1;
target: "btn_back";
}
program { signal: "mouse,clicked,*"; source: "previous_btn";

View File

@ -213,7 +213,7 @@ group { name: "e/modules/pager/desk";
program { name: "sel";
signal: "e,state,selected"; source: "e";
action: STATE_SET "active" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "sel";
}
program { signal: "e,state,unselected"; source: "e";
@ -222,7 +222,7 @@ group { name: "e/modules/pager/desk";
}
program { signal: "e,state,unselected"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "sel";
}
program { signal: "e,preview,on"; source: "e";
@ -518,22 +518,22 @@ group { name: "e/gadget/pager/plain/desk";
}
program { name: "on_left";
action: STATE_SET "on_left" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "sel";
}
program { name: "on_top";
action: STATE_SET "on_top" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "sel";
}
program { name: "on_right";
action: STATE_SET "on_right" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "sel";
}
program { name: "on_bottom";
action: STATE_SET "on_bottom" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "sel";
}
program { signal: "e,state,unselected"; source: "e";
@ -831,22 +831,22 @@ group { name: "e/gadget/pager/default/desk";
}
program { name: "on_left";
action: STATE_SET "on_left" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "sel";
}
program { name: "on_top";
action: STATE_SET "on_top" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "sel";
}
program { name: "on_right";
action: STATE_SET "on_right" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "sel";
}
program { name: "on_bottom";
action: STATE_SET "on_bottom" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "sel";
}
program { signal: "e,state,unselected"; source: "e";

View File

@ -290,7 +290,7 @@ group { name: "e/modules/pager16/desk";
program { name: "sel";
signal: "e,state,selected"; source: "e";
action: STATE_SET "active" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "sel";
}
program { signal: "e,state,unselected"; source: "e";
@ -299,7 +299,7 @@ group { name: "e/modules/pager16/desk";
}
program { signal: "e,state,unselected"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "sel";
}
program { name: "drop1";

View File

@ -166,12 +166,12 @@ group { name: "e/widgets/scrollframe";
}
program { signal: "mouse,in"; source: "sb_vbar_over";
action: STATE_SET "over" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "base_vbar";
}
program { signal: "mouse,out"; source: "sb_vbar_over";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "base_vbar";
}
part { name: "y_vbar_up_mapper"; type: SPACER;
@ -364,12 +364,12 @@ group { name: "e/widgets/scrollframe";
}
program { signal: "mouse,in"; source: "sb_hbar_over";
action: STATE_SET "over" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "base_hbar";
}
program { signal: "mouse,out"; source: "sb_hbar_over";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "base_hbar";
}
part { name: "x_hbar_left_mapper"; type: SPACER;

View File

@ -239,49 +239,49 @@ target: "sh_vert_clip"; \
#undef ORIENT_SATE
program { signal: "e,state,scroll,begin"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.5 CURRENT;
transition: SINUSOIDAL 0.5 CURRENT USE_DURATION_FACTOR 1;
target: "sh_l";
target: "sh_t";
}
program { signal: "e,state,scroll,begin"; source: "e";
action: STATE_SET "active" 0.0;
transition: SINUSOIDAL 0.5 CURRENT;
transition: SINUSOIDAL 0.5 CURRENT USE_DURATION_FACTOR 1;
target: "sh_r";
target: "sh_b";
}
program { signal: "e,state,scroll,middle"; source: "e";
action: STATE_SET "active" 0.0;
transition: SINUSOIDAL 0.5 CURRENT;
transition: SINUSOIDAL 0.5 CURRENT USE_DURATION_FACTOR 1;
target: "sh_l";
target: "sh_t";
}
program { signal: "e,state,scroll,middle"; source: "e";
action: STATE_SET "active" 0.0;
transition: SINUSOIDAL 0.5 CURRENT;
transition: SINUSOIDAL 0.5 CURRENT USE_DURATION_FACTOR 1;
target: "sh_r";
target: "sh_b";
}
program { signal: "e,state,scroll,end"; source: "e";
action: STATE_SET "active" 0.0;
transition: SINUSOIDAL 0.5 CURRENT;
transition: SINUSOIDAL 0.5 CURRENT USE_DURATION_FACTOR 1;
target: "sh_l";
target: "sh_t";
}
program { signal: "e,state,scroll,end"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.5 CURRENT;
transition: SINUSOIDAL 0.5 CURRENT USE_DURATION_FACTOR 1;
target: "sh_r";
target: "sh_b";
}
program { signal: "e,state,scroll,none"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.5 CURRENT;
transition: SINUSOIDAL 0.5 CURRENT USE_DURATION_FACTOR 1;
target: "sh_l";
target: "sh_t";
}
program { signal: "e,state,scroll,none"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.5 CURRENT;
transition: SINUSOIDAL 0.5 CURRENT USE_DURATION_FACTOR 1;
target: "sh_r";
target: "sh_b";
}

View File

@ -196,13 +196,13 @@ group { name: "e/widgets/syscon/item/button";
}
program { signal: "e,state,focused"; source: "e";
action: STATE_SET "focused" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "e.text.label";
target: "sel";
}
program { signal: "e,state,unfocused"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "e.text.label";
target: "sel";
}

View File

@ -320,12 +320,12 @@ group { name:"e/modules/tasks/item";
program { signal: "e,state,focused"; source: "e";
action: STATE_SET "focused" 0.0;
transition: ACCELERATE 0.2;
transition: ACCELERATE 0.2 USE_DURATION_FACTOR 1;
target: "bar";
}
program { signal: "e,state,unfocused"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.2;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
target: "bar";
}
@ -338,7 +338,7 @@ group { name:"e/modules/tasks/item";
}
program { signal: "state,default"; source: "int";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.2;
transition: SINUSOIDAL 0.2 USE_DURATION_FACTOR 1;
target: "icon2";
}
program { signal: "state,focused"; source: "int";
@ -350,7 +350,7 @@ group { name:"e/modules/tasks/item";
}
program { signal: "state,focused"; source: "int";
action: STATE_SET "focused" 0.0;
transition: SINUSOIDAL 0.2;
transition: SINUSOIDAL 0.2 USE_DURATION_FACTOR 1;
target: "icon2";
}
program { signal: "state,iconic"; source: "int";
@ -362,7 +362,7 @@ group { name:"e/modules/tasks/item";
}
program { signal: "state,iconic"; source: "int";
action: STATE_SET "iconic" 0.0;
transition: SINUSOIDAL 0.2;
transition: SINUSOIDAL 0.2 USE_DURATION_FACTOR 1;
target: "icon2";
}

View File

@ -131,7 +131,7 @@ group { name: "e/wizard/main";
programs {
program { signal: "show"; source: "";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 1.0;
transition: DECELERATE 1.0 USE_DURATION_FACTOR 1;
target: "blanker";
}
program { signal: "mouse,down,1"; source: "base";

Binary file not shown.

Binary file not shown.