2024-02-04 03:54:51 -08:00
|
|
|
// Define this to enable a demo title blur
|
|
|
|
//#define BLUR_TITLE 1
|
|
|
|
// Define this to enable a demo blue behind everythnig - conflicts with title
|
|
|
|
//#define BLUR_BEHIND 1
|
|
|
|
|
|
|
|
// Some values used if blur is enabled
|
|
|
|
#define BLUR_FORCE_ALPHA 160
|
|
|
|
#define BLUR_TITLE_AMOUNT "32"
|
|
|
|
#define BLUR_BEHIND_AMOUNT "32"
|
|
|
|
|
2016-10-15 05:02:17 -07:00
|
|
|
group { name: "e/widgets/border/volume";
|
2021-03-27 08:02:13 -07:00
|
|
|
images.image: "shadow_circle_vert.png" COMP;
|
2016-10-15 05:02:17 -07:00
|
|
|
parts {
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "base"; type: RECT;
|
2016-10-15 05:02:17 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2016-10-15 05:02:17 -07:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "bg"; type: RECT;
|
2016-10-15 05:02:17 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
fixed: 1 1;
|
2021-05-14 11:18:06 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "e.swallow.volume";
|
|
|
|
rel2.to_x: "clip";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "clip"; type: RECT;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "e.swallow.volume";
|
|
|
|
align: 0.0 0.5;
|
|
|
|
max: 0 999999;
|
2016-10-15 05:02:17 -07:00
|
|
|
}
|
|
|
|
description { state: "show" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "e.swallow.volume";
|
|
|
|
max: 999999 999999;
|
|
|
|
rel2.offset: 3 -1;
|
|
|
|
offscale;
|
2016-10-15 05:02:17 -07:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "e.swallow.volume_icon"; type: SWALLOW;
|
2016-10-15 05:02:17 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "base";
|
2016-10-15 05:02:17 -07:00
|
|
|
rel1.relative: 0.15 0.15;
|
|
|
|
rel2.relative: 0.85 0.85;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "e.swallow.volume"; type: SWALLOW;
|
2016-10-15 05:02:17 -07:00
|
|
|
clip_to: "clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.to_x: "e.swallow.volume_icon";
|
2016-10-15 05:02:17 -07:00
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.offset: 1 0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.to_x: "e.swallow.volume_icon";
|
2016-10-15 05:02:17 -07:00
|
|
|
align: 0.0 0.5;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "sh_right"; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
clip_to: "clip";
|
2016-10-15 05:02:17 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
fixed: 1 1;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/shadow/normal/border/volume";
|
|
|
|
rel.to_y: "base";
|
|
|
|
rel.to_x: "bg";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.offset: -16 0;
|
|
|
|
rel2.offset: 15 -1;
|
|
|
|
image.normal: "shadow_circle_vert.png";
|
|
|
|
offscale;
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color_class: "/shadow/selected/border/volume";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
part { name: "event"; type: RECT; repeat_events: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "base";
|
2021-05-14 11:18:06 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2016-10-15 05:02:17 -07:00
|
|
|
}
|
|
|
|
description { state: "large" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel2.to: "e.swallow.volume";
|
|
|
|
rel2.offset: 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "e,state,focused"; source: "e";
|
|
|
|
action: STATE_SET "focused" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
target: "sh_right";
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
program { signal: "e,state,unfocused"; source: "e";
|
|
|
|
action: STATE_SET "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
target: "sh_right";
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
program { signal: "mouse,in"; source: "event";
|
2016-10-15 05:02:17 -07:00
|
|
|
action: ACTION_STOP;
|
|
|
|
target: "hide_volume1";
|
|
|
|
target: "hide_volume2";
|
|
|
|
after: "show_volume1";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { name: "show_volume1";
|
2016-10-15 05:02:17 -07:00
|
|
|
action: STATE_SET "large" 0.0;
|
|
|
|
target: "event";
|
|
|
|
after: "show_volume2";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { name: "show_volume2";
|
2016-10-15 05:02:17 -07:00
|
|
|
action: STATE_SET "show" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
transition: SINUSOIDAL 0.3 USE_DURATION_FACTOR 1;
|
2016-10-15 05:02:17 -07:00
|
|
|
target: "clip";
|
|
|
|
}
|
|
|
|
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "mouse,out"; source: "event";
|
2016-10-15 05:02:17 -07:00
|
|
|
action: ACTION_STOP;
|
|
|
|
target: "show_volume1";
|
|
|
|
target: "show_volume2";
|
|
|
|
after: "hide_volume1";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { name: "hide_volume1";
|
2016-10-15 05:02:17 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
transition: SINUSOIDAL 0.5 USE_DURATION_FACTOR 1;
|
2016-10-15 05:02:17 -07:00
|
|
|
target: "clip";
|
|
|
|
after: "hide_volume2";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { name: "hide_volume2";
|
2016-10-15 05:02:17 -07:00
|
|
|
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";
|
2021-03-27 08:02:13 -07:00
|
|
|
|
|
|
|
IMAGE_RING("ringa", 160)
|
|
|
|
IMAGE_RING("ringb", 160)
|
|
|
|
IMAGE_RING("ringc", 160)
|
|
|
|
|
|
|
|
images.image: "win_shad_flat.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;
|
2021-05-14 11:18:06 -07:00
|
|
|
clip_to: "shadow_clip2";
|
2014-02-05 10:32:29 -08:00
|
|
|
description { state: "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "_sh1";
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/shadow/normal/border";
|
|
|
|
}
|
|
|
|
description { state: "focused";
|
|
|
|
inherit: "default";
|
|
|
|
color_class: "/shadow/selected/border";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "shadow_clip2"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default";
|
|
|
|
rel.to: "shadow_clip";
|
2014-02-05 10:32:29 -08:00
|
|
|
}
|
|
|
|
description { state: "hidden";
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "shadow_base"; type: SPACER;
|
2014-02-05 10:32:29 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "top";
|
|
|
|
rel2.to: "bottom";
|
|
|
|
}
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
WIN_SHAD("shadow_base", "shadow_clip", "win_shad_flat.png", 21, 21, 14, 28, 0.5)
|
2024-02-04 03:54:51 -08:00
|
|
|
#ifdef BLUR_BEHIND
|
|
|
|
snapshot { name: "title-blur"; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "top";
|
|
|
|
rel2.to: "bottom";
|
|
|
|
filter.code: "padding_set { 0 } blur { "BLUR_BEHIND_AMOUNT", color = '#ffff' }";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
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.to_y: "top";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.relative: 0.0 1.0;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.to_y: "bottom";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.relative: 1.0 0.0;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2024-02-04 03:54:51 -08:00
|
|
|
#ifdef BLUR_TITLE
|
|
|
|
snapshot { name: "title-blur"; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "top";
|
|
|
|
filter.code: "padding_set { 0 } blur { "BLUR_TITLE_AMOUNT", color = '#ffff' }";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "top"; type: RECT; mouse_events: 0;
|
2013-10-17 00:34:36 -07:00
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.to_y: "e.text.title";
|
|
|
|
rel2.offset: -1 2;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/bg/normal/titlebar";
|
2024-02-04 03:54:51 -08:00
|
|
|
#if defined(BLUR_TITLE) || defined(BLUR_BEHIND)
|
|
|
|
color: 255 255 255 BLUR_FORCE_ALPHA;
|
|
|
|
#endif
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/bg/selected/titlebar";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "e.text.title"; type: TEXT; mouse_events: 0;
|
2013-10-17 00:34:36 -07:00
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 1.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 1 4;
|
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;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: -2 4;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.to_x: "e.event.minimize";
|
|
|
|
align: 0.5 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/normal/titlebar";
|
2021-03-27 08:02:13 -07:00
|
|
|
min: 0 16;
|
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;
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/selected/titlebar";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "icon"; type: SPACER;
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "e.event.icon";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
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;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "icon";
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.relative: 0.15 0.15;
|
|
|
|
rel2.relative: 0.85 0.85;
|
|
|
|
rel2.offset: 0 0;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "busy_area"; type: SPACER;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
2021-03-27 08:02:13 -07:00
|
|
|
max: 160 160;
|
|
|
|
rel1.relative: -0.2 -0.2;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.to: "e.event.icon";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.relative: 1.2 1.2;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.to: "e.event.icon";
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
BUSY("busy_area", "e,state,hung", "e", "e,state,unhung", "e")
|
2013-10-17 00:34:36 -07:00
|
|
|
part { name: "clip1"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "top";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "clip2"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "top";
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "close1"; mouse_events: 0;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-close";
|
|
|
|
rel.to: "e.event.close";
|
|
|
|
min: 15 15; max: 15 15;
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 1;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/normal/titlebar/buttons/close";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/selected/titlebar/buttons/close";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "max1"; mouse_events: 0;
|
|
|
|
clip_to: "clip1";
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-arrow-u";
|
|
|
|
rel.to: "e.event.maximize";
|
|
|
|
min: 15 15; max: 15 15;
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 1;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/normal/titlebar/buttons/maximize";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/selected/titlebar/buttons/maximize";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "min1"; mouse_events: 0;
|
|
|
|
clip_to: "clip1";
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-arrow-d";
|
|
|
|
rel.to: "e.event.minimize";
|
|
|
|
min: 15 15; max: 15 15;
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 1;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/normal/titlebar/buttons/minimize";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/selected/titlebar/buttons/minimize";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "close2"; mouse_events: 0;
|
|
|
|
clip_to: "clip2";
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-close";
|
|
|
|
rel.to: "e.event.close";
|
|
|
|
min: 15 15; max: 15 15;
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 1;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/selected/titlebar/buttons/close";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/selected-pressed/titlebar/buttons/close";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "max2"; mouse_events: 0;
|
|
|
|
clip_to: "clip2";
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-arrow-u";
|
|
|
|
rel.to: "e.event.maximize";
|
|
|
|
min: 15 15; max: 15 15;
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 1;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/selected/titlebar/buttons/maximize";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/selected-pressed/titlebar/buttons/maximize";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "min2"; mouse_events: 0;
|
|
|
|
clip_to: "clip2";
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-arrow-d";
|
|
|
|
rel.to: "e.event.minimize";
|
|
|
|
min: 15 15; max: 15 15;
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 1;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/selected/titlebar/buttons/minimize";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/selected-pressed/titlebar/buttons/minimize";
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
part { name: "e.event.titlebar"; type: RECT;
|
2017-03-17 10:16:53 -07:00
|
|
|
description { rel.to: "top";
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.tl"; type: RECT;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "top";
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 0.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: 31 3;
|
2022-02-24 10:36:37 -08:00
|
|
|
min: RSZMINW RSZMINH;
|
2021-03-27 08:02:13 -07:00
|
|
|
align: 1.0 1.0;
|
2022-02-24 10:36:37 -08:00
|
|
|
color: RSZCOL; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
fixed: 1 1;
|
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.t"; type: RECT;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 1.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.to: "e.event.resize.tl";
|
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
rel2.to: "e.event.resize.tr";
|
2022-02-24 10:36:37 -08:00
|
|
|
min: 0 RSZMINH;
|
2021-03-27 08:02:13 -07:00
|
|
|
align: 0.5 1.0;
|
2022-02-24 10:36:37 -08:00
|
|
|
color: RSZCOL2; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
fixed: 1 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.tr"; type: RECT;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "top";
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.relative: 1.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: -32 0;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 1.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: -1 3;
|
2022-02-24 10:36:37 -08:00
|
|
|
min: RSZMINW RSZMINH;
|
2021-03-27 08:02:13 -07:00
|
|
|
align: 0.0 1.0;
|
2022-02-24 10:36:37 -08:00
|
|
|
color: RSZCOL; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
fixed: 1 1;
|
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "bottom"; type: RECT; mouse_events: 0;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel2.relative: 1.0 1.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
align: 0.5 1.0;
|
2013-10-17 00:34:36 -07:00
|
|
|
min: 0 5;
|
|
|
|
fixed: 0 1;
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
part { name: "bottom_bar"; type: RECT; mouse_events: 0;
|
|
|
|
clip_to: "bottom";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color_class: "/bg/normal/border";
|
|
|
|
rel.to: "bottom";
|
2024-02-04 03:54:51 -08:00
|
|
|
#if defined(BLUR_BEHIND)
|
|
|
|
color: 255 255 255 BLUR_FORCE_ALPHA;
|
|
|
|
#endif
|
2021-05-14 11:18:06 -07:00
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color_class: "/bg/selected/border";
|
|
|
|
}
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
part { name: "e.event.resize.bl"; type: RECT;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "bottom";
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 0.0 1.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: 31 -1;
|
2022-02-24 10:36:37 -08:00
|
|
|
min: RSZMINW RSZMINH;
|
|
|
|
align: 1.0 0.0;
|
|
|
|
color: RSZCOL; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 1;
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
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;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.to: "e.event.resize.bl";
|
2017-03-17 10:16:53 -07:00
|
|
|
rel1.relative: 1.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.to: "e.event.resize.br";
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 0.0 1.0;
|
2022-02-24 10:36:37 -08:00
|
|
|
min: 0 RSZMINH;
|
|
|
|
align: 0.5 0.0;
|
|
|
|
color: RSZCOL2; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
fixed: 1 1;
|
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
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;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "bottom";
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.offset: -32 0;
|
2022-02-24 10:36:37 -08:00
|
|
|
min: RSZMINW RSZMINH;
|
|
|
|
align: 0.0 0.0;
|
|
|
|
color: RSZCOL; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 1;
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "procstats"; type: RECT;
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to_x: "e.procstats.swallow";
|
|
|
|
rel2.to_x: "e.procstats.swallow";
|
|
|
|
rel1.to_y: "top";
|
|
|
|
rel2.to_y: "top";
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "visible";
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.procstats.swallow"; type: SWALLOW;
|
|
|
|
scale: 1;
|
2020-09-23 16:32:24 -07:00
|
|
|
repeat_events: 1;
|
2020-09-23 11:51:48 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 0;
|
2021-12-31 05:46:47 -08:00
|
|
|
rel.to: "e.event.icon";
|
2020-09-23 11:51:48 -07:00
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel2.relative: 1.0 1.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: 0 -1;
|
2021-03-06 03:05:38 -08:00
|
|
|
align: 0.0 0.5;
|
2020-09-23 11:51:48 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
2021-03-06 03:05:38 -08:00
|
|
|
description { state: "visible";
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
2021-09-07 06:05:21 -07:00
|
|
|
part { name: "e.swallow.volume"; type: SWALLOW;
|
|
|
|
source: "e/widgets/border/volume";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 0;
|
2021-12-31 05:46:47 -08:00
|
|
|
rel1.to_x: "e.event.icon";
|
|
|
|
rel2.to_x: "e.event.icon";
|
|
|
|
rel1.to_y: "top";
|
|
|
|
rel2.to_y: "top";
|
2021-09-07 06:05:21 -07:00
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
rel2.offset: 0 -1;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
|
|
|
}
|
2021-12-31 05:46:47 -08:00
|
|
|
description { state: "visible";
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel.to_x: "e.procstats.swallow";
|
|
|
|
}
|
2021-09-07 06:05:21 -07:00
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
programs {
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "e,version,22"; source: "e";
|
2017-06-16 12:03:09 -07:00
|
|
|
script {
|
|
|
|
set_pointer_mode(PART:"e.event.titlebar", 1);
|
|
|
|
set_pointer_mode(PART:"e.event.resize.tl", 1);
|
|
|
|
set_pointer_mode(PART:"e.event.resize.t", 1);
|
|
|
|
set_pointer_mode(PART:"e.event.resize.tr", 1);
|
|
|
|
set_pointer_mode(PART:"e.event.resize.bl", 1);
|
|
|
|
set_pointer_mode(PART:"e.event.resize.b", 1);
|
|
|
|
set_pointer_mode(PART:"e.event.resize.br", 1);
|
|
|
|
}
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "e,state,shadow,on"; source: "e";
|
2014-02-05 10:32:29 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
target: "shadow_clip2";
|
2014-02-05 10:32:29 -08:00
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "e,state,shadow,off"; source: "e";
|
2014-02-05 10:32:29 -08:00
|
|
|
action: STATE_SET "hidden" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
target: "shadow_clip2";
|
2014-02-05 10:32:29 -08:00
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "e,state,focused"; source: "e";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "focused" 0.0;
|
|
|
|
target: "top";
|
2021-05-14 11:18:06 -07:00
|
|
|
target: "bottom_bar";
|
|
|
|
target: "shadow_clip";
|
2013-10-17 00:34:36 -07:00
|
|
|
target: "e.text.title";
|
|
|
|
target: "clip1";
|
|
|
|
target: "clip2";
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "e,state,unfocused"; source: "e";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "top";
|
2021-05-14 11:18:06 -07:00
|
|
|
target: "bottom_bar";
|
|
|
|
target: "shadow_clip";
|
2013-10-17 00:34:36 -07:00
|
|
|
target: "e.text.title";
|
|
|
|
target: "clip1";
|
|
|
|
target: "clip2";
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "e,state,urgent"; source: "e";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "bounce1" 0.0;
|
|
|
|
target: "icon";
|
|
|
|
after: "urg1";
|
|
|
|
}
|
|
|
|
program { name: "urg1";
|
|
|
|
action: STATE_SET "bounce2" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
transition: DECELERATE 0.4 USE_DURATION_FACTOR 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
target: "icon";
|
|
|
|
after: "urg2";
|
|
|
|
}
|
|
|
|
program { name: "urg2";
|
|
|
|
action: STATE_SET "bounce1" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
transition: ACCELERATE 0.3 USE_DURATION_FACTOR 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
target: "icon";
|
|
|
|
after: "urg1";
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "e,state,not_urgent"; source: "e";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "icon";
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "e,state,shaded"; source: "e";
|
2014-02-05 10:32:29 -08:00
|
|
|
action: STATE_SET "shaded" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "shadow_base";
|
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: "e.event.resize.bl";
|
|
|
|
target: "e.event.resize.b";
|
|
|
|
target: "e.event.resize.br";
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "e,state,unshaded"; source: "e";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "bottom";
|
|
|
|
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";
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "shadow_base";
|
2013-10-17 00:34:36 -07:00
|
|
|
target: "client_clip";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "e,state,procstats,on"; source: "e";
|
2021-03-06 03:05:38 -08:00
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
target: "e.procstats.swallow";
|
2021-12-31 05:46:47 -08:00
|
|
|
target: "e.swallow.volume";
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "procstats";
|
2020-09-23 11:51:48 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "e,state,procstats,off"; source: "e";
|
|
|
|
action: STATE_SET "default" 0.0;
|
2021-03-06 03:05:38 -08:00
|
|
|
target: "e.procstats.swallow";
|
2021-12-31 05:46:47 -08:00
|
|
|
target: "e.swallow.volume";
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "procstats";
|
2020-09-23 11:51:48 -07:00
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
// 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";
|
|
|
|
// }
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "e,action,maximize*"; source: "e";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "max" 0.0;
|
|
|
|
target: "e.swallow.client";
|
|
|
|
target: "bottom";
|
|
|
|
target: "e.event.resize.bl";
|
|
|
|
target: "e.event.resize.b";
|
|
|
|
target: "e.event.resize.br";
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "e,action,unmaximize*"; source: "e";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "e.swallow.client";
|
|
|
|
target: "bottom";
|
|
|
|
target: "e.event.resize.bl";
|
|
|
|
target: "e.event.resize.b";
|
|
|
|
target: "e.event.resize.br";
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "mouse,down,*"; source: "e.event.close";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "selected" 0.0;
|
|
|
|
target: "close1";
|
|
|
|
target: "close2";
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "mouse,up,*"; source: "e.event.close";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "close1";
|
|
|
|
target: "close2";
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "mouse,down,*"; source: "e.event.maximize";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "selected" 0.0;
|
|
|
|
target: "max1";
|
|
|
|
target: "max2";
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "mouse,up,*"; source: "e.event.maximize";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "max1";
|
|
|
|
target: "max2";
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "mouse,down,*"; source: "e.event.minimize";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "selected" 0.0;
|
|
|
|
target: "min1";
|
|
|
|
target: "min2";
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "mouse,up,*"; source: "e.event.minimize";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "min1";
|
|
|
|
target: "min2";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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: "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: "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;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/bg/normal/border/outline";
|
2013-10-17 00:34:36 -07:00
|
|
|
align: 0.0 0.0;
|
|
|
|
max: 99999 1;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/bg/selected/border/outline";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "bottom"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/bg/normal/border/outline";
|
2013-10-17 00:34:36 -07:00
|
|
|
align: 0.0 1.0;
|
|
|
|
max: 99999 1;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/bg/selected/border/outline";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "left"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/bg/normal/border/outline";
|
2013-10-17 00:34:36 -07:00
|
|
|
align: 0.0 0.0;
|
|
|
|
max: 1 99999;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/bg/selected/border/outline";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "right"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/bg/normal/border/outline";
|
2013-10-17 00:34:36 -07:00
|
|
|
align: 1.0 0.0;
|
|
|
|
max: 1 99999;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/bg/selected/border/outline";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
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;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
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;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "e,state,focused"; source: "e";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "focused" 0.0;
|
|
|
|
target: "top";
|
|
|
|
target: "bottom";
|
|
|
|
target: "left";
|
|
|
|
target: "right";
|
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "e,state,unfocused"; source: "e";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "top";
|
|
|
|
target: "bottom";
|
|
|
|
target: "left";
|
|
|
|
target: "right";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-27 08:02:13 -07:00
|
|
|
group { name: "e/widgets/border/tiling/border";
|
|
|
|
images.image: "win_shad_flat.png" COMP;
|
|
|
|
data.item: "shadow" "1";
|
2013-10-17 00:34:36 -07:00
|
|
|
parts {
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "shadow_clip"; type: RECT; mouse_events: 0;
|
2021-05-14 11:18:06 -07:00
|
|
|
clip_to: "shadow_clip2";
|
2021-03-27 08:02:13 -07:00
|
|
|
description { state: "default";
|
|
|
|
rel.to: "_sh1";
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/shadow/normal/border";
|
|
|
|
}
|
|
|
|
description { state: "focused";
|
|
|
|
inherit: "default";
|
|
|
|
color_class: "/shadow/selected/border";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "shadow_clip2"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default";
|
|
|
|
rel.to: "shadow_clip";
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
description { state: "hidden";
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "shadow_base"; type: SPACER;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "top";
|
|
|
|
rel2.to: "bottom";
|
|
|
|
}
|
|
|
|
description { state: "shaded";
|
|
|
|
inherit: "default";
|
|
|
|
rel2.to: "e.swallow.client";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
WIN_SHAD("shadow_base", "shadow_clip", "win_shad_flat.png", 21, 21, 14, 28, 0.5)
|
|
|
|
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";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.swallow.client"; type: SWALLOW;
|
|
|
|
clip_to: "client_clip";
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "top"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/bg/selected/border/outline";
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
align: 0.0 0.0;
|
|
|
|
rel1.offset: -1 -1;
|
|
|
|
rel2.offset: 0 0;
|
|
|
|
max: 99999 1;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 255 255 255 255; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "bottom"; type: RECT;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/bg/selected/border/outline";
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
align: 0.0 1.0;
|
|
|
|
rel1.offset: -1 -1;
|
|
|
|
rel2.offset: 0 0;
|
|
|
|
max: 99999 1;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 255 255 255 255; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "left"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/bg/selected/border/outline";
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
align: 0.0 0.0;
|
|
|
|
rel1.offset: -1 -1;
|
|
|
|
rel2.offset: 0 0;
|
|
|
|
max: 1 99999;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 255 255 255 255; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "right"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/bg/selected/border/outline";
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
align: 1.0 0.0;
|
|
|
|
rel1.offset: -1 -1;
|
|
|
|
rel2.offset: 0 0;
|
|
|
|
max: 1 99999;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 255 255 255 255; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.event.resize.tl"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel2.relative: 0.0 0.0;
|
|
|
|
min: 32 4;
|
|
|
|
rel1.offset: -1 -1;
|
|
|
|
rel2.offset: 0 0;
|
|
|
|
align: 0.0 0.0;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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";
|
|
|
|
rel1.offset: -1 -1;
|
|
|
|
rel2.offset: 0 0;
|
|
|
|
min: 0 4;
|
|
|
|
align: 0.5 0.0;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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;
|
|
|
|
rel1.offset: -1 -1;
|
|
|
|
rel2.offset: 0 0;
|
|
|
|
align: 1.0 0.0;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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;
|
|
|
|
rel1.offset: -1 -1;
|
|
|
|
rel2.offset: 0 0;
|
|
|
|
align: 0.0 1.0;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
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";
|
|
|
|
rel1.offset: -1 -1;
|
|
|
|
rel2.offset: 0 0;
|
|
|
|
min: 0 5;
|
|
|
|
align: 0.5 1.0;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
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;
|
|
|
|
rel1.offset: -1 -1;
|
|
|
|
rel2.offset: 0 0;
|
|
|
|
min: 32 5;
|
|
|
|
align: 1.0 1.0;
|
2021-05-25 09:56:08 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "e,state,shadow,on"; source: "e";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "shadow_clip2";
|
|
|
|
}
|
|
|
|
program { signal: "e,state,shadow,off"; source: "e";
|
|
|
|
action: STATE_SET "hidden" 0.0;
|
|
|
|
target: "shadow_clip2";
|
|
|
|
}
|
|
|
|
program { signal: "e,state,focused"; source: "e";
|
2021-03-27 08:02:13 -07:00
|
|
|
action: STATE_SET "focused" 0.0;
|
|
|
|
target: "top";
|
|
|
|
target: "bottom";
|
|
|
|
target: "left";
|
|
|
|
target: "right";
|
2021-05-14 11:18:06 -07:00
|
|
|
target: "shadow_clip";
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
2021-05-14 11:18:06 -07:00
|
|
|
program { signal: "e,state,unfocused"; source: "e";
|
2021-03-27 08:02:13 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "top";
|
|
|
|
target: "bottom";
|
|
|
|
target: "left";
|
|
|
|
target: "right";
|
2021-05-14 11:18:06 -07:00
|
|
|
target: "shadow_clip";
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "e/widgets/border/default/move";
|
|
|
|
parts {
|
|
|
|
part { name: "bg"; type: RECT; mouse_events: 0;
|
2021-03-27 17:39:44 -07:00
|
|
|
scale: 1;
|
2021-03-27 08:02:13 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/bg/normal/border/move";
|
2021-03-27 17:39:44 -07:00
|
|
|
min: 120 38;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "icon";
|
2021-03-27 17:39:44 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
align: 0.0 0.5;
|
2021-03-27 17:39:44 -07:00
|
|
|
fixed: 1 1;
|
|
|
|
FIXED_SIZE(30, 30)
|
|
|
|
rel1.offset: 4 4;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 0.0 1.0;
|
2021-03-27 17:39:44 -07:00
|
|
|
rel2.offset: 4 -5;
|
|
|
|
image.normal: "i-move";
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/normal/border/move";
|
2021-03-27 17:39:44 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.text.label"; type: TEXT;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 17:39:44 -07:00
|
|
|
rel1.relative: 1.0 0.0;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.to_x: "icon";
|
|
|
|
rel1.offset: 4 4;
|
|
|
|
rel2.offset: -5 -5;
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/normal/border/move";
|
2021-03-27 17:39:44 -07:00
|
|
|
offscale;
|
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";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "e/widgets/border/default/resize";
|
|
|
|
inherit: "e/widgets/border/default/move";
|
|
|
|
parts {
|
2021-05-14 11:18:06 -07:00
|
|
|
part { name: "bg";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color_class: "/bg/normal/border/resize";
|
|
|
|
}
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
part { name: "icon";
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 17:39:44 -07:00
|
|
|
image.normal: "i-resize";
|
2021-05-14 11:18:06 -07:00
|
|
|
color_class: "/fg/normal/border/resize";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.text.label";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color_class: "/fg/normal/border/resize";
|
2014-03-05 01:22:17 -08:00
|
|
|
}
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|