2016-10-15 05:02:17 -07:00
|
|
|
group { name: "e/widgets/border/volume";
|
|
|
|
parts {
|
|
|
|
part { name: "base";
|
|
|
|
type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "clip";
|
|
|
|
type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "e.swallow.volume";
|
|
|
|
rel1.relative: -1.0 0.0;
|
|
|
|
rel2.to: "e.swallow.volume";
|
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
description { state: "show" 0.0;
|
|
|
|
rel1.to: "e.swallow.volume";
|
|
|
|
rel1.relative: 0.0 0.0;
|
|
|
|
rel2.to: "e.swallow.volume";
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.swallow.volume_icon";
|
|
|
|
type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "base";
|
|
|
|
rel1.relative: 0.15 0.15;
|
|
|
|
rel2.to: "base";
|
|
|
|
rel2.relative: 0.85 0.85;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.swallow.volume";
|
|
|
|
type: SWALLOW;
|
|
|
|
clip_to: "clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 0;
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.offset: 1 0;
|
|
|
|
rel1.to_x: "e.swallow.volume_icon";
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
rel2.offset: 1 -1;
|
|
|
|
rel2.to: "e.swallow.volume_icon";
|
|
|
|
align: 0.0 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "event";
|
|
|
|
type: RECT;
|
|
|
|
repeat_events: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "base";
|
|
|
|
rel2.to: "base";
|
|
|
|
color: 255 255 255 0;
|
|
|
|
}
|
|
|
|
description { state: "large" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel2.to: "e.swallow.volume";
|
|
|
|
rel2.offset: 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program {
|
|
|
|
signal: "mouse,in";
|
|
|
|
source: "event";
|
|
|
|
action: ACTION_STOP;
|
|
|
|
target: "hide_volume1";
|
|
|
|
target: "hide_volume2";
|
|
|
|
after: "show_volume1";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "show_volume1";
|
|
|
|
action: STATE_SET "large" 0.0;
|
|
|
|
target: "event";
|
|
|
|
after: "show_volume2";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "show_volume2";
|
|
|
|
action: STATE_SET "show" 0.0;
|
|
|
|
transition: SIN 0.25;
|
|
|
|
target: "clip";
|
|
|
|
}
|
|
|
|
|
|
|
|
program {
|
|
|
|
name: "hide_volume";
|
|
|
|
signal: "mouse,out";
|
|
|
|
source: "event";
|
|
|
|
action: ACTION_STOP;
|
|
|
|
target: "show_volume1";
|
|
|
|
target: "show_volume2";
|
|
|
|
after: "hide_volume1";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "hide_volume1";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: SIN 0.25;
|
|
|
|
target: "clip";
|
|
|
|
after: "hide_volume2";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "hide_volume2";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "event";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-17 00:34:36 -07:00
|
|
|
group { name: "e/widgets/border/default/border";
|
|
|
|
alias: "e/widgets/border/shaped/border";
|
|
|
|
images.image: "vgrad_med_lighter.png" COMP;
|
|
|
|
images.image: "vgrad_med_dark.png" COMP;
|
|
|
|
images.image: "bevel_out.png" COMP;
|
|
|
|
images.image: "shine.png" COMP;
|
|
|
|
images.image: "bevel_dark_out.png" COMP;
|
|
|
|
images.image: "sym_close_dark_normal.png" COMP;
|
|
|
|
images.image: "sym_close_dark_selected.png" COMP;
|
|
|
|
images.image: "sym_close_light_normal.png" COMP;
|
|
|
|
images.image: "sym_close_light_selected.png" COMP;
|
|
|
|
images.image: "sym_down_dark_normal.png" COMP;
|
|
|
|
images.image: "sym_down_dark_selected.png" COMP;
|
|
|
|
images.image: "sym_down_light_normal.png" COMP;
|
|
|
|
images.image: "sym_down_light_selected.png" COMP;
|
|
|
|
images.image: "sym_up_dark_normal.png" COMP;
|
|
|
|
images.image: "sym_up_dark_selected.png" COMP;
|
|
|
|
images.image: "sym_up_light_normal.png" COMP;
|
|
|
|
images.image: "sym_up_light_selected.png" COMP;
|
|
|
|
images.image: "glow_round_corners_small.png" COMP;
|
|
|
|
images.image: "knob_round_small_busy.png" COMP;
|
|
|
|
images.image: "screen_circular_shadow.png" COMP;
|
2014-02-05 10:32:29 -08:00
|
|
|
images.image: "win_shadow.png" COMP;
|
2013-10-17 00:34:36 -07:00
|
|
|
data.item: "shadow" "1";
|
|
|
|
parts {
|
2014-02-05 10:32:29 -08:00
|
|
|
part { name: "shadow_clip"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default";
|
|
|
|
rel1.to: "shadow";
|
|
|
|
rel2.to: "shadow";
|
|
|
|
}
|
|
|
|
description { state: "hidden";
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "shadow"; mouse_events: 0; clip_to: "shadow_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "top";
|
|
|
|
rel2.to: "bottom";
|
2016-03-24 19:04:35 -07:00
|
|
|
WIN_SHADOW;
|
2014-02-05 10:32:29 -08:00
|
|
|
}
|
|
|
|
description { state: "shaded";
|
|
|
|
inherit: "default";
|
2015-01-08 15:18:25 -08:00
|
|
|
rel2.to: "e.swallow.client";
|
2014-02-05 10:32:29 -08:00
|
|
|
}
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
part { name: "client_clip"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to_y: "e.swallow.client";
|
|
|
|
rel2.to_y: "e.swallow.client";
|
|
|
|
}
|
|
|
|
description { state: "hidden" 0.0;
|
|
|
|
inherit: "default";
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
2013-12-01 11:24:48 -08:00
|
|
|
part { name: "e.swallow.client"; type: SWALLOW;
|
2013-10-17 00:34:36 -07:00
|
|
|
clip_to: "client_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel1.to_y: "top";
|
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
rel2.to_y: "bottom";
|
|
|
|
}
|
|
|
|
description { state: "shaded" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
rel2.offset: -1 -1;
|
|
|
|
}
|
|
|
|
description { state: "max" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
rel2.offset: -1 -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "top"; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "vgrad_med_lighter.png";
|
|
|
|
rel2.to_y: "title2";
|
2014-05-13 00:12:22 -07:00
|
|
|
rel2.offset: -1 0;
|
2013-10-17 00:34:36 -07:00
|
|
|
fill.smooth: 0;
|
|
|
|
TILED_HORIZ(120)
|
2014-03-05 01:22:17 -08:00
|
|
|
color_class: "border_frame";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
image.normal: "vgrad_med_dark.png";
|
2014-03-05 01:22:17 -08:00
|
|
|
color_class: "border_frame_active";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "bevel"; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "bevel_out.png";
|
|
|
|
image.border: 1 1 1 1;
|
|
|
|
image.middle: 0;
|
|
|
|
rel1.to: "top";
|
|
|
|
rel2.to: "top";
|
|
|
|
fill.smooth: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-10-15 05:02:17 -07:00
|
|
|
|
2013-10-17 00:34:36 -07:00
|
|
|
part { name: "e.text.title"; type: TEXT; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
effect: SHADOW BOTTOM;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.offset: 1 3;
|
2016-10-15 05:02:17 -07:00
|
|
|
rel1.to_x: "e.swallow.volume";
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 0.0 0.0;
|
|
|
|
rel2.offset: -2 3;
|
|
|
|
rel2.to_x: "e.event.minimize";
|
|
|
|
align: 0.5 0.0;
|
2014-03-05 01:22:17 -08:00
|
|
|
color_class: "border_title";
|
|
|
|
color3: 255 255 255 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
text { font: FNBD; size: 10;
|
|
|
|
text_class: "title_bar";
|
|
|
|
align: 0.5 0.0;
|
|
|
|
min: 0 1;
|
|
|
|
}
|
|
|
|
fixed: 0 1;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "title2"; type: TEXT; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
effect: SOFT_SHADOW BOTTOM;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.offset: 1 2;
|
2016-10-15 05:02:17 -07:00
|
|
|
rel1.to_x: "e.swallow.volume";
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 0.0 0.0;
|
|
|
|
rel2.offset: -1 2;
|
|
|
|
rel2.to_x: "e.event.minimize";
|
|
|
|
align: 0.5 0.0;
|
2014-03-05 01:22:17 -08:00
|
|
|
color_class: "border_title_active";
|
|
|
|
color3: 255 255 255 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
text { font: FNBD; size: 10;
|
|
|
|
text_source: "e.text.title";
|
|
|
|
text_class: "title_bar";
|
|
|
|
align: 0.5 0.0;
|
|
|
|
min: 0 1;
|
|
|
|
}
|
|
|
|
fixed: 0 1;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "icon"; type: SPACER;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "e.event.icon";
|
|
|
|
rel2.to: "e.event.icon";
|
|
|
|
}
|
|
|
|
description { state: "bounce1" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2013-12-31 19:33:04 -08:00
|
|
|
rel1.relative: 0.5 0.5;
|
|
|
|
rel2.relative: 0.5 0.5;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
description { state: "bounce2" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2013-12-31 19:33:04 -08:00
|
|
|
rel1.relative: -0.5 -0.5;
|
|
|
|
rel2.relative: 1.2 1.2;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "icon";
|
|
|
|
rel1.relative: 0.15 0.15;
|
|
|
|
rel2.to: "icon";
|
|
|
|
rel2.relative: 0.85 0.85;
|
|
|
|
rel2.offset: 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "busy_clip"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "hung" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "knob"; mouse_events: 0;
|
|
|
|
clip_to: "busy_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
image.normal: "knob_round_small_busy.png";
|
|
|
|
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
|
|
|
max: 20 20;
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.offset: 2 -0;
|
|
|
|
rel1.to: "e.event.icon";
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
rel2.offset: 2 -1;
|
|
|
|
rel2.to: "e.event.icon";
|
|
|
|
align: 0.0 0.5;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "knob_spinner"; mouse_events: 0;
|
|
|
|
clip_to: "busy_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.to: "knob";
|
|
|
|
rel2.to: "knob";
|
|
|
|
image.normal: "glow_round_corners_small.png";
|
|
|
|
map.on: 1;
|
|
|
|
map.smooth: 1;
|
|
|
|
map.rotation.center: "knob";
|
|
|
|
}
|
|
|
|
description { state: "spin" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
map.rotation.z: 360;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "clip1"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "top";
|
|
|
|
rel2.to: "top";
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "clip2"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "top";
|
|
|
|
rel2.to: "top";
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "close1"; mouse_events: 0;
|
|
|
|
clip_to: "clip1";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "sym_close_dark_normal.png";
|
|
|
|
rel1.to: "e.event.close";
|
|
|
|
rel2.to: "e.event.close";
|
|
|
|
min: 15 15;
|
|
|
|
max: 15 15;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
image.normal: "sym_close_dark_selected.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "max1"; mouse_events: 0;
|
|
|
|
clip_to: "clip1";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "sym_up_dark_normal.png";
|
|
|
|
rel1.to: "e.event.maximize";
|
|
|
|
rel2.to: "e.event.maximize";
|
|
|
|
min: 15 15;
|
|
|
|
max: 15 15;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
image.normal: "sym_up_dark_selected.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "min1"; mouse_events: 0;
|
|
|
|
clip_to: "clip1";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "sym_down_dark_normal.png";
|
|
|
|
rel1.to: "e.event.minimize";
|
|
|
|
rel2.to: "e.event.minimize";
|
|
|
|
min: 15 15;
|
|
|
|
max: 15 15;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
image.normal: "sym_down_dark_selected.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "close2"; mouse_events: 0;
|
|
|
|
clip_to: "clip2";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "sym_close_light_normal.png";
|
|
|
|
rel1.to: "e.event.close";
|
|
|
|
rel2.to: "e.event.close";
|
|
|
|
min: 15 15;
|
|
|
|
max: 15 15;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
image.normal: "sym_close_light_selected.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "max2"; mouse_events: 0;
|
|
|
|
clip_to: "clip2";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "sym_up_light_normal.png";
|
|
|
|
rel1.to: "e.event.maximize";
|
|
|
|
rel2.to: "e.event.maximize";
|
|
|
|
min: 15 15;
|
|
|
|
max: 15 15;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
image.normal: "sym_up_light_selected.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "min2"; mouse_events: 0;
|
|
|
|
clip_to: "clip2";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "sym_down_light_normal.png";
|
|
|
|
rel1.to: "e.event.minimize";
|
|
|
|
rel2.to: "e.event.minimize";
|
|
|
|
min: 15 15;
|
|
|
|
max: 15 15;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
image.normal: "sym_down_light_selected.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.titlebar"; type: RECT;
|
2017-03-17 10:16:53 -07:00
|
|
|
description { rel.to: "top";
|
2013-10-17 00:34:36 -07:00
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.icon"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2016-04-01 13:22:45 -07:00
|
|
|
fixed: 1 0;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.relative: 0.0 0.0;
|
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
rel2.to_y: "top";
|
|
|
|
align: 0.0 0.5;
|
|
|
|
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.close"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2016-04-01 13:22:45 -07:00
|
|
|
fixed: 1 0;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
rel2.to_y: "top";
|
|
|
|
align: 1.0 0.5;
|
|
|
|
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.maximize"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: -0.25 0.0;
|
|
|
|
rel1.offset: -1 0;
|
|
|
|
rel1.to_x: "e.event.close";
|
|
|
|
rel2.relative: -0.25 1.0;
|
|
|
|
rel2.to_y: "top";
|
|
|
|
rel2.to_x: "e.event.close";
|
|
|
|
align: 1.0 0.5;
|
|
|
|
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.minimize"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 0.0 0.0;
|
|
|
|
rel1.offset: -1 0;
|
|
|
|
rel1.to_x: "e.event.maximize";
|
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
rel2.to_y: "top";
|
|
|
|
rel2.to_x: "e.event.maximize";
|
|
|
|
align: 1.0 0.5;
|
|
|
|
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.tl"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2016-04-01 13:22:45 -07:00
|
|
|
fixed: 1 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 0.0 0.0;
|
|
|
|
min: 32 4;
|
|
|
|
align: 0.0 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.t"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2016-04-01 13:22:45 -07:00
|
|
|
fixed: 0 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.to_x: "e.event.resize.tl";
|
|
|
|
rel2.relative: 0.0 0.0;
|
|
|
|
rel2.to_x: "e.event.resize.tr";
|
|
|
|
min: 0 4;
|
|
|
|
align: 0.5 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.tr"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2016-04-01 13:22:45 -07:00
|
|
|
fixed: 1 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
min: 32 4;
|
|
|
|
align: 1.0 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "bottom"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color_class: "border_bottom";
|
2014-03-05 02:19:44 -08:00
|
|
|
color: 64 64 64 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel1.offset: 0 -5;
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
min: 0 5;
|
|
|
|
fixed: 0 1;
|
|
|
|
}
|
|
|
|
description { state: "shaded" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "max" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "bevel2"; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "bevel_dark_out.png";
|
|
|
|
image.border: 1 1 1 1;
|
|
|
|
image.middle: 0;
|
|
|
|
rel1.to: "bottom";
|
|
|
|
rel2.to: "bottom";
|
|
|
|
fill.smooth: 0;
|
|
|
|
}
|
|
|
|
description { state: "shaded" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "max" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.bl"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel1.to_y: "e.swallow.client";
|
|
|
|
rel1.offset: 0 -1;
|
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
min: 32 5;
|
|
|
|
align: 0.0 1.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
description { state: "shaded" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "max" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.b"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2017-03-17 10:16:53 -07:00
|
|
|
rel1.relative: 1.0 0.0;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.to_x: "e.event.resize.tl";
|
2017-03-17 10:16:53 -07:00
|
|
|
rel1.to_y: "bottom";
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
rel2.to_x: "e.event.resize.tr";
|
|
|
|
min: 0 5;
|
|
|
|
align: 0.5 1.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
fixed: 0 1;
|
|
|
|
}
|
|
|
|
description { state: "shaded" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "max" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.br"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 1.0 1.0;
|
|
|
|
rel1.to_y: "e.swallow.client";
|
|
|
|
rel1.offset: 0 -1;
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
min: 32 5;
|
|
|
|
align: 1.0 1.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
description { state: "shaded" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "max" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "shine"; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "shine.png";
|
|
|
|
rel1.offset: 0 -2;
|
|
|
|
rel1.to: "top";
|
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
rel2.offset: -1 2;
|
|
|
|
rel2.to: "top";
|
|
|
|
FIXED_SIZE(69, 5)
|
|
|
|
}
|
|
|
|
}
|
2016-10-15 05:02:17 -07:00
|
|
|
part { name: "e.swallow.volume";
|
|
|
|
type: SWALLOW;
|
|
|
|
source: "e/widgets/border/volume";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 0;
|
|
|
|
rel1.to: "e.event.icon";
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel2.to: "e.event.icon";
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
rel2.offset: 0 -1;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
programs {
|
2014-02-05 10:32:29 -08:00
|
|
|
program {
|
|
|
|
signal: "e,state,shadow,on"; source: "e";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "shadow_clip";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "e,state,shadow,off"; source: "e";
|
|
|
|
action: STATE_SET "hidden" 0.0;
|
|
|
|
target: "shadow_clip";
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
program {
|
|
|
|
signal: "e,state,focused"; source: "e";
|
|
|
|
action: STATE_SET "focused" 0.0;
|
|
|
|
target: "top";
|
|
|
|
target: "e.text.title";
|
|
|
|
target: "title2";
|
|
|
|
target: "clip1";
|
|
|
|
target: "clip2";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "e,state,unfocused"; source: "e";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "top";
|
|
|
|
target: "e.text.title";
|
|
|
|
target: "title2";
|
|
|
|
target: "clip1";
|
|
|
|
target: "clip2";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "e,state,urgent"; source: "e";
|
|
|
|
action: STATE_SET "bounce1" 0.0;
|
|
|
|
target: "icon";
|
|
|
|
after: "urg1";
|
|
|
|
}
|
|
|
|
program { name: "urg1";
|
|
|
|
action: STATE_SET "bounce2" 0.0;
|
2013-12-31 19:33:04 -08:00
|
|
|
transition: DECELERATE 0.4;
|
2013-10-17 00:34:36 -07:00
|
|
|
target: "icon";
|
|
|
|
after: "urg2";
|
|
|
|
}
|
|
|
|
program { name: "urg2";
|
|
|
|
action: STATE_SET "bounce1" 0.0;
|
2013-12-31 19:33:04 -08:00
|
|
|
transition: ACCELERATE 0.3;
|
2013-10-17 00:34:36 -07:00
|
|
|
target: "icon";
|
|
|
|
after: "urg1";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "e,state,not_urgent"; source: "e";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "icon";
|
|
|
|
}
|
|
|
|
program { name: "spin";
|
|
|
|
signal: "e,state,hung"; source: "e";
|
|
|
|
action: STATE_SET "spin" 0.0;
|
|
|
|
transition: LINEAR 1.0;
|
|
|
|
target: "knob_spinner";
|
|
|
|
after: "spin2";
|
|
|
|
}
|
|
|
|
program { name: "spin2";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "knob_spinner";
|
|
|
|
after: "spin";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "e,state,hung"; source: "e";
|
|
|
|
action: STATE_SET "hung" 0.0;
|
|
|
|
transition: SINUSOIDAL 0.25;
|
|
|
|
target: "busy_clip";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "e,state,unhung"; source: "e";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: SINUSOIDAL 1.0;
|
|
|
|
target: "busy_clip";
|
|
|
|
after: "spin3";
|
|
|
|
}
|
|
|
|
program { name: "spin3";
|
|
|
|
action: ACTION_STOP;
|
|
|
|
target: "spin";
|
|
|
|
target: "spin2";
|
|
|
|
after: "spin4";
|
|
|
|
}
|
|
|
|
program { name: "spin4";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "knob_spinner";
|
|
|
|
}
|
2014-02-05 10:32:29 -08:00
|
|
|
program {
|
|
|
|
signal: "e,state,shaded"; source: "e";
|
|
|
|
action: STATE_SET "shaded" 0.0;
|
|
|
|
target: "shadow";
|
2013-10-17 00:34:36 -07:00
|
|
|
after: "shading";
|
|
|
|
}
|
|
|
|
program { name: "shading";
|
|
|
|
signal: "e,state,shading"; source: "e";
|
|
|
|
action: STATE_SET "shaded" 0.0;
|
|
|
|
target: "e.swallow.client";
|
|
|
|
target: "bottom";
|
|
|
|
target: "bevel2";
|
|
|
|
target: "e.event.resize.bl";
|
|
|
|
target: "e.event.resize.b";
|
|
|
|
target: "e.event.resize.br";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "e,state,unshaded"; source: "e";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "bottom";
|
|
|
|
target: "bevel2";
|
|
|
|
target: "e.event.resize.bl";
|
|
|
|
target: "e.event.resize.b";
|
|
|
|
target: "e.event.resize.br";
|
|
|
|
target: "client_clip";
|
|
|
|
after: "unshading";
|
|
|
|
}
|
|
|
|
program { name: "unshading";
|
|
|
|
signal: "e,state,unshading"; source: "e";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "e.swallow.client";
|
2014-02-05 10:32:29 -08:00
|
|
|
target: "shadow";
|
2013-10-17 00:34:36 -07:00
|
|
|
target: "client_clip";
|
|
|
|
}
|
|
|
|
// program {
|
|
|
|
// signal: "e,action,maximize"; source: "e";
|
|
|
|
// }
|
|
|
|
// program {
|
|
|
|
// signal: "e,action,unmaximize"; source: "e";
|
|
|
|
// }
|
|
|
|
// program {
|
|
|
|
// signal: "e,action,maximize,fullscreen"; source: "e";
|
|
|
|
// }
|
|
|
|
// program {
|
|
|
|
// signal: "e,action,unmaximize,fullscreen"; source: "e";
|
|
|
|
// }
|
|
|
|
program {
|
|
|
|
signal: "e,action,maximize*"; source: "e";
|
|
|
|
action: STATE_SET "max" 0.0;
|
|
|
|
target: "e.swallow.client";
|
|
|
|
target: "bottom";
|
|
|
|
target: "bevel2";
|
|
|
|
target: "e.event.resize.bl";
|
|
|
|
target: "e.event.resize.b";
|
|
|
|
target: "e.event.resize.br";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "e,action,unmaximize*"; source: "e";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "e.swallow.client";
|
|
|
|
target: "bottom";
|
|
|
|
target: "bevel2";
|
|
|
|
target: "e.event.resize.bl";
|
|
|
|
target: "e.event.resize.b";
|
|
|
|
target: "e.event.resize.br";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,down,*"; source: "e.event.close";
|
|
|
|
action: STATE_SET "selected" 0.0;
|
|
|
|
target: "close1";
|
|
|
|
target: "close2";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,up,*"; source: "e.event.close";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "close1";
|
|
|
|
target: "close2";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,down,*"; source: "e.event.maximize";
|
|
|
|
action: STATE_SET "selected" 0.0;
|
|
|
|
target: "max1";
|
|
|
|
target: "max2";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,up,*"; source: "e.event.maximize";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "max1";
|
|
|
|
target: "max2";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,down,*"; source: "e.event.minimize";
|
|
|
|
action: STATE_SET "selected" 0.0;
|
|
|
|
target: "min1";
|
|
|
|
target: "min2";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,up,*"; source: "e.event.minimize";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "min1";
|
|
|
|
target: "min2";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "e/widgets/border/sparkle/border";
|
|
|
|
inherit: "e/widgets/border/default/border";
|
|
|
|
images.image: "vgrad_med_lighter_sparkle.png" COMP;
|
|
|
|
images.image: "vgrad_med_dark_sparkle.png" COMP;
|
|
|
|
script {
|
|
|
|
public in_x, in_y, locked = 0;
|
|
|
|
}
|
|
|
|
parts {
|
|
|
|
part { name: "top";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "vgrad_med_lighter_sparkle.png";
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
image.normal: "vgrad_med_dark_sparkle.png";
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "proxy"; type: PROXY; mouse_events: 0;
|
|
|
|
insert_after: "top";
|
|
|
|
description { state: "default";
|
|
|
|
source: "top";
|
2015-10-15 13:35:46 -07:00
|
|
|
proxy.source_clip: 0;
|
|
|
|
proxy.source_visible: 0;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.to: "top";
|
|
|
|
rel2.to: "top";
|
|
|
|
fill.smooth: 0;
|
|
|
|
TILED_HORIZ(120)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "bevel";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "proxy";
|
|
|
|
rel2.to: "proxy";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.text.title";
|
|
|
|
effect: GLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color3: 255 255 255 222;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "title2";
|
|
|
|
effect: OUTLINE_SHADOW;
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
color3: 0 0 0 255;
|
|
|
|
}
|
|
|
|
}
|
2015-10-15 13:35:46 -07:00
|
|
|
part { "clip1";
|
|
|
|
desc { "default";
|
|
|
|
rel1.to: "";
|
|
|
|
rel1.offset: -9999 -9999;
|
|
|
|
rel2.to: "";
|
|
|
|
rel2.offset: 9999 9999;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { "clip2";
|
|
|
|
desc { "default";
|
|
|
|
rel1.to: "";
|
|
|
|
rel1.offset: -9999 -9999;
|
|
|
|
rel2.to: "";
|
|
|
|
rel2.offset: 9999 9999;
|
|
|
|
}
|
|
|
|
desc { "focused";
|
|
|
|
rel1.to: "";
|
|
|
|
rel1.offset: -9999 -9999;
|
|
|
|
rel2.to: "";
|
|
|
|
rel2.offset: 9999 9999;
|
|
|
|
}
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
part { name: "e.event.icon";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "proxy";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.close";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel2.to: "proxy";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "shine";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "events"; type: RECT; repeat_events: 1;
|
|
|
|
description { state: "default";
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program { name: "in";
|
|
|
|
signal: "mouse,in"; source: "events";
|
|
|
|
|
|
|
|
script {
|
|
|
|
new mx, my;
|
|
|
|
|
|
|
|
get_mouse(mx, my);
|
|
|
|
set_int(in_x, mx);
|
|
|
|
set_int(in_y, my);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "out";
|
|
|
|
signal: "mouse,out"; source: "events";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "proxy";
|
|
|
|
transition: LINEAR 0.2;
|
|
|
|
}
|
|
|
|
program { name: "anim";
|
|
|
|
signal: "mouse,move"; source: "events";
|
|
|
|
script {
|
|
|
|
new mx, my;
|
|
|
|
|
|
|
|
if (get_int(locked) != 1) {
|
|
|
|
get_mouse(mx, my);
|
|
|
|
custom_state(PART:"proxy", "default", 0.0);
|
|
|
|
set_state_val(PART:"proxy", STATE_REL1_OFFSET, get_int(in_x) - mx, 0);
|
|
|
|
set_state_val(PART:"proxy", STATE_REL2_OFFSET, get_int(in_x) - mx, 0);
|
|
|
|
set_state(PART:"proxy", "custom", 0.0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "lock";
|
|
|
|
after: "out";
|
|
|
|
script {
|
|
|
|
set_int(locked, 1);
|
|
|
|
set_int(in_x, 0);
|
|
|
|
set_int(in_y, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "unlock";
|
|
|
|
script {
|
|
|
|
set_int(locked, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,down,1"; source: "e.event.resize.tr";
|
|
|
|
after: "lock";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,down,1"; source: "e.event.resize.t";
|
|
|
|
after: "lock";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,down,1"; source: "e.event.resize.tl";
|
|
|
|
after: "lock";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,down,1"; source: "e.event.resize.br";
|
|
|
|
after: "lock";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,down,1"; source: "e.event.resize.b";
|
|
|
|
after: "lock";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,down,1"; source: "e.event.resize.bl";
|
|
|
|
after: "lock";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,up,1"; source: "e.event.resize.tr";
|
|
|
|
after: "unlock";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,up,1"; source: "e.event.resize.t";
|
|
|
|
after: "unlock";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,up,1"; source: "e.event.resize.tl";
|
|
|
|
after: "unlock";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,up,1"; source: "e.event.resize.br";
|
|
|
|
after: "unlock";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,up,1"; source: "e.event.resize.b";
|
|
|
|
after: "unlock";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,up,1"; source: "e.event.resize.bl";
|
|
|
|
after: "unlock";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "e/widgets/border/dialog/border";
|
2014-04-02 07:30:51 -07:00
|
|
|
alias: "e/widgets/border/modal/border";
|
2013-10-17 00:34:36 -07:00
|
|
|
inherit: "e/widgets/border/default/border";
|
|
|
|
parts {
|
|
|
|
part { name: "max1";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
max: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
max: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "min1";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
max: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
max: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "max2";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
max: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
max: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "min2";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
max: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
max: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.titlebar";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel2.to_x: "e.event.close";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.maximize";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
max: 0 0;
|
|
|
|
aspect: 0.0 0.0;
|
|
|
|
visible: 0;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.minimize";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
max: 0 0;
|
|
|
|
aspect: 0.0 0.0;
|
|
|
|
visible: 0;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "e/widgets/border/noresize/border";
|
|
|
|
inherit: "e/widgets/border/default/border";
|
|
|
|
parts {
|
2013-12-01 11:24:48 -08:00
|
|
|
part { name: "e.swallow.client"; type: SWALLOW;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "bottom"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel1.offset: 0 -1;
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
min: 0 0;
|
|
|
|
fixed: 0 1;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "bevel2";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.bl";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.b";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.br";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "e/widgets/border/noresize_dialog/border";
|
|
|
|
inherit: "e/widgets/border/dialog/border";
|
|
|
|
parts {
|
|
|
|
part { name: "e.swallow.client"; type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "bottom"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel1.offset: 0 -1;
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
min: 0 0;
|
|
|
|
fixed: 0 1;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "bevel2";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.bl";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.b";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.br";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
min: 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "e/widgets/border/pixel/border";
|
|
|
|
parts {
|
|
|
|
part { name: "client_clip"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to_y: "e.swallow.client";
|
|
|
|
rel2.to_y: "e.swallow.client";
|
|
|
|
}
|
|
|
|
}
|
2013-12-01 11:24:48 -08:00
|
|
|
part { name: "e.swallow.client"; type: SWALLOW;
|
2013-10-17 00:34:36 -07:00
|
|
|
clip_to: "client_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.offset: 1 1;
|
|
|
|
rel2.offset: -2 -2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "top"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 255;
|
|
|
|
align: 0.0 0.0;
|
|
|
|
max: 99999 1;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 51 153 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "bottom"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 255;
|
|
|
|
align: 0.0 1.0;
|
|
|
|
max: 99999 1;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 51 153 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "left"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 255;
|
|
|
|
align: 0.0 0.0;
|
|
|
|
max: 1 99999;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 51 153 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "right"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 255;
|
|
|
|
align: 1.0 0.0;
|
|
|
|
max: 1 99999;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 51 153 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.tl"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel2.relative: 0.0 0.0;
|
|
|
|
min: 32 4;
|
|
|
|
align: 0.0 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.t"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.to_x: "e.event.resize.tl";
|
|
|
|
rel2.relative: 0.0 0.0;
|
|
|
|
rel2.to_x: "e.event.resize.tr";
|
|
|
|
min: 0 4;
|
|
|
|
align: 0.5 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.tr"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
min: 32 4;
|
|
|
|
align: 1.0 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.bl"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
min: 32 5;
|
|
|
|
align: 0.0 1.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.b"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 1.0 1.0;
|
|
|
|
rel1.to_x: "e.event.resize.tl";
|
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
rel2.to_x: "e.event.resize.tr";
|
|
|
|
min: 0 5;
|
|
|
|
align: 0.5 1.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
fixed: 0 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.br"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 1.0 1.0;
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
min: 32 5;
|
|
|
|
align: 1.0 1.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program {
|
|
|
|
signal: "e,state,focused"; source: "e";
|
|
|
|
action: STATE_SET "focused" 0.0;
|
|
|
|
target: "top";
|
|
|
|
target: "bottom";
|
|
|
|
target: "left";
|
|
|
|
target: "right";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "e,state,unfocused"; source: "e";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "top";
|
|
|
|
target: "bottom";
|
|
|
|
target: "left";
|
|
|
|
target: "right";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "e/widgets/border/default/move";
|
|
|
|
images.image: "vgrad_tall.png" COMP;
|
|
|
|
images.image: "bevel_out.png" COMP;
|
|
|
|
images.image: "shine.png" COMP;
|
|
|
|
images.image: "ic_win_move.png" COMP;
|
|
|
|
parts {
|
|
|
|
part { name: "bg"; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "vgrad_tall.png";
|
|
|
|
fill.smooth: 0;
|
|
|
|
TILED_HORIZ(40)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "bevel"; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "bevel_out.png";
|
|
|
|
image.border: 1 1 1 1;
|
|
|
|
image.middle: 0;
|
|
|
|
fill.smooth: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "icon";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
FIXED_SIZE(21, 21)
|
|
|
|
rel1.offset: 2 2;
|
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
rel2.offset: 2 -3;
|
|
|
|
image.normal: "ic_win_move.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.text.label"; type: TEXT;
|
|
|
|
effect: SHADOW BOTTOM;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to_x: "icon";
|
|
|
|
rel1.offset: 4 4;
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel2.offset: -5 -5;
|
|
|
|
color_class: "move_text";
|
2014-03-05 01:22:17 -08:00
|
|
|
color3: 255 255 255 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
text { font: FN; size: 10;
|
|
|
|
min: 1 1;
|
2014-04-24 13:08:19 -07:00
|
|
|
ellipsis: -1;
|
2013-10-17 00:34:36 -07:00
|
|
|
text_class: "move_text";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "shine"; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "shine.png";
|
|
|
|
rel1.offset: 0 -2;
|
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
rel2.offset: -1 2;
|
|
|
|
FIXED_SIZE(69, 5)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "e/widgets/border/default/resize";
|
|
|
|
inherit: "e/widgets/border/default/move";
|
|
|
|
images.image: "ic_win_resize.png" COMP;
|
|
|
|
parts {
|
|
|
|
part { name: "icon";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "ic_win_resize.png";
|
|
|
|
}
|
|
|
|
}
|
2014-03-05 01:22:17 -08:00
|
|
|
part { name: "e.text.label"; type: TEXT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color_class: "resize_text";
|
|
|
|
color3: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|