forked from enlightenment/enlightenment
remove unused edcs from old bnw theme.
SVN revision: 84043
This commit is contained in:
parent
10c88cf222
commit
66ebe51725
|
@ -77,34 +77,9 @@ edc/transitions.edc \
|
|||
edc/winlist.edc \
|
||||
edc/wizard.edc \
|
||||
edc/xkbswitch.edc \
|
||||
edc/O/about.edc \
|
||||
edc/O/backlight.edc \
|
||||
edc/O/battery.edc \
|
||||
edc/O/border.edc \
|
||||
edc/O/border_icons.edc \
|
||||
edc/O/clock.edc \
|
||||
edc/O/colors.edc \
|
||||
edc/O/conf_gad.edc \
|
||||
edc/O/cpufreq.edc \
|
||||
edc/O/cslider.edc \
|
||||
edc/O/desklock.edc \
|
||||
edc/O/edgebindings.edc \
|
||||
edc/O/efm_icons.edc \
|
||||
edc/O/evrything.edc \
|
||||
edc/O/fontpreview.edc \
|
||||
edc/O/gadman.edc \
|
||||
edc/O/ibarbox.edc \
|
||||
edc/O/icons.edc \
|
||||
edc/O/illume_gad.edc \
|
||||
edc/O/init.edc \
|
||||
edc/O/mixer.edc \
|
||||
edc/O/randr.edc \
|
||||
edc/O/spectrum.edc \
|
||||
edc/O/temperature.edc \
|
||||
edc/O/transitions.edc \
|
||||
edc/O/wallpaper.edc \
|
||||
edc/O/winlist.edc \
|
||||
edc/O/wizard.edc \
|
||||
img/add_glow_small.png \
|
||||
img/ball_small_glow_intense.png \
|
||||
img/ball_small_glow.png \
|
||||
|
|
|
@ -71,29 +71,4 @@ collections {
|
|||
#include "edc/O/efm_icons.edc"
|
||||
#include "edc/O/icons.edc"
|
||||
#include "edc/O/wallpaper.edc"
|
||||
//#include "edc/O/border_icons.edc"
|
||||
//#include "edc/O/illume_gad.edc"
|
||||
//#include "edc/O/conf_gad.edc"
|
||||
//#include "edc/O/evrything.edc"
|
||||
//#include "edc/O/battery.edc"
|
||||
//#include "edc/O/mixer.edc"
|
||||
//#include "edc/O/backlight.edc"
|
||||
//#include "edc/O/temperature.edc"
|
||||
//#include "edc/O/cpufreq.edc"
|
||||
//#include "edc/O/gadman.edc"
|
||||
//#include "edc/O/randr.edc"
|
||||
//#include "edc/O/edgebindings.edc"
|
||||
//#include "edc/O/colors.edc"
|
||||
//#include "edc/O/spectrum.edc"
|
||||
//#include "edc/O/cslider.edc"
|
||||
//#include "edc/O/fontpreview.edc"
|
||||
//#include "edc/O/transitions.edc"
|
||||
//#include "edc/O/about.edc"
|
||||
//#include "edc/O/init.edc"
|
||||
//#include "edc/O/ibarbox.edc"
|
||||
//#include "edc/O/wizard.edc"
|
||||
//#include "edc/O/desklock.edc"
|
||||
//#include "edc/O/winlist.edc"
|
||||
//#include "edc/O/border.edc"
|
||||
//#include "edc/O/clock.edc"
|
||||
}
|
||||
|
|
|
@ -1,708 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** ABOUT E ***/
|
||||
/*
|
||||
group {
|
||||
name: "e/widgets/about/main";
|
||||
images {
|
||||
image: "O/vgrad_dark.png" COMP;
|
||||
image: "O/about_top.png" COMP;
|
||||
image: "O/about_mid.png" COMP;
|
||||
image: "O/about_bot.png" COMP;
|
||||
image: "O/dia_botshad.png" COMP;
|
||||
image: "O/topsh.png" COMP;
|
||||
image: "O/logo_white_128.png" COMP;
|
||||
image: "O/bt_base1.png" COMP;
|
||||
image: "O/bt_base2.png" COMP;
|
||||
image: "O/bt_hilight.png" COMP;
|
||||
image: "O/bt_shine.png" COMP;
|
||||
image: "O/bt_glow.png" COMP;
|
||||
}
|
||||
// data.item: "borderless" "1";
|
||||
// data.item: "shaped" "1";
|
||||
styles {
|
||||
style {
|
||||
name: "about_style";
|
||||
base: "font=Sans:style=Bold font_size=10 align=center text_class=tb_plain color=#e0e0e0ff style=soft_shadow shadow_color=#00000020 wrap=word";
|
||||
tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light color=#f00 style=soft_shadow";
|
||||
tag: "title" "+ font_size=12 font=Sans:style=Bold text_class=tb_big style=soft_shadow color=#fff shadow_color=#00000020";
|
||||
tag: "/title" "- \n \n";
|
||||
tag: "br" "\n";
|
||||
}
|
||||
}
|
||||
min: 300 240;
|
||||
max: 640 640;
|
||||
parts {
|
||||
part {
|
||||
name: "sizer";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
min: 300 240;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "about_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
to: "top";
|
||||
relative: 0.0 0.0;
|
||||
offset: 6 0;
|
||||
}
|
||||
rel2 {
|
||||
to: "top";
|
||||
relative: 1.0 1.0;
|
||||
offset: -7 -7;
|
||||
}
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "authors_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
to: "bot";
|
||||
relative: 0.0 0.0;
|
||||
offset: 6 6;
|
||||
}
|
||||
rel2 {
|
||||
to: "bot";
|
||||
relative: 1.0 1.0;
|
||||
offset: -7 -1;
|
||||
}
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "background_image";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image.normal: "O/vgrad_dark.png";
|
||||
fill {
|
||||
smooth: 0;
|
||||
size {
|
||||
relative: 0 1.0;
|
||||
offset: 36 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.textblock.about";
|
||||
type: TEXTBLOCK;
|
||||
mouse_events: 0;
|
||||
clip_to: "about_clip";
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
align: 0.5 0.0;
|
||||
max: 10000 10000;
|
||||
min: 160 0;
|
||||
rel1 {
|
||||
to: "top";
|
||||
relative: 0.0 1.0;
|
||||
offset: 32 -17;
|
||||
}
|
||||
rel2 {
|
||||
to: "top";
|
||||
relative: 1.0 1.0;
|
||||
offset: -33 -17;
|
||||
}
|
||||
text {
|
||||
style: "about_style";
|
||||
min: 0 1;
|
||||
}
|
||||
}
|
||||
description {
|
||||
state: "up" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
align: 0.5 1.0;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: 32 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.0;
|
||||
offset: -33 -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.textblock.authors";
|
||||
type: TEXTBLOCK;
|
||||
mouse_events: 0;
|
||||
clip_to: "authors_clip";
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
align: 0.5 0.0;
|
||||
max: 10000 10000;
|
||||
min: 160 0;
|
||||
rel1 {
|
||||
to: "bot";
|
||||
relative: 0.0 1.0;
|
||||
offset: 32 0;
|
||||
}
|
||||
rel2 {
|
||||
to: "bot";
|
||||
relative: 1.0 1.0;
|
||||
offset: -33 0;
|
||||
}
|
||||
text {
|
||||
style: "about_style";
|
||||
min: 0 1;
|
||||
}
|
||||
}
|
||||
description {
|
||||
state: "up" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
align: 0.5 1.0;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: 32 16;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.0;
|
||||
offset: -33 16;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "top";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image.normal: "O/about_top.png";
|
||||
image.middle: 0;
|
||||
image.border: 28 28 0 28;
|
||||
rel2.to_y: "e.text.title";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -1 6;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "bot";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image.normal: "O/about_bot.png";
|
||||
image.middle: 0;
|
||||
image.border: 28 28 28 0;
|
||||
rel1.to_y: "e.text.title";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 0 -5;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "mid";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image.normal: "O/about_mid.png";
|
||||
rel1 {
|
||||
to: "top";
|
||||
relative: 0.0 1.0;
|
||||
offset: 0 -1;
|
||||
}
|
||||
rel2 {
|
||||
to: "bot";
|
||||
relative: 1.0 0.0;
|
||||
offset: -1 0;
|
||||
}
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.title";
|
||||
type: TEXT;
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 0 0 0 255;
|
||||
align: 1.0 0.5;
|
||||
rel1 {
|
||||
relative: 0.0 0.5;
|
||||
offset: 0 0;
|
||||
}
|
||||
rel2 {
|
||||
to_x: "logo";
|
||||
relative: 0.0 0.5;
|
||||
offset: 11 -1;
|
||||
}
|
||||
text {
|
||||
font: "Sans:style=Bold";
|
||||
size: 10;
|
||||
min: 1 1;
|
||||
align: 1.0 0.5;
|
||||
text_class: "about_title";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.version";
|
||||
type: TEXT;
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 0 0 0 255;
|
||||
align: 0.0 0.5;
|
||||
rel1 {
|
||||
to_x: "logo";
|
||||
relative: 1.0 0.5;
|
||||
offset: -12 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.5;
|
||||
offset: -1 -1;
|
||||
}
|
||||
text {
|
||||
font: "Sans:style=Bold";
|
||||
size: 10;
|
||||
min: 1 1;
|
||||
align: 0.0 0.5;
|
||||
text_class: "about_version";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "shadow";
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image.normal: "O/topsh.png";
|
||||
align: 0.0 0.0;
|
||||
min: 1 16;
|
||||
max: 99999 16;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "shadow2";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 0 -4;
|
||||
image.normal: "O/dia_botshad.png";
|
||||
fill {
|
||||
smooth: 0;
|
||||
size {
|
||||
relative: 0.0 1.0;
|
||||
offset: 64 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "logo";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: VERTICAL;
|
||||
image.normal: "O/logo_white_128.png";
|
||||
rel1 {
|
||||
to: "top";
|
||||
relative: 0.5 1.0;
|
||||
offset: 0 -30;
|
||||
}
|
||||
rel2 {
|
||||
to: "bot";
|
||||
relative: 0.5 0.0;
|
||||
offset: -1 29;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "button_image";
|
||||
mouse_events: 1;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
align: 0.5 1.0;
|
||||
rel1.relative: 0.5 0.98;
|
||||
rel1.offset: 0 -1;
|
||||
rel2.relative: 0.5 0.98;
|
||||
rel2.offset: 0 -1;
|
||||
min: 64 32;
|
||||
max: 64 32;
|
||||
image {
|
||||
normal: "O/bt_base2.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
}
|
||||
description {
|
||||
state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "O/bt_base1.png";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.label";
|
||||
type: TEXT;
|
||||
effect: SOFT_SHADOW;
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
to: "button_image";
|
||||
relative: 0.0 0.0;
|
||||
offset: 3 3;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -4 -4;
|
||||
to: "button_image";
|
||||
}
|
||||
color_class: "button_text";
|
||||
text {
|
||||
text: "Close";
|
||||
font: "Sans";
|
||||
size: 10;
|
||||
min: 1 1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "button";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over1";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
rel2.relative: 1.0 0.5;
|
||||
image {
|
||||
normal: "O/bt_hilight.png";
|
||||
border: 7 7 7 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over2";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
image {
|
||||
normal: "O/bt_shine.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over3";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
visible: 0;
|
||||
color: 255 255 255 0;
|
||||
image {
|
||||
normal: "O/bt_glow.png";
|
||||
border: 12 12 12 12;
|
||||
}
|
||||
fill.smooth : 0;
|
||||
}
|
||||
description {
|
||||
state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "showa";
|
||||
signal: "show";
|
||||
source: "";
|
||||
action: STATE_SET "up" 0.0;
|
||||
transition: LINEAR 45.0;
|
||||
target: "e.textblock.about";
|
||||
after: "showa2";
|
||||
}
|
||||
program {
|
||||
name: "showa2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "e.textblock.about";
|
||||
after: "showa";
|
||||
}
|
||||
program {
|
||||
name: "showb";
|
||||
signal: "show";
|
||||
source: "";
|
||||
action: STATE_SET "up" 0.0;
|
||||
transition: LINEAR 45.0;
|
||||
target: "e.textblock.authors";
|
||||
after: "showb2";
|
||||
}
|
||||
program {
|
||||
name: "showb2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "e.textblock.authors";
|
||||
after: "showb";
|
||||
}
|
||||
program {
|
||||
name: "button_click";
|
||||
signal: "mouse,down,1";
|
||||
source: "button_image";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "button_image";
|
||||
target: "over3";
|
||||
}
|
||||
program {
|
||||
name: "button_unclick";
|
||||
signal: "mouse,up,1";
|
||||
source: "button_image";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "button_image";
|
||||
target: "over3";
|
||||
}
|
||||
program {
|
||||
name: "button_unclick2";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "button_image";
|
||||
action: SIGNAL_EMIT "e,action,close" "";
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** THEME ABOUT ***/
|
||||
|
||||
group {
|
||||
name: "e/theme/about";
|
||||
images {
|
||||
image: "O/silk.png" LOSSY 90;
|
||||
image: "O/topsh.png" COMP;
|
||||
image: "O/bnw.png" COMP;
|
||||
image: "O/bt_base1.png" COMP;
|
||||
image: "O/bt_base2.png" COMP;
|
||||
image: "O/bt_hilight.png" COMP;
|
||||
image: "O/bt_shine.png" COMP;
|
||||
image: "O/bt_glow.png" COMP;
|
||||
}
|
||||
styles {
|
||||
style {
|
||||
name: "theme_about_style";
|
||||
base: "font=Sans:style=Bold font_size=10 align=center color=#e0e0e0ff style=soft_shadow shadow_color=#0000001f wrap=word";
|
||||
tag: "br" "\n";
|
||||
}
|
||||
}
|
||||
// data.item: "borderless" "1";
|
||||
// data.item: "shaped" "1";
|
||||
min: 300 240;
|
||||
max: 640 640;
|
||||
parts {
|
||||
part {
|
||||
name: "background_image";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image.normal: "O/silk.png";
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: NONE;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "shadow";
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image.normal: "O/topsh.png";
|
||||
align: 0.0 0.0;
|
||||
min: 1 16;
|
||||
max: 99999 16;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "logo";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image.normal: "O/bnw.png";
|
||||
align: 0.5 0.05;
|
||||
min: 230 110;
|
||||
max: 460 220;
|
||||
aspect: 2.090909091 2.090909091;
|
||||
aspect_preference: HORIZONTAL;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "about";
|
||||
type: TEXTBLOCK;
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
to_y: "logo";
|
||||
relative: 0.0 1.0;
|
||||
offset: 8 0;
|
||||
}
|
||||
rel2 {
|
||||
to_y: "button_image";
|
||||
offset: -9 -19;
|
||||
relative: 1.0 0.0;
|
||||
}
|
||||
text {
|
||||
style: "theme_about_style";
|
||||
min: 1 1;
|
||||
text:
|
||||
"Smooth as silk<br>"
|
||||
"The default theme for<br>"
|
||||
"Enlightenment<br>"
|
||||
;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "button_image";
|
||||
mouse_events: 1;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
align: 0.5 1.0;
|
||||
rel1.relative: 0.5 0.98;
|
||||
rel1.offset: 0 -1;
|
||||
rel2.relative: 0.5 0.98;
|
||||
rel2.offset: 0 -1;
|
||||
min: 64 32;
|
||||
max: 64 32;
|
||||
image {
|
||||
normal: "O/bt_base2.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
}
|
||||
description {
|
||||
state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "O/bt_base1.png";
|
||||
}
|
||||
}
|
||||
// also have e.text.theme for theme settings
|
||||
part {
|
||||
name: "e.text.label";
|
||||
type: TEXT;
|
||||
effect: SOFT_SHADOW;
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
to: "button_image";
|
||||
relative: 0.0 0.0;
|
||||
offset: 3 3;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -4 -4;
|
||||
to: "button_image";
|
||||
}
|
||||
color_class: "button_text";
|
||||
text {
|
||||
text: "Close";
|
||||
font: "Sans";
|
||||
size: 10;
|
||||
min: 1 1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "button";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over1";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
rel2.relative: 1.0 0.5;
|
||||
image {
|
||||
normal: "O/bt_hilight.png";
|
||||
border: 7 7 7 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over2";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
image {
|
||||
normal: "O/bt_shine.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over3";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
visible: 0;
|
||||
color: 255 255 255 0;
|
||||
image {
|
||||
normal: "O/bt_glow.png";
|
||||
border: 12 12 12 12;
|
||||
}
|
||||
fill.smooth : 0;
|
||||
}
|
||||
description {
|
||||
state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "button_click";
|
||||
signal: "mouse,down,1";
|
||||
source: "button_image";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "button_image";
|
||||
target: "over3";
|
||||
}
|
||||
program {
|
||||
name: "button_unclick";
|
||||
signal: "mouse,up,1";
|
||||
source: "button_image";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "button_image";
|
||||
target: "over3";
|
||||
}
|
||||
program {
|
||||
name: "button_unclick2";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "button_image";
|
||||
action: SIGNAL_EMIT "e,action,close" "";
|
||||
// also have "e,action,settings,theme" ""
|
||||
// for theme settings
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** MOD: BACKLIGHT ***/
|
||||
group { name: "e/modules/backlight/main";
|
||||
images {
|
||||
image: "O/bulb-0.png" COMP;
|
||||
image: "O/bulb-1.png" COMP;
|
||||
image: "O/bulb-2.png" COMP;
|
||||
}
|
||||
min: 16 16;
|
||||
max: 128 128;
|
||||
script {
|
||||
public message(Msg_Type:type, id, ...) {
|
||||
if ((type == MSG_FLOAT) && (id == 0)) {
|
||||
new Float:val;
|
||||
val = getfarg(2);
|
||||
set_tween_state(PART:"glow", val, "default", 0.0, "full", 0.0);
|
||||
set_tween_state(PART:"glow2", val, "default", 0.0, "full", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part {
|
||||
name: "glow";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
image.normal: "O/bulb-1.png";
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
description { state: "full" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "base";
|
||||
description { state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: BOTH;
|
||||
image.normal: "O/bulb-0.png";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "glow2";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
image.normal: "O/bulb-2.png";
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
description { state: "full" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,324 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** MOD: BATTERY ***/
|
||||
|
||||
group {
|
||||
name: "e/modules/battery/main";
|
||||
images {
|
||||
image: "O/batt_base.png" COMP;
|
||||
image: "O/batt_level.png" COMP;
|
||||
image: "O/batt_over.png" COMP;
|
||||
image: "O/batt_power.png" COMP;
|
||||
}
|
||||
min: 16 16;
|
||||
max: 128 128;
|
||||
script {
|
||||
public message(Msg_Type:type, id, ...) {
|
||||
if ((type == MSG_FLOAT) && (id == 1)) {
|
||||
new Float:val;
|
||||
new r;
|
||||
new g;
|
||||
new b;
|
||||
val = getfarg(2);
|
||||
if (val < 0.35) {
|
||||
new Float:val1;
|
||||
new Float:val2;
|
||||
val1 = val - 0.10;
|
||||
if (val1 < 0.0) val1 = 0.0;
|
||||
val2 = 0.125 - val1;
|
||||
if (val2 < 0.0) val2 = 0.0;
|
||||
val2 = val2 / 0.125;
|
||||
r = round(val2 * 255.0, ROUND);
|
||||
val2 = val1;
|
||||
if (val2 > 0.125) val2 = 0.125;
|
||||
val2 = val2 / 0.125;
|
||||
g = round(val2 * 255.0, ROUND);
|
||||
b = 0;
|
||||
}
|
||||
else {
|
||||
r = 0;
|
||||
g = 255;
|
||||
b = 0;
|
||||
}
|
||||
custom_state(PART:"fill", "default", 0.0);
|
||||
set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
|
||||
set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
|
||||
set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
|
||||
set_state(PART:"fill", "custom", 0.0);
|
||||
|
||||
custom_state(PART:"fill_clip", "default", 0.0);
|
||||
set_state_val(PART:"fill_clip", STATE_REL1, 0.0, 1.0 - val);
|
||||
set_state(PART:"fill_clip", "custom", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "fade_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description { state: "faded" 0.0;
|
||||
color: 255 255 255 160;
|
||||
}
|
||||
}
|
||||
part { name: "info_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
clip_to: "fade_clip";
|
||||
description { state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "pulse_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
clip_to: "fade_clip";
|
||||
description { state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description { state: "faded" 1.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description { state: "faded" 0.0;
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
}
|
||||
part { name: "fill_region";
|
||||
mouse_events: 0;
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
rel1.relative: 0.0 (26/128);
|
||||
rel2.relative: 1.0 ((128-14)/128);
|
||||
}
|
||||
}
|
||||
part { name: "fill_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
clip_to: "pulse_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "fill_region";
|
||||
rel1.relative: 0.0 0.5;
|
||||
rel2.to: "fill_region";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "base";
|
||||
clip_to: "pulse_clip";
|
||||
description { state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: BOTH;
|
||||
image.normal: "O/batt_base.png";
|
||||
}
|
||||
}
|
||||
part { name: "fill";
|
||||
mouse_events: 0;
|
||||
clip_to: "fill_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
image.normal: "O/batt_level.png";
|
||||
}
|
||||
}
|
||||
part { name: "over";
|
||||
mouse_events: 0;
|
||||
clip_to: "pulse_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
image.normal: "O/batt_over.png";
|
||||
}
|
||||
}
|
||||
part { name: "power";
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
image.normal: "O/batt_power.png";
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "e.text.reading";
|
||||
mouse_events: 0;
|
||||
type: TEXT;
|
||||
scale: 1;
|
||||
clip_to: "info_clip";
|
||||
effect: OUTLINE;
|
||||
description { state: "default" 0.0;
|
||||
align: 1.0 0.5;
|
||||
rel1.relative: 0.5 0.0;
|
||||
rel2.relative: 1.0 0.3;
|
||||
color: 0 0 0 255;
|
||||
color2: 255 255 255 128;
|
||||
color_class: "module_label";
|
||||
text {
|
||||
font: "Sans";
|
||||
size: 8;
|
||||
min: 1 1;
|
||||
align: 1.0 0.5;
|
||||
text_class: "module_small";
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "e.text.time";
|
||||
mouse_events: 0;
|
||||
type: TEXT;
|
||||
scale: 1;
|
||||
clip_to: "info_clip";
|
||||
effect: OUTLINE;
|
||||
description { state: "default" 0.0;
|
||||
align: 1.0 0.5;
|
||||
rel1.relative: 0.5 0.3;
|
||||
rel2.relative: 1.0 0.6;
|
||||
color: 0 0 0 255;
|
||||
color2: 255 255 255 128;
|
||||
color_class: "module_label";
|
||||
text {
|
||||
font: "Sans";
|
||||
size: 8;
|
||||
min: 1 1;
|
||||
align: 1.0 0.5;
|
||||
text_class: "module_small";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "hover1";
|
||||
signal: "mouse,in";
|
||||
source: "base";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: LINEAR 0.3;
|
||||
target: "info_clip";
|
||||
}
|
||||
program { name: "hover2";
|
||||
signal: "mouse,out";
|
||||
source: "base";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: LINEAR 0.3;
|
||||
target: "info_clip";
|
||||
}
|
||||
program { name: "charge";
|
||||
signal: "e,state,charging";
|
||||
source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "power";
|
||||
}
|
||||
program { name: "discharge";
|
||||
signal: "e,state,discharging";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "power";
|
||||
}
|
||||
program { name: "unknown";
|
||||
signal: "e,state,unknown";
|
||||
source: "e";
|
||||
action: STATE_SET "faded" 0.0;
|
||||
target: "fade_clip";
|
||||
}
|
||||
program { name: "pulse";
|
||||
signal: "e,action,pulse,start";
|
||||
source: "e";
|
||||
action: STATE_SET "faded" 0.0;
|
||||
transition: ACCELERATE 0.3;
|
||||
after: "pulse2";
|
||||
target: "pulse_clip";
|
||||
}
|
||||
program { name: "pulse2";
|
||||
action: STATE_SET "faded" 1.0;
|
||||
transition: ACCELERATE 0.1;
|
||||
target: "pulse_clip";
|
||||
}
|
||||
program { name: "pulsestop";
|
||||
signal: "e,action,pulse,stop";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "pulse_clip";
|
||||
}
|
||||
}
|
||||
}
|
||||
group {
|
||||
name: "e/modules/battery/popup";
|
||||
min: 240 64;
|
||||
parts {
|
||||
part {
|
||||
name: "battery";
|
||||
type: SWALLOW;
|
||||
mouse_events: 1;
|
||||
repeat_events: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
min: 1 1;
|
||||
max: 120 120;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: VERTICAL;
|
||||
align: 0.0 0.5;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.title";
|
||||
type: TEXT;
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to_x: battery;
|
||||
offset: 0 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.5;
|
||||
offset: -1 -1;
|
||||
}
|
||||
color: 0 0 0 255;
|
||||
text {
|
||||
text: "Your battery is low!";
|
||||
font: "Sans:style=Bold";
|
||||
size: 10;
|
||||
min: 1 1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "module_large";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.label";
|
||||
type: TEXT;
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 1.0 0.5;
|
||||
to_x: battery;
|
||||
offset: 0 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -1 -1;
|
||||
}
|
||||
color: 0 0 0 255;
|
||||
text {
|
||||
text: "AC power is recommended.";
|
||||
font: "Sans";
|
||||
size: 10;
|
||||
min: 1 1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "module_normal";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,119 +0,0 @@
|
|||
group {
|
||||
name: "e/widgets/border/default/move";
|
||||
images {
|
||||
image: "O/base_bg.png" COMP;
|
||||
image: "O/icon_win_move.png" COMP;
|
||||
}
|
||||
parts {
|
||||
part {
|
||||
name: "base";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image {
|
||||
normal: "O/base_bg.png";
|
||||
border: 2 2 2 2;
|
||||
}
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "icon";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
align: 0.0 0.5;
|
||||
min: 21 21;
|
||||
max: 21 21;
|
||||
fixed: 1 1;
|
||||
rel1.offset: 2 2;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 2 -3;
|
||||
image.normal: "O/icon_win_move.png";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.label";
|
||||
type: TEXT;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to_x: "icon";
|
||||
rel1.offset: 2 4;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.offset: -5 -5;
|
||||
color_class: "move_text";
|
||||
color: 0 0 0 255;
|
||||
text {
|
||||
text: "X Y";
|
||||
font: "Sans";
|
||||
size: 10;
|
||||
align: 0.5 0.5;
|
||||
min: 1 1;
|
||||
text_class: "move_text";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
group {
|
||||
name: "e/widgets/border/default/resize";
|
||||
images {
|
||||
image: "O/base_bg.png" COMP;
|
||||
image: "O/icon_win_resize.png" COMP;
|
||||
}
|
||||
parts {
|
||||
part {
|
||||
name: "base";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
align: 0.5 0.0;
|
||||
image {
|
||||
normal: "O/base_bg.png";
|
||||
border: 2 2 2 2;
|
||||
}
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "icon";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
align: 0.0 0.5;
|
||||
min: 21 21;
|
||||
max: 21 21;
|
||||
fixed: 1 1;
|
||||
rel1.offset: 2 2;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 2 -3;
|
||||
image.normal: "O/icon_win_resize.png";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.label";
|
||||
type: TEXT;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to_x: "icon";
|
||||
rel1.offset: 2 4;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.offset: -5 -5;
|
||||
color_class: "resize_text";
|
||||
color: 0 0 0 255;
|
||||
text {
|
||||
text: "WxH";
|
||||
font: "Sans";
|
||||
size: 10;
|
||||
align: 0.5 0.5;
|
||||
min: 1 1;
|
||||
text_class: "resize_text";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
// Window Border menu icons //
|
||||
#define BORDERICON(NAME, FILE) \
|
||||
group { \
|
||||
name: "e/widgets/border/default/"NAME ; \
|
||||
max: 64 64; \
|
||||
parts { \
|
||||
part { \
|
||||
name: "icon"; \
|
||||
mouse_events: 0; \
|
||||
description { \
|
||||
state: "default" 0.0; \
|
||||
aspect: 1.0 1.0; \
|
||||
aspect_preference: BOTH; \
|
||||
image.image: "O/"FILE COMP; \
|
||||
image.normal: "O/"FILE ; \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
}
|
||||
|
||||
BORDERICON("basic","icon_border_more.png")
|
||||
BORDERICON("close","icon_border_close.png")
|
||||
BORDERICON("kill","icon_border_kill.png")
|
||||
BORDERICON("stacking","icon_border_stack_norm.png")
|
||||
BORDERICON("stack_on_top","icon_border_stack_top.png")
|
||||
BORDERICON("stack_normal","icon_border_stack_norm.png")
|
||||
BORDERICON("stack_below","icon_border_stack_bot.png")
|
||||
BORDERICON("move_icon", "icon_win_move.png")
|
||||
BORDERICON("resize_icon", "icon_win_resize.png");
|
||||
BORDERICON("maximize","icon_border_maximize.png")
|
||||
BORDERICON("fullscreen","icon_border_maximize.png")
|
||||
BORDERICON("minimize","icon_border_minimize.png")
|
||||
BORDERICON("stick","icon_border_pin.png")
|
||||
BORDERICON("sendto","icon_border_sendto.png")
|
||||
BORDERICON("skip","icon_border_skip.png")
|
||||
BORDERICON("skip_pager","icon_border_pager.png")
|
||||
BORDERICON("skip_taskbar","icon_border_skip.png")
|
||||
BORDERICON("skip_winlist","icon_border_skip.png")
|
||||
BORDERICON("borderless","icon_border_border.png")
|
||||
BORDERICON("remember","icon_border_remember.png")
|
||||
BORDERICON("shade","icon_border_shaded.png")
|
||||
BORDERICON("locks","icon_border_lock.png")
|
||||
BORDERICON("locks_user","icon_border_lock.png")
|
||||
BORDERICON("locks_application","icon_border_lock.png")
|
||||
BORDERICON("properties","icon_border_properties.png")
|
||||
|
File diff suppressed because it is too large
Load Diff
|
@ -1,118 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** MOD: CONF_COLORS ***/
|
||||
|
||||
group {
|
||||
name: "e/modules/conf_colors/preview/solid";
|
||||
parts {
|
||||
part {
|
||||
name: "e.rect";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
color_class: "color_preview";
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: 0 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -1 -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
group {
|
||||
name: "e/modules/conf_colors/preview/text";
|
||||
parts {
|
||||
part {
|
||||
name: "e.text";
|
||||
type: TEXT;
|
||||
effect: OUTLINE_SOFT_SHADOW;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
color2: 255 255 255 255;
|
||||
color3: 255 255 255 255;
|
||||
color_class: "color_preview";
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: 0 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -1 -1;
|
||||
}
|
||||
text {
|
||||
font: "Sans:style=Bold";
|
||||
size: 16;
|
||||
text: "Aa";
|
||||
min: 1 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
group {
|
||||
name: "e/modules/conf_colors/preview/unknown";
|
||||
parts {
|
||||
part {
|
||||
name: "c1";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
color_class: "color_preview_c1";
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: 0 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -7 -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "c2";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
color_class: "color_preview_c2";
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
offset: -6 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -4 -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "c3";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
color_class: "color_preview_c3";
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
offset: -3 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -1 -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,131 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** MOD: CONF ***/
|
||||
|
||||
group {
|
||||
name: "e/modules/conf/main";
|
||||
images {
|
||||
image: "O/icon_configuration.png" COMP;
|
||||
image: "O/bt_base1.png" COMP;
|
||||
image: "O/bt_base2.png" COMP;
|
||||
image: "O/bt_hilight.png" COMP;
|
||||
image: "O/bt_shine.png" COMP;
|
||||
image: "O/bt_glow.png" COMP;
|
||||
}
|
||||
min: 16 16;
|
||||
max: 128 128;
|
||||
parts {
|
||||
part {
|
||||
name: "button_image";
|
||||
mouse_events: 1;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
align: 0.5 0.5;
|
||||
min: 32 16;
|
||||
image {
|
||||
normal: "O/bt_base2.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
}
|
||||
description {
|
||||
state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "O/bt_base1.png";
|
||||
}
|
||||
program {
|
||||
name: "button_down";
|
||||
signal: "mouse,down,1";
|
||||
source: "button_image";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "button_image";
|
||||
target: "over3";
|
||||
}
|
||||
program {
|
||||
name: "button_up";
|
||||
signal: "mouse,up,1";
|
||||
source: "button_image";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "button_image";
|
||||
target: "over3";
|
||||
}
|
||||
program {
|
||||
name: "button_click";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "button_image";
|
||||
action: SIGNAL_EMIT "e,action,conf" "";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "icon";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: BOTH;
|
||||
visible: 1;
|
||||
image.normal: "O/icon_configuration.png";
|
||||
rel1 {
|
||||
to: "button_image";
|
||||
relative: 0.0 0.0;
|
||||
offset: 3 3;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -4 -4;
|
||||
to: "button_image";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over1";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
rel2.relative: 1.0 0.5;
|
||||
image {
|
||||
normal: "O/bt_hilight.png";
|
||||
border: 7 7 7 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over2";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
image {
|
||||
normal: "O/bt_shine.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over3";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
visible: 0;
|
||||
color: 255 255 255 0;
|
||||
image {
|
||||
normal: "O/bt_glow.png";
|
||||
border: 12 12 12 12;
|
||||
}
|
||||
fill.smooth : 0;
|
||||
}
|
||||
description {
|
||||
state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,340 +0,0 @@
|
|||
group {
|
||||
name: "e/modules/cpufreq/main";
|
||||
images {
|
||||
image: "O/tacho_bg.png" COMP;
|
||||
image: "O/tacho_fg.png" COMP;
|
||||
image: "O/t0.png" COMP;
|
||||
image: "O/t0-sh.png" COMP;
|
||||
image: "O/t1.png" COMP;
|
||||
image: "O/t1-sh.png" COMP;
|
||||
image: "O/t2.png" COMP;
|
||||
}
|
||||
min: 16 16;
|
||||
max: 128 128;
|
||||
script {
|
||||
public available_frequencies;
|
||||
public available_governors;
|
||||
|
||||
public cur_freq_old;
|
||||
public cur_freq_new;
|
||||
public cur_freq_now;
|
||||
public cur_freq_anim;
|
||||
|
||||
public min_freq_old;
|
||||
public min_freq_new;
|
||||
public min_freq_now;
|
||||
|
||||
public max_freq_old;
|
||||
public max_freq_new;
|
||||
public max_freq_now;
|
||||
|
||||
public slide_cur_freq(val, Float:v) {
|
||||
new Float:freq, Float:min_freq, Float:max_freq, Float:tf;
|
||||
new f, f0, f1;
|
||||
|
||||
v = (1.0 - cos(v * 3.141592654)) / 2.0;
|
||||
|
||||
min_freq = fetch_int(available_frequencies, 0);
|
||||
max_freq = fetch_int(available_frequencies,
|
||||
count(available_frequencies) - 1);
|
||||
|
||||
f0 = get_int(cur_freq_old);
|
||||
f1 = get_int(cur_freq_new);
|
||||
f = f1 - f0;
|
||||
freq = float(f) * v;
|
||||
f = round(freq);
|
||||
f = f + f0;
|
||||
set_int(cur_freq_now, f);
|
||||
|
||||
freq = (float(f) - min_freq) / (max_freq - min_freq);
|
||||
tf = (freq * 225.0) - 135.0;
|
||||
custom_state(PART:"meter", "default", 0.0);
|
||||
set_state_val(PART:"meter", STATE_MAP_ROT_Z, tf);
|
||||
set_state(PART:"meter", "custom", 0.0);
|
||||
custom_state(PART:"meter_sh", "default", 0.0);
|
||||
set_state_val(PART:"meter_sh", STATE_MAP_ROT_Z, tf);
|
||||
set_state(PART:"meter_sh", "custom", 0.0);
|
||||
|
||||
f0 = get_int(min_freq_old);
|
||||
f1 = get_int(min_freq_new);
|
||||
f = f1 - f0;
|
||||
freq = float(f) * v;
|
||||
f = round(freq);
|
||||
f = f + f0;
|
||||
set_int(min_freq_now, f);
|
||||
|
||||
freq = (float(f) - min_freq) / (max_freq - min_freq);
|
||||
tf = (freq * 225.0) - 135.0;
|
||||
custom_state(PART:"meter_min", "default", 0.0);
|
||||
set_state_val(PART:"meter_min", STATE_MAP_ROT_Z, tf);
|
||||
set_state(PART:"meter_min", "custom", 0.0);
|
||||
custom_state(PART:"meter_min_sh", "default", 0.0);
|
||||
set_state_val(PART:"meter_min_sh", STATE_MAP_ROT_Z, tf);
|
||||
set_state(PART:"meter_min_sh", "custom", 0.0);
|
||||
|
||||
f0 = get_int(max_freq_old);
|
||||
f1 = get_int(max_freq_new);
|
||||
f = f1 - f0;
|
||||
freq = float(f) * v;
|
||||
f = round(freq);
|
||||
f = f + f0;
|
||||
set_int(max_freq_now, f);
|
||||
|
||||
freq = (float(f) - min_freq) / (max_freq - min_freq);
|
||||
tf = (freq * 225.0) - 135.0;
|
||||
custom_state(PART:"meter_max", "default", 0.0);
|
||||
set_state_val(PART:"meter_max", STATE_MAP_ROT_Z, tf);
|
||||
set_state(PART:"meter_max", "custom", 0.0);
|
||||
custom_state(PART:"meter_max_sh", "default", 0.0);
|
||||
set_state_val(PART:"meter_max_sh", STATE_MAP_ROT_Z, tf);
|
||||
set_state(PART:"meter_max_sh", "custom", 0.0);
|
||||
|
||||
if (v >= 1.0) {
|
||||
set_int(cur_freq_anim, 0);
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
public message(Msg_Type:type, id, ...) {
|
||||
if ((type == MSG_INT_SET) && (id == 1)) { // add an available freq
|
||||
while (count(available_frequencies) > 0) {
|
||||
remove(available_frequencies, 0);
|
||||
}
|
||||
for (new i = 2; i < numargs(); i++) {
|
||||
append_int(available_frequencies, getarg(i));
|
||||
}
|
||||
}
|
||||
else if ((type == MSG_STRING_SET) && (id == 2)) { // add a governor
|
||||
new text[100];
|
||||
while (count(available_governors) > 0) {
|
||||
remove(available_governors, 0);
|
||||
}
|
||||
for (new i = 2; i < numargs(); i++) {
|
||||
snprintf(text, 100, "%s", getarg(i));
|
||||
append_str(available_governors, text);
|
||||
}
|
||||
}
|
||||
else if ((type == MSG_INT_SET) && (id == 3)) { // avg freq
|
||||
new f;
|
||||
new ani, curf, minf, maxf;
|
||||
new text[100];
|
||||
|
||||
f = getarg(2);
|
||||
if (f < 1000000) {
|
||||
f += 500;
|
||||
snprintf(text, 100, "%i", f / 1000);
|
||||
}
|
||||
else {
|
||||
f += 50000;
|
||||
snprintf(text, 100, "%i.%i", f / 1000000,
|
||||
(f % 1000000) / 100000);
|
||||
}
|
||||
set_text(PART:"readout", text);
|
||||
|
||||
ani = get_int(cur_freq_anim);
|
||||
if (ani > 0) cancel_anim(ani);
|
||||
ani = anim(1.0, "slide_cur_freq", 0);
|
||||
set_int(cur_freq_anim, ani);
|
||||
|
||||
f = getarg(2);
|
||||
curf = get_int(cur_freq_now);
|
||||
set_int(cur_freq_old, curf);
|
||||
set_int(cur_freq_new, f);
|
||||
|
||||
f = getarg(4);
|
||||
minf = get_int(min_freq_now);
|
||||
set_int(min_freq_old, minf);
|
||||
set_int(min_freq_new, f);
|
||||
|
||||
f = getarg(5);
|
||||
maxf = get_int(max_freq_now);
|
||||
set_int(max_freq_old, maxf);
|
||||
set_int(max_freq_new, f);
|
||||
}
|
||||
else if ((type == MSG_STRING) && (id == 4)) {
|
||||
new text[100];
|
||||
snprintf(text, 100, "%s", getarg(2));
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part {
|
||||
name: "fade_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description {
|
||||
state: "faded" 0.0;
|
||||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "base";
|
||||
clip_to: "fade_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: BOTH;
|
||||
image.normal: "O/tacho_bg.png";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "readout";
|
||||
type: TEXT;
|
||||
scale: 1;
|
||||
// effect: OUTLINE_SOFT_SHADOW;
|
||||
mouse_events: 0;
|
||||
clip_to: "fade_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 0.6 0.7;
|
||||
offset: 0 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 0.6 0.7;
|
||||
offset: 0 0;
|
||||
}
|
||||
color: 255 255 255 255;
|
||||
color2: 0 0 0 128;
|
||||
color3: 0 0 0 32;
|
||||
color_class: "module_label";
|
||||
text {
|
||||
text: "??? Ghz";
|
||||
font: "Sans:style=Bold";
|
||||
size: 6;
|
||||
align: 0.5 0.5;
|
||||
min: 1 1;
|
||||
text_class: "module_small";
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "meter_min_sh";
|
||||
clip_to: "fade_clip";
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0000;
|
||||
image.normal: "O/t1-sh.png";
|
||||
rel1.to: "meter_min";
|
||||
rel1.relative: 0.0+(2.0/64.0) 0.0+(2.0/64.0);
|
||||
rel2.to: "meter_min";
|
||||
rel2.relative: 1.0+(2.0/64.0) 1.0+(2.0/64.0);
|
||||
map {
|
||||
on: 1;
|
||||
rotation {
|
||||
center: "meter_min_sh";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "meter_min";
|
||||
clip_to: "fade_clip";
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0000;
|
||||
image.normal: "O/t2.png";
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
map {
|
||||
on: 1;
|
||||
rotation {
|
||||
center: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "meter_max_sh";
|
||||
clip_to: "fade_clip";
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0000;
|
||||
image.normal: "O/t1-sh.png";
|
||||
rel1.to: "meter_max";
|
||||
rel1.relative: 0.0+(2.0/64.0) 0.0+(2.0/64.0);
|
||||
rel2.to: "meter_max";
|
||||
rel2.relative: 1.0+(2.0/64.0) 1.0+(2.0/64.0);
|
||||
map {
|
||||
on: 1;
|
||||
rotation {
|
||||
center: "meter_max_sh";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "meter_max";
|
||||
clip_to: "fade_clip";
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0000;
|
||||
image.normal: "O/t1.png";
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
map {
|
||||
on: 1;
|
||||
rotation {
|
||||
center: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "meter_sh";
|
||||
clip_to: "fade_clip";
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0000;
|
||||
image.normal: "O/t0-sh.png";
|
||||
rel1.to: "meter";
|
||||
rel1.relative: 0.0+(2.0/64.0) 0.0+(2.0/64.0);
|
||||
rel2.to: "meter";
|
||||
rel2.relative: 1.0+(2.0/64.0) 1.0+(2.0/64.0);
|
||||
map {
|
||||
on: 1;
|
||||
rotation {
|
||||
center: "meter_sh";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "meter";
|
||||
clip_to: "fade_clip";
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0000;
|
||||
image.normal: "O/t0.png";
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
map {
|
||||
on: 1;
|
||||
rotation {
|
||||
center: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over";
|
||||
clip_to: "fade_clip";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
image.normal: "O/tacho_fg.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "enabled";
|
||||
signal: "e,state,enabled";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "fade_clip";
|
||||
}
|
||||
program {
|
||||
name: "disabled";
|
||||
signal: "e,state,disabled";
|
||||
source: "e";
|
||||
action: STATE_SET "faded" 0.0;
|
||||
target: "fade_clip";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,110 +0,0 @@
|
|||
/* Used to display RGB/HSV values via sliders
|
||||
in Wallpaper Gradient Dialog */
|
||||
group {
|
||||
name: "e/widgets/cslider";
|
||||
images.image: "O/inset_sunk.png" COMP;
|
||||
parts {
|
||||
part {
|
||||
name: "content_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "e.swallow.content";
|
||||
rel2.to: "e.swallow.content";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.swallow.content";
|
||||
type: SWALLOW;
|
||||
clip_to: "content_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
min: 50 20;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
}
|
||||
description {
|
||||
state: "vertical" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
min: 20 50;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "border";
|
||||
mouse_events: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
to: "e.swallow.content";
|
||||
offset: -1 -1;
|
||||
}
|
||||
rel2 {
|
||||
to: "e.swallow.content";
|
||||
offset: 0 0;
|
||||
}
|
||||
image {
|
||||
normal: "O/inset_sunk.png";
|
||||
border: 7 7 7 7;
|
||||
middle: 0;
|
||||
}
|
||||
fill.smooth : 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.dragable.cursor";
|
||||
type: RECT;
|
||||
clip_to: "content_clip";
|
||||
dragable {
|
||||
confine: "e.swallow.content";
|
||||
x: 1 1 0;
|
||||
y: -1 1 0;
|
||||
}
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
min: 1 24;
|
||||
max: 1 9999;
|
||||
fixed: 1 1;
|
||||
rel1 {
|
||||
to: "e.swallow.content";
|
||||
relative: 0.5 0.0;
|
||||
offset: 0 -2;
|
||||
}
|
||||
rel2 {
|
||||
to: "e.swallow.content";
|
||||
relative: 0.5 1.0;
|
||||
offset: 0 +2;
|
||||
}
|
||||
color: 255 255 255 150;
|
||||
}
|
||||
description {
|
||||
state: "vertical" 0.0;
|
||||
min: 24 1;
|
||||
max: 9999 1;
|
||||
fixed: 1 1;
|
||||
rel1 {
|
||||
to: "e.swallow.content";
|
||||
relative: 0.0 0.5 ;
|
||||
offset: -2 0;
|
||||
}
|
||||
rel2 {
|
||||
to: "e.swallow.content";
|
||||
relative: 1.0 0.5;
|
||||
offset: +2 0;
|
||||
}
|
||||
color: 255 255 255 150;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "go_vertical";
|
||||
signal: "e,state,direction,v";
|
||||
source: "e";
|
||||
action: STATE_SET "vertical" 0.0;
|
||||
target: "e.dragable.cursor";
|
||||
target: "e.swallow.content";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,314 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** MOD: DESKLOCK ***/
|
||||
|
||||
group {
|
||||
name: "e/desklock/background";
|
||||
images {
|
||||
image: "O/bg_shadow.png" COMP;
|
||||
image: "O/wizard_pattern.png" COMP;
|
||||
}
|
||||
parts {
|
||||
part { name: "base";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "O/wizard_pattern.png";
|
||||
fill {
|
||||
smooth: 0;
|
||||
size {
|
||||
relative: 0.0 0.0;
|
||||
offset: 200 200;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.swallow.login_box";
|
||||
type: SWALLOW;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "shadow2";
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "O/bg_shadow.png";
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
group {
|
||||
name: "e/desklock/login_box";
|
||||
images {
|
||||
image: "O/logo_white_128.png" COMP;
|
||||
image: "O/inset_sunk.png" COMP;
|
||||
}
|
||||
parts {
|
||||
part {
|
||||
name: "logo";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
min: 64 64;
|
||||
max: 64 64;
|
||||
image.normal: "O/logo_white_128.png";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.title";
|
||||
type: TEXT;
|
||||
effect: SOFT_SHADOW;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
fixed: 0 1;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
offset: 0 8;
|
||||
to_y: "logo";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -1 8;
|
||||
to_y: "logo";
|
||||
}
|
||||
color: 224 224 224 255;
|
||||
color3: 0 0 0 32;
|
||||
text {
|
||||
text: "Enter Password";
|
||||
font: "Sans:style=Bold";
|
||||
size: 10;
|
||||
align: 0.5 0.5;
|
||||
min: 1 1;
|
||||
text_class: "desklock_title";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "pulse_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "passwd_border";
|
||||
rel2.to: "passwd_border";
|
||||
}
|
||||
description {
|
||||
state: "pulse" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "error";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
clip_to: "error_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "passwd_border";
|
||||
rel2.to: "passwd_border";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "error_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
clip_to: "pulse_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "passwd_border";
|
||||
rel2.to: "passwd_border";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description {
|
||||
state: "invalid" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 128 128 255;
|
||||
/*FIXME: Document how this works */
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "passwd_entry_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
clip_to: "pulse_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 1;
|
||||
rel1 {
|
||||
offset: 6 3;
|
||||
to: "passwd_border";
|
||||
}
|
||||
rel2 {
|
||||
offset: -7 -4;
|
||||
to: "passwd_border";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.password";
|
||||
type: TEXT;
|
||||
clip_to: "passwd_entry_clip";
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
fixed: 0 1;
|
||||
align: 0.0 0.5;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: 0 0;
|
||||
to: "passwd_entry_clip";
|
||||
}
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
offset: 0 0;
|
||||
to: "passwd_entry_clip";
|
||||
}
|
||||
color: 0 0 0 255;
|
||||
text {
|
||||
text: "****";
|
||||
font: "Sans:style=Bold";
|
||||
size: 16;
|
||||
align: 0.0 0.5;
|
||||
min: 1 1;
|
||||
text_class: "desklock_passwd";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "selection";
|
||||
type: GROUP;
|
||||
mouse_events: 0;
|
||||
clip_to: "passwd_entry_clip";
|
||||
source: "e/widgets/entry/selection";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 0;
|
||||
rel1.to: "e.text.password";
|
||||
rel2.to: "e.text.password";
|
||||
}
|
||||
description {
|
||||
state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "cursor";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
clip_to: "passwd_entry_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
min: 1 16;
|
||||
max: 1 16;
|
||||
align: 0.0 0.5;
|
||||
fixed: 1 1;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
offset: 0 -3;
|
||||
to: "e.text.password";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: 1 1;
|
||||
to: "e.text.password";
|
||||
}
|
||||
color: 0 0 0 255;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "passwd_border";
|
||||
mouse_events: 0;
|
||||
clip_to: "error_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 0.5 1.0;
|
||||
offset: -80 2;
|
||||
to_y: "e.text.title";
|
||||
}
|
||||
rel2 {
|
||||
relative: 0.5 1.0;
|
||||
offset: 79 20;
|
||||
to_y: "e.text.title";
|
||||
}
|
||||
image {
|
||||
normal: "O/inset_sunk.png";
|
||||
middle: 0;
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
fill.smooth: 0;
|
||||
}
|
||||
description {
|
||||
state: "checking" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "pulse.1";
|
||||
signal: "e,state,checking";
|
||||
source: "e.desklock";
|
||||
action: STATE_SET "pulse" 0.0;
|
||||
target: "pulse_clip";
|
||||
transition: SINUSOIDAL 0.5;
|
||||
after: "pulse.2";
|
||||
}
|
||||
program {
|
||||
name: "pulse.2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "pulse_clip";
|
||||
transition: SINUSOIDAL 0.5;
|
||||
after: "pulse.1";
|
||||
}
|
||||
program {
|
||||
name: "pulse.stop";
|
||||
signal: "e,state,invalid";
|
||||
source: "e.desklock";
|
||||
action: ACTION_STOP;
|
||||
target: "pulse.1";
|
||||
target: "pulse.2";
|
||||
after: "pulse.reset";
|
||||
}
|
||||
program {
|
||||
name: "pulse.reset";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "pulse_clip";
|
||||
transition: SINUSOIDAL 0.5;
|
||||
}
|
||||
program {
|
||||
name: "go_invalid";
|
||||
signal: "e,state,invalid";
|
||||
source: "e.desklock";
|
||||
action: STATE_SET "invalid" 0.0;
|
||||
target: "error_clip";
|
||||
transition: DECELERATE 0.5;
|
||||
}
|
||||
program {
|
||||
name: "stop_invalid";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "error_clip";
|
||||
transition: DECELERATE 1.5;
|
||||
}
|
||||
program {
|
||||
name: "select";
|
||||
signal: "e,state,selected";
|
||||
source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "selection";
|
||||
}
|
||||
program {
|
||||
name: "unselect";
|
||||
signal: "e,state,unselected";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "selection";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,253 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** MOD: CONF_EDGEBINDINGS ***/
|
||||
|
||||
/* This group draws the edge and corners for the user to pick.
|
||||
* XXX: Needs some love from masters of the brush! */
|
||||
|
||||
group {
|
||||
name: "e/modules/conf_edgebindings/selection";
|
||||
parts {
|
||||
part {
|
||||
name: "e.swallow.background";
|
||||
type: SWALLOW;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
min: 210 150;
|
||||
rel1.offset: 4 4;
|
||||
rel2 {
|
||||
relative: 0.5 1;
|
||||
offset: -2 -5;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.edge.top_left";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
rel2 {
|
||||
relative: 0 0;
|
||||
offset: 20 20;
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
color: 255 0 0 150;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.edge.top";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
offset: 20 0;
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1 0;
|
||||
offset: -20 15;
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
color: 255 255 0 150;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.edge.top_right";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 1 0;
|
||||
offset: -20 0;
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1 0;
|
||||
offset: 0 20;
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
color: 255 0 0 150;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.edge.right";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 1 0;
|
||||
offset: -15 20;
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1 1;
|
||||
offset: 0 -20;
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
color: 255 255 0 150;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.edge.bottom_right";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 1 1;
|
||||
offset: -20 -20;
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1 1;
|
||||
offset: 0 0;
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
color: 255 0 0 150;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.edge.bottom";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 0 1;
|
||||
offset: 20 -15;
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1 1;
|
||||
offset: -20 0;
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
color: 255 255 0 150;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.edge.bottom_left";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 0 1;
|
||||
offset: 0 -20;
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
rel2 {
|
||||
relative: 0 1;
|
||||
offset: 20 0;
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
color: 255 0 0 150;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.edge.left";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 0 0;
|
||||
offset: 0 20;
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
rel2 {
|
||||
relative: 0 1;
|
||||
offset: 15 -20;
|
||||
to: "e.swallow.background";
|
||||
}
|
||||
color: 255 255 0 150;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.swallow.check";
|
||||
type: SWALLOW;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 1 1;
|
||||
offset: 5 4;
|
||||
to_x: "e.swallow.background";
|
||||
to_y: "e.text.description";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1 1;
|
||||
offset: -5 24;
|
||||
to_y: "e.text.description";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.swallow.slider";
|
||||
type: SWALLOW;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 1 1;
|
||||
offset: 5 1;
|
||||
to_x: "e.edge.bottom_right";
|
||||
to_y: "e.swallow.check";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1 1;
|
||||
offset: -5 -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.description";
|
||||
type: TEXTBLOCK;
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 1 0;
|
||||
offset: 5 4;
|
||||
to_x: "e.swallow.background";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1 1;
|
||||
offset: -5 -45;
|
||||
}
|
||||
text {
|
||||
style: "dialog_style";
|
||||
min: 1 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.selection";
|
||||
type: TEXT;
|
||||
effect: SOFT_SHADOW;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
align: 0.5 0.5;
|
||||
rel1 {
|
||||
relative: 1 1;
|
||||
offset: 5 5;
|
||||
to: "e.edge.top_left";
|
||||
}
|
||||
rel2 {
|
||||
relative: 0 0;
|
||||
offset: -5 -5;
|
||||
to: "e.edge.bottom_right";
|
||||
}
|
||||
color: 224 224 224 255;
|
||||
color3: 0 0 0 64;
|
||||
text {
|
||||
font: "Sans:style=Bold";
|
||||
size: 12;
|
||||
align: 0.5 0.5;
|
||||
fit: 1 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
|
@ -1,26 +0,0 @@
|
|||
/* e/widgets/fontpreview is used in the Font Config dialog */
|
||||
group {
|
||||
name: "e/widgets/fontpreview";
|
||||
parts {
|
||||
part {
|
||||
name: "e.fontpreview.text";
|
||||
type: TEXT;
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color_class: "entry_text";
|
||||
rel1.offset: 6 6;
|
||||
rel2.offset: -7 -7;
|
||||
text {
|
||||
text: "The quick brown fox jumped over YA MUM!";
|
||||
font: "Sans";
|
||||
size: 10;
|
||||
min: 1 1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "_e_font_preview";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,892 +0,0 @@
|
|||
group {
|
||||
name: "e/modules/ibox/icon";
|
||||
alias: "e/modules/ibar/icon";
|
||||
images.image: "O/exclam.png" COMP;
|
||||
data {
|
||||
item: "raise_on_hilight" "0";
|
||||
// 1 or 0 if u want an icon holder to raise when the mouse (or keyboard) hilights it
|
||||
// item: "item_list" "item item2 item3";
|
||||
}
|
||||
parts {
|
||||
part {
|
||||
name: "item_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
color: 255 255 255 64;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.swallow.content";
|
||||
type: SWALLOW;
|
||||
clip_to: "item_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
}
|
||||
description { state: "bigger" 0.0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "urgent_area";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
description {
|
||||
state: "uw0" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: -3 -2;
|
||||
rel2.offset: -4 -3;
|
||||
}
|
||||
description {
|
||||
state: "uw1" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: 5 -2;
|
||||
rel2.offset: 4 -3;
|
||||
}
|
||||
description {
|
||||
state: "uw2" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: -1 4;
|
||||
rel2.offset: -2 3;
|
||||
}
|
||||
description {
|
||||
state: "uw3" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: -2 -1;
|
||||
rel2.offset: -3 -2;
|
||||
}
|
||||
description {
|
||||
state: "uw4" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: -4 1;
|
||||
rel2.offset: -5 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "urgent";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 0;
|
||||
rel1.to: "urgent_area";
|
||||
rel2.to: "urgent_area";
|
||||
image.normal: "O/exclam.png";
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
description {
|
||||
state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description {
|
||||
state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
rel1 {
|
||||
relative: -0.5 -0.5;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.5 1.5;
|
||||
}
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over";
|
||||
type: RECT;
|
||||
repeat_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "starting";
|
||||
signal: "e,state,starting";
|
||||
source: "e";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "item_clip";
|
||||
}
|
||||
program {
|
||||
name: "started";
|
||||
signal: "e,state,started";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "item_clip";
|
||||
}
|
||||
program {
|
||||
name: "hover_out";
|
||||
signal: "mouse,out";
|
||||
source: "over";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: LINEAR 0.2;
|
||||
target: "e.swallow.content";
|
||||
}
|
||||
program {
|
||||
name: "set_urgent";
|
||||
signal: "e,state,urgent";
|
||||
source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: LINEAR 0.2;
|
||||
target: "urgent";
|
||||
}
|
||||
program {
|
||||
name: "set_not_urgent";
|
||||
signal: "e,state,not_urgent";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: LINEAR 0.6;
|
||||
target: "urgent";
|
||||
}
|
||||
program {
|
||||
name: "urgentw0";
|
||||
signal: "e,state,urgent";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "urgent_area";
|
||||
transition: DECELERATE 0.1;
|
||||
after: "urgentw1";
|
||||
}
|
||||
program {
|
||||
name: "urgentw1";
|
||||
action: STATE_SET "uw1" 0.0;
|
||||
target: "urgent_area";
|
||||
transition: DECELERATE 0.1;
|
||||
after: "urgentw2";
|
||||
}
|
||||
program {
|
||||
name: "urgentw2";
|
||||
action: STATE_SET "uw2" 0.0;
|
||||
target: "urgent_area";
|
||||
transition: DECELERATE 0.1;
|
||||
after: "urgentw3";
|
||||
}
|
||||
program {
|
||||
name: "urgentw3";
|
||||
action: STATE_SET "uw3" 0.0;
|
||||
target: "urgent_area";
|
||||
transition: DECELERATE 0.1;
|
||||
after: "urgentw4";
|
||||
}
|
||||
program {
|
||||
name: "urgentw4";
|
||||
action: STATE_SET "uw4" 0.0;
|
||||
target: "urgent_area";
|
||||
transition: DECELERATE 0.1;
|
||||
after: "urgentw0";
|
||||
}
|
||||
program {
|
||||
name: "not_urgent";
|
||||
signal: "e,state,not_urgent";
|
||||
source: "e";
|
||||
action: ACTION_STOP;
|
||||
target: "urgentw0";
|
||||
target: "urgentw1";
|
||||
target: "urgentw2";
|
||||
target: "urgentw3";
|
||||
target: "urgentw4";
|
||||
after: "not_urgent2";
|
||||
}
|
||||
program {
|
||||
name: "not_urgent2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "urgent";
|
||||
target: "urgent_area";
|
||||
}
|
||||
}
|
||||
}
|
||||
group {
|
||||
name: "e/modules/ibox/icon_overlay";
|
||||
alias: "e/modules/ibar/icon_overlay";
|
||||
data {
|
||||
// item: "item_list", "item item2 item3";
|
||||
}
|
||||
script {
|
||||
public urgent;
|
||||
}
|
||||
parts {
|
||||
part {
|
||||
name: "base";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "background";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
description {
|
||||
state: "visible" 0.0;
|
||||
visible: 1;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description {
|
||||
state: "hidden" 0.0;
|
||||
visible: 1;
|
||||
rel1 {
|
||||
relative: -0.5 -0.5;
|
||||
to: "base";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.5 1.5;
|
||||
to: "base";
|
||||
}
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
description {
|
||||
state: "huge" 0.0;
|
||||
visible: 1;
|
||||
rel1 {
|
||||
relative: -2.0 -2.0;
|
||||
to: "base";
|
||||
}
|
||||
rel2 {
|
||||
relative: 3.0 3.0;
|
||||
to: "base";
|
||||
}
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.swallow.content";
|
||||
type: SWALLOW;
|
||||
clip_to: "background";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "background";
|
||||
rel2.to: "background";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "urgent";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
image.normal: "O/exclam.png";
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
description {
|
||||
state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description {
|
||||
state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
rel1 {
|
||||
relative: -0.5 -0.5;
|
||||
to: "base";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.5 1.5;
|
||||
to: "base";
|
||||
}
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.label";
|
||||
type: TEXT;
|
||||
effect: SOFT_SHADOW;
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
offset: 0 -1;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -1 -1;
|
||||
}
|
||||
color: 255 255 255 0;
|
||||
color3: 0 0 0 0;
|
||||
color_class: "module_label";
|
||||
text {
|
||||
font: "Sans:style=Bold";
|
||||
size: 10;
|
||||
min: 1 1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "module_normal";
|
||||
}
|
||||
}
|
||||
description {
|
||||
state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: 0 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -1 -1;
|
||||
}
|
||||
color: 255 255 255 255;
|
||||
color3: 0 0 0 42;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "go_active";
|
||||
signal: "e,state,focused";
|
||||
source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "background";
|
||||
after: "go_active2";
|
||||
}
|
||||
program {
|
||||
name: "go_activeB";
|
||||
signal: "e,action,show,label";
|
||||
source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: SINUSOIDAL 0.5;
|
||||
target: "e.text.label";
|
||||
}
|
||||
program {
|
||||
name: "go_active2";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
transition: LINEAR 0.5;
|
||||
target: "background";
|
||||
after: "go_active";
|
||||
}
|
||||
program {
|
||||
name: "go_passive";
|
||||
signal: "e,state,unfocused";
|
||||
source: "e";
|
||||
action: ACTION_STOP;
|
||||
target: "go_active";
|
||||
target: "go_active2";
|
||||
after: "go_passive2";
|
||||
}
|
||||
program {
|
||||
name: "go_passiveB";
|
||||
signal: "e,action,hide,label";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 1.0;
|
||||
target: "e.text.label";
|
||||
}
|
||||
program {
|
||||
name: "go_passive2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "background";
|
||||
script {
|
||||
if (get_int(urgent) == 1) {
|
||||
run_program(PROGRAM:"go_urgent");
|
||||
}
|
||||
}
|
||||
}
|
||||
program {
|
||||
name: "init";
|
||||
signal: "load";
|
||||
source: "";
|
||||
script {
|
||||
set_int(urgent, 0);
|
||||
}
|
||||
}
|
||||
program {
|
||||
name: "set_urgent";
|
||||
signal: "e,state,urgent";
|
||||
source: "e";
|
||||
script {
|
||||
set_int(urgent, 1);
|
||||
}
|
||||
}
|
||||
program {
|
||||
name: "go_urgent";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "background";
|
||||
target: "urgent";
|
||||
after: "go_urgent2";
|
||||
}
|
||||
program {
|
||||
name: "go_urgent2";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
transition: LINEAR 0.5;
|
||||
target: "background";
|
||||
target: "urgent";
|
||||
after: "go_urgent";
|
||||
}
|
||||
program {
|
||||
name: "unset_urgent";
|
||||
signal: "e,state,not_urgent";
|
||||
source: "e";
|
||||
script {
|
||||
set_int(urgent, 0);
|
||||
}
|
||||
}
|
||||
program {
|
||||
name: "go_unurgent";
|
||||
signal: "e,state,not_urgent";
|
||||
source: "e";
|
||||
action: ACTION_STOP;
|
||||
target: "go_urgent";
|
||||
target: "go_urgent2";
|
||||
after: "go_unurgent2";
|
||||
}
|
||||
program {
|
||||
name: "go_unurgent2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.3;
|
||||
target: "background";
|
||||
target: "urgent";
|
||||
}
|
||||
program {
|
||||
name: "exec_exec";
|
||||
signal: "e,action,exec";
|
||||
source: "e";
|
||||
after: "exec_start";
|
||||
}
|
||||
program {
|
||||
name: "exec_start";
|
||||
signal: "e,action,start";
|
||||
source: "e";
|
||||
action: ACTION_STOP;
|
||||
target: "go_active";
|
||||
target: "go_active2";
|
||||
target: "go_passive";
|
||||
target: "go_passive2";
|
||||
target: "go_big";
|
||||
target: "go_big2";
|
||||
after: "go_big";
|
||||
}
|
||||
program {
|
||||
name: "go_big";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "background";
|
||||
after: "go_big2";
|
||||
}
|
||||
program {
|
||||
name: "go_big2";
|
||||
action: STATE_SET "huge" 0.0;
|
||||
transition: LINEAR 0.5;
|
||||
target: "background";
|
||||
}
|
||||
}
|
||||
}
|
||||
group {
|
||||
name: "e/modules/ibox/drop";
|
||||
alias: "e/modules/ibar/drop";
|
||||
images.image: "O/inset_raised.png" COMP;
|
||||
parts {
|
||||
part {
|
||||
name: "bg";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image {
|
||||
normal: "O/inset_raised.png";
|
||||
border: 7 7 7 7;
|
||||
middle: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
group {
|
||||
name: "e/modules/ibox/drop_overlay";
|
||||
alias: "e/modules/ibar/drop_overlay";
|
||||
images {
|
||||
image: "O/gadman_top.png" COMP;
|
||||
image: "O/gadman_bottom.png" COMP;
|
||||
image: "O/gadman_left.png" COMP;
|
||||
image: "O/gadman_right.png" COMP;
|
||||
}
|
||||
parts {
|
||||
part {
|
||||
name: "left_arrow1";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: VERTICAL;
|
||||
rel1.relative: -1.0 0.5;
|
||||
rel2.relative: -1.0 0.5;
|
||||
image.normal: "O/gadman_right.png";
|
||||
}
|
||||
description {
|
||||
state: "1" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: -0.8 0.2;
|
||||
rel2.relative: -0.7 0.8;
|
||||
}
|
||||
description {
|
||||
state: "2" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.2 0.5;
|
||||
rel2.relative: 0.2 0.5;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "left_arrow2";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: VERTICAL;
|
||||
rel1.relative: -1.0 0.5;
|
||||
rel2.relative: -1.0 0.5;
|
||||
image.normal: "O/gadman_right.png";
|
||||
}
|
||||
description {
|
||||
state: "1" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: -0.8 0.2;
|
||||
rel2.relative: -0.7 0.8;
|
||||
}
|
||||
description {
|
||||
state: "2" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.2 0.5;
|
||||
rel2.relative: 0.2 0.5;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "right_arrow1";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: VERTICAL;
|
||||
rel1.relative: 2.0 0.5;
|
||||
rel2.relative: 2.0 0.5;
|
||||
image.normal: "O/gadman_left.png";
|
||||
}
|
||||
description {
|
||||
state: "1" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 1.8 0.2;
|
||||
rel2.relative: 1.7 0.8;
|
||||
}
|
||||
description {
|
||||
state: "2" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.8 0.5;
|
||||
rel2.relative: 0.8 0.5;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "right_arrow2";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: VERTICAL;
|
||||
rel1.relative: 2.0 0.5;
|
||||
rel2.relative: 2.0 0.5;
|
||||
image.normal: "O/gadman_left.png";
|
||||
}
|
||||
description {
|
||||
state: "1" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 1.8 0.2;
|
||||
rel2.relative: 1.7 0.8;
|
||||
}
|
||||
description {
|
||||
state: "2" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.8 0.5;
|
||||
rel2.relative: 0.8 0.5;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "top_arrow1";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: HORIZONTAL;
|
||||
rel1.relative: 0.5 -1.0;
|
||||
rel2.relative: 0.5 -1.0;
|
||||
image.normal: "O/gadman_bottom.png";
|
||||
}
|
||||
description {
|
||||
state: "1" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.2 -0.8;
|
||||
rel2.relative: 0.8 -0.7;
|
||||
}
|
||||
description {
|
||||
state: "2" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.5 0.2;
|
||||
rel2.relative: 0.5 0.2;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "top_arrow2";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: HORIZONTAL;
|
||||
rel1.relative: 0.5 -1.0;
|
||||
rel2.relative: 0.5 -1.0;
|
||||
image.normal: "O/gadman_bottom.png";
|
||||
}
|
||||
description {
|
||||
state: "1" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.2 -0.8;
|
||||
rel2.relative: 0.8 -0.7;
|
||||
}
|
||||
description {
|
||||
state: "2" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.5 0.2;
|
||||
rel2.relative: 0.5 0.2;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "bottom_arrow1";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: HORIZONTAL;
|
||||
rel1.relative: 0.5 2.0;
|
||||
rel2.relative: 0.5 2.0;
|
||||
image.normal: "O/gadman_top.png";
|
||||
}
|
||||
description {
|
||||
state: "1" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.2 1.7;
|
||||
rel2.relative: 0.8 1.8;
|
||||
}
|
||||
description {
|
||||
state: "2" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.5 0.8;
|
||||
rel2.relative: 0.5 0.8;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "bottom_arrow2";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: HORIZONTAL;
|
||||
rel1.relative: 0.5 2.0;
|
||||
rel2.relative: 0.5 2.0;
|
||||
image.normal: "O/gadman_top.png";
|
||||
}
|
||||
description {
|
||||
state: "1" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.2 1.7;
|
||||
rel2.relative: 0.8 1.8;
|
||||
}
|
||||
description {
|
||||
state: "2" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.5 0.8;
|
||||
rel2.relative: 0.5 0.8;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "start1";
|
||||
signal: "show";
|
||||
source: "";
|
||||
after: "left1_1";
|
||||
after: "right1_1";
|
||||
after: "top1_1";
|
||||
after: "bottom1_1";
|
||||
}
|
||||
program {
|
||||
name: "start2";
|
||||
signal: "show";
|
||||
source: "";
|
||||
in: 0.4 0.0;
|
||||
after: "left2_1";
|
||||
after: "right2_1";
|
||||
after: "top2_1";
|
||||
after: "bottom2_1";
|
||||
}
|
||||
// LEFT ARROW
|
||||
program {
|
||||
name: "left1_1";
|
||||
action: STATE_SET "1" 0.0;
|
||||
target: "left_arrow1";
|
||||
transition: LINEAR 0.4;
|
||||
after: "left1_2";
|
||||
}
|
||||
program {
|
||||
name: "left1_2";
|
||||
action: STATE_SET "2" 0.0;
|
||||
target: "left_arrow1";
|
||||
transition: LINEAR 0.4;
|
||||
after: "left1_r";
|
||||
}
|
||||
program {
|
||||
name: "left1_r";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "left_arrow1";
|
||||
after: "left1_1";
|
||||
}
|
||||
program {
|
||||
name: "left2_1";
|
||||
action: STATE_SET "1" 0.0;
|
||||
target: "left_arrow2";
|
||||
transition: LINEAR 0.4;
|
||||
after: "left2_2";
|
||||
}
|
||||
program {
|
||||
name: "left2_2";
|
||||
action: STATE_SET "2" 0.0;
|
||||
target: "left_arrow2";
|
||||
transition: LINEAR 0.4;
|
||||
after: "left2_r";
|
||||
}
|
||||
program {
|
||||
name: "left2_r";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "left_arrow2";
|
||||
after: "left2_1";
|
||||
}
|
||||
// RIGHT ARROW
|
||||
program {
|
||||
name: "right1_1";
|
||||
action: STATE_SET "1" 0.0;
|
||||
target: "right_arrow1";
|
||||
transition: LINEAR 0.4;
|
||||
after: "right1_2";
|
||||
}
|
||||
program {
|
||||
name: "right1_2";
|
||||
action: STATE_SET "2" 0.0;
|
||||
target: "right_arrow1";
|
||||
transition: LINEAR 0.4;
|
||||
after: "right1_r";
|
||||
}
|
||||
program {
|
||||
name: "right1_r";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "right_arrow1";
|
||||
after: "right1_1";
|
||||
}
|
||||
program {
|
||||
name: "right2_1";
|
||||
action: STATE_SET "1" 0.0;
|
||||
target: "right_arrow2";
|
||||
transition: LINEAR 0.4;
|
||||
after: "right2_2";
|
||||
}
|
||||
program {
|
||||
name: "right2_2";
|
||||
action: STATE_SET "2" 0.0;
|
||||
target: "right_arrow2";
|
||||
transition: LINEAR 0.4;
|
||||
after: "right2_r";
|
||||
}
|
||||
program {
|
||||
name: "right2_r";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "right_arrow2";
|
||||
after: "right2_1";
|
||||
}
|
||||
// TOP ARROW
|
||||
program {
|
||||
name: "top1_1";
|
||||
action: STATE_SET "1" 0.0;
|
||||
target: "top_arrow1";
|
||||
transition: LINEAR 0.4;
|
||||
after: "top1_2";
|
||||
}
|
||||
program {
|
||||
name: "top1_2";
|
||||
action: STATE_SET "2" 0.0;
|
||||
target: "top_arrow1";
|
||||
transition: LINEAR 0.4;
|
||||
after: "top1_r";
|
||||
}
|
||||
program {
|
||||
name: "top1_r";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "top_arrow1";
|
||||
after: "top1_1";
|
||||
}
|
||||
program {
|
||||
name: "top2_1";
|
||||
action: STATE_SET "1" 0.0;
|
||||
target: "top_arrow2";
|
||||
transition: LINEAR 0.4;
|
||||
after: "top2_2";
|
||||
}
|
||||
program {
|
||||
name: "top2_2";
|
||||
action: STATE_SET "2" 0.0;
|
||||
target: "top_arrow2";
|
||||
transition: LINEAR 0.4;
|
||||
after: "top2_r";
|
||||
}
|
||||
program {
|
||||
name: "top2_r";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "top_arrow2";
|
||||
after: "top2_1";
|
||||
}
|
||||
// BOTTOM ARROW
|
||||
program {
|
||||
name: "bottom1_1";
|
||||
action: STATE_SET "1" 0.0;
|
||||
target: "bottom_arrow1";
|
||||
transition: LINEAR 0.4;
|
||||
after: "bottom1_2";
|
||||
}
|
||||
program {
|
||||
name: "bottom1_2";
|
||||
action: STATE_SET "2" 0.0;
|
||||
target: "bottom_arrow1";
|
||||
transition: LINEAR 0.4;
|
||||
after: "bottom1_r";
|
||||
}
|
||||
program {
|
||||
name: "bottom1_r";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "bottom_arrow1";
|
||||
after: "bottom1_1";
|
||||
}
|
||||
program {
|
||||
name: "bottom2_1";
|
||||
action: STATE_SET "1" 0.0;
|
||||
target: "bottom_arrow2";
|
||||
transition: LINEAR 0.4;
|
||||
after: "bottom2_2";
|
||||
}
|
||||
program {
|
||||
name: "bottom2_2";
|
||||
action: STATE_SET "2" 0.0;
|
||||
target: "bottom_arrow2";
|
||||
transition: LINEAR 0.4;
|
||||
after: "bottom2_r";
|
||||
}
|
||||
program {
|
||||
name: "bottom2_r";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "bottom_arrow2";
|
||||
after: "bottom2_1";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,508 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** MOD: ILLUME-HOME-TOGGLE ***/
|
||||
|
||||
group {
|
||||
name: "e/modules/illume_home_toggle/main";
|
||||
images.image: "O/illume-home.png" COMP;
|
||||
images {
|
||||
image: "O/bt_base1.png" COMP;
|
||||
image: "O/bt_base2.png" COMP;
|
||||
image: "O/bt_hilight.png" COMP;
|
||||
image: "O/bt_shine.png" COMP;
|
||||
image: "O/bt_glow.png" COMP;
|
||||
}
|
||||
min: 16 16;
|
||||
max: 128 128;
|
||||
parts {
|
||||
part {
|
||||
name: "button_image";
|
||||
mouse_events: 1;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
align: 0.5 0.5;
|
||||
min: 32 16;
|
||||
image {
|
||||
normal: "O/bt_base2.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
}
|
||||
description {
|
||||
state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "O/bt_base1.png";
|
||||
}
|
||||
program {
|
||||
name: "button_down";
|
||||
signal: "mouse,down,1";
|
||||
source: "button_image";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "button_image";
|
||||
target: "over3";
|
||||
}
|
||||
program {
|
||||
name: "button_up";
|
||||
signal: "mouse,up,1";
|
||||
source: "button_image";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "button_image";
|
||||
target: "over3";
|
||||
}
|
||||
program {
|
||||
name: "button_click";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "button_image";
|
||||
action: SIGNAL_EMIT "e,action,home" "";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "icon";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: BOTH;
|
||||
image.normal: "O/illume-home.png";
|
||||
rel1 {
|
||||
to: "button_image";
|
||||
relative: 0.0 0.0;
|
||||
offset: 3 3;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -4 -4;
|
||||
to: "button_image";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over1";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
rel2.relative: 1.0 0.5;
|
||||
image {
|
||||
normal: "O/bt_hilight.png";
|
||||
border: 7 7 7 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over2";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
image {
|
||||
normal: "O/bt_shine.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over3";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
visible: 0;
|
||||
color: 255 255 255 0;
|
||||
image {
|
||||
normal: "O/bt_glow.png";
|
||||
border: 12 12 12 12;
|
||||
}
|
||||
fill.smooth : 0;
|
||||
}
|
||||
description {
|
||||
state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** MOD: ILLUME-KBD-TOGGLE ***/
|
||||
|
||||
group {
|
||||
name: "e/modules/illume_kbd_toggle/main";
|
||||
images.image: "O/illume-kbd.png" COMP;
|
||||
images.image: "O/illume-kbd-on.png" COMP;
|
||||
images {
|
||||
image: "O/bt_base1.png" COMP;
|
||||
image: "O/bt_base2.png" COMP;
|
||||
image: "O/bt_hilight.png" COMP;
|
||||
image: "O/bt_shine.png" COMP;
|
||||
image: "O/bt_glow.png" COMP;
|
||||
}
|
||||
min: 16 16;
|
||||
max: 128 128;
|
||||
parts {
|
||||
part {
|
||||
name: "button_image";
|
||||
mouse_events: 1;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
align: 0.5 0.5;
|
||||
min: 32 16;
|
||||
image {
|
||||
normal: "O/bt_base2.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
}
|
||||
description {
|
||||
state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "O/bt_base1.png";
|
||||
}
|
||||
program {
|
||||
name: "button_down";
|
||||
signal: "mouse,down,1";
|
||||
source: "button_image";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "button_image";
|
||||
target: "over3";
|
||||
}
|
||||
program {
|
||||
name: "button_up";
|
||||
signal: "mouse,up,1";
|
||||
source: "button_image";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "button_image";
|
||||
target: "over3";
|
||||
}
|
||||
program {
|
||||
name: "enable";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "button_image";
|
||||
action: SIGNAL_EMIT "e,action,vkbd,enable" "";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "icon";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: BOTH;
|
||||
image.normal: "O/illume-kbd.png";
|
||||
rel1 {
|
||||
to: "button_image";
|
||||
relative: 0.0 0.0;
|
||||
offset: 3 3;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -4 -4;
|
||||
to: "button_image";
|
||||
}
|
||||
}
|
||||
description { state: "on" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "O/illume-kbd-on.png";
|
||||
}
|
||||
program { name: "state_on";
|
||||
signal: "e,state,vkbd,on";
|
||||
source: "e";
|
||||
action: STATE_SET "on" 0.0;
|
||||
target: "icon";
|
||||
target: "on";
|
||||
}
|
||||
program { name: "state_off";
|
||||
signal: "e,state,vkbd,off";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "icon";
|
||||
target: "on";
|
||||
}
|
||||
}
|
||||
part { name: "on";
|
||||
type: RECT;
|
||||
mouse_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
color: 0 0 0 0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
}
|
||||
description { state: "on" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
program { name: "disable";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "on";
|
||||
action: SIGNAL_EMIT "e,action,vkbd,disable" "";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over1";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
rel2.relative: 1.0 0.5;
|
||||
image {
|
||||
normal: "O/bt_hilight.png";
|
||||
border: 7 7 7 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over2";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
image {
|
||||
normal: "O/bt_shine.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over3";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
visible: 0;
|
||||
color: 255 255 255 0;
|
||||
image {
|
||||
normal: "O/bt_glow.png";
|
||||
border: 12 12 12 12;
|
||||
}
|
||||
fill.smooth : 0;
|
||||
}
|
||||
description {
|
||||
state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** MOD: ILLUME-MODE-TOGGLE ***/
|
||||
|
||||
group {
|
||||
name: "e/modules/illume_mode_toggle/main";
|
||||
images.image: "O/illume-mode-single.png" COMP;
|
||||
images.image: "O/illume-mode-dual-left.png" COMP;
|
||||
images.image: "O/illume-mode-dual-top.png" COMP;
|
||||
images {
|
||||
image: "O/bt_base1.png" COMP;
|
||||
image: "O/bt_base2.png" COMP;
|
||||
image: "O/bt_hilight.png" COMP;
|
||||
image: "O/bt_shine.png" COMP;
|
||||
image: "O/bt_glow.png" COMP;
|
||||
}
|
||||
min: 16 16;
|
||||
max: 128 128;
|
||||
parts {
|
||||
part {
|
||||
name: "button_image";
|
||||
mouse_events: 1;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
align: 0.5 0.5;
|
||||
min: 32 16;
|
||||
image {
|
||||
normal: "O/bt_base2.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
}
|
||||
description {
|
||||
state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "O/bt_base1.png";
|
||||
}
|
||||
program {
|
||||
name: "button_down";
|
||||
signal: "mouse,down,1";
|
||||
source: "button_image";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "button_image";
|
||||
target: "over3";
|
||||
}
|
||||
program {
|
||||
name: "button_up";
|
||||
signal: "mouse,up,1";
|
||||
source: "button_image";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "button_image";
|
||||
target: "over3";
|
||||
}
|
||||
program {
|
||||
name: "enable";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "button_image";
|
||||
action: SIGNAL_EMIT "e,action,mode,dual,top" "";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "icon";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: BOTH;
|
||||
image.normal: "O/illume-mode-single.png";
|
||||
rel1 {
|
||||
to: "button_image";
|
||||
relative: 0.0 0.0;
|
||||
offset: 3 3;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -4 -4;
|
||||
to: "button_image";
|
||||
}
|
||||
}
|
||||
description { state: "dual_left" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "O/illume-mode-dual-left.png";
|
||||
}
|
||||
description { state: "dual_top" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "O/illume-mode-dual-top.png";
|
||||
}
|
||||
program { name: "state_single";
|
||||
signal: "e,mode,single";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "icon";
|
||||
target: "dual_left";
|
||||
target: "dual_top";
|
||||
}
|
||||
program { name: "state_dual_left";
|
||||
signal: "e,mode,dual,left";
|
||||
source: "e";
|
||||
action: STATE_SET "dual_left" 0.0;
|
||||
target: "icon";
|
||||
target: "dual_left";
|
||||
target: "dual_top";
|
||||
}
|
||||
program { name: "state_dual_top";
|
||||
signal: "e,mode,dual,top";
|
||||
source: "e";
|
||||
action: STATE_SET "dual_top" 0.0;
|
||||
target: "icon";
|
||||
target: "dual_left";
|
||||
target: "dual_top";
|
||||
}
|
||||
}
|
||||
part { name: "dual_top";
|
||||
type: RECT;
|
||||
mouse_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
color: 0 0 0 0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
}
|
||||
description { state: "dual_top" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
description { state: "dual_left" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
program { name: "dual_top";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "dual_top";
|
||||
action: SIGNAL_EMIT "e,action,mode,dual,left" "";
|
||||
}
|
||||
}
|
||||
part { name: "dual_left";
|
||||
type: RECT;
|
||||
mouse_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
color: 0 0 0 0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
}
|
||||
description { state: "dual_top" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "dual_left" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
program { name: "dual_left";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "dual_left";
|
||||
action: SIGNAL_EMIT "e,action,mode,single" "";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over1";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
rel2.relative: 1.0 0.5;
|
||||
image {
|
||||
normal: "O/bt_hilight.png";
|
||||
border: 7 7 7 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over2";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
image {
|
||||
normal: "O/bt_shine.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over3";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "button_image";
|
||||
rel2.to: "button_image";
|
||||
visible: 0;
|
||||
color: 255 255 255 0;
|
||||
image {
|
||||
normal: "O/bt_glow.png";
|
||||
border: 12 12 12 12;
|
||||
}
|
||||
fill.smooth : 0;
|
||||
}
|
||||
description {
|
||||
state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
|
@ -1,206 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** MOD: MIXER ***/
|
||||
// TODO: Add code for making sound circles fade between states.
|
||||
|
||||
group {
|
||||
name: "e/modules/mixer/main";
|
||||
images {
|
||||
image: "O/mixer.png" COMP;
|
||||
image: "O/mixer_low_left.png" COMP;
|
||||
image: "O/mixer_low_right.png" COMP;
|
||||
image: "O/mixer_med_left.png" COMP;
|
||||
image: "O/mixer_med_right.png" COMP;
|
||||
image: "O/mixer_high_left.png" COMP;
|
||||
image: "O/mixer_high_right.png" COMP;
|
||||
}
|
||||
max: 128 128;
|
||||
min: 1 1;
|
||||
script {
|
||||
public message(Msg_Type:type, id, ...) {
|
||||
if ((type == MSG_INT_SET) && (id == 0)) {
|
||||
new mute, left, right;
|
||||
mute = getarg(2);
|
||||
left = getarg(3);
|
||||
right = getarg(4);
|
||||
if (mute)
|
||||
run_program(PROGRAM:"mute");
|
||||
else
|
||||
run_program(PROGRAM:"unmute");
|
||||
|
||||
if (left <= 0)
|
||||
run_program(PROGRAM:"left_none");
|
||||
else if (left < 33)
|
||||
run_program(PROGRAM:"left_low");
|
||||
else if (left < 66)
|
||||
run_program(PROGRAM:"left_medium");
|
||||
else if (left >= 66)
|
||||
run_program(PROGRAM:"left_high");
|
||||
|
||||
if (right <= 0)
|
||||
run_program(PROGRAM:"right_none");
|
||||
else if (right < 33)
|
||||
run_program(PROGRAM:"right_low");
|
||||
else if (right < 66)
|
||||
run_program(PROGRAM:"right_medium");
|
||||
else if (right >= 66)
|
||||
run_program(PROGRAM:"right_high");
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part {
|
||||
name: "speaker";
|
||||
type: IMAGE;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1 1;
|
||||
aspect_preference: BOTH;
|
||||
image.normal: "O/mixer.png";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "left";
|
||||
type: IMAGE;
|
||||
clip_to: "mute";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 0;
|
||||
aspect: 1 1;
|
||||
aspect_preference: BOTH;
|
||||
rel1.to: "speaker";
|
||||
rel2.to: "speaker";
|
||||
image.normal: "O/mixer_low_left.png";
|
||||
}
|
||||
description {
|
||||
state: "low" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
description {
|
||||
state: "medium" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
image.normal: "O/mixer_med_left.png";
|
||||
}
|
||||
description {
|
||||
state: "high" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
image.normal: "O/mixer_high_left.png";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "right";
|
||||
type: IMAGE;
|
||||
clip_to: "mute";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 0;
|
||||
aspect: 1 1;
|
||||
aspect_preference: BOTH;
|
||||
rel1.to: "speaker";
|
||||
rel2.to: "speaker";
|
||||
image.normal: "O/mixer_low_right.png";
|
||||
}
|
||||
description {
|
||||
state: "low" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
description {
|
||||
state: "medium" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
image.normal: "O/mixer_med_right.png";
|
||||
}
|
||||
description {
|
||||
state: "high" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
image.normal: "O/mixer_high_right.png";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "mute";
|
||||
mouse_events: 0;
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description {
|
||||
state: "active" 0.0;
|
||||
color: 255 255 255 64;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "speaker";
|
||||
rel2.to: "speaker";
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "mute";
|
||||
action: STATE_SET "active" 0.0;
|
||||
transition: LINEAR 0.3;
|
||||
target: "mute";
|
||||
}
|
||||
program {
|
||||
name: "unmute";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: LINEAR 0.2;
|
||||
target: "mute";
|
||||
}
|
||||
program {
|
||||
name: "left_none";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "left";
|
||||
}
|
||||
program {
|
||||
name: "left_low";
|
||||
action: STATE_SET "low" 0.0;
|
||||
target: "left";
|
||||
}
|
||||
program {
|
||||
name: "left_medium";
|
||||
action: STATE_SET "medium" 0.0;
|
||||
target: "left";
|
||||
}
|
||||
program {
|
||||
name: "left_high";
|
||||
action: STATE_SET "high" 0.0;
|
||||
target: "left";
|
||||
}
|
||||
program {
|
||||
name: "right_none";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "right";
|
||||
}
|
||||
program {
|
||||
name: "right_low";
|
||||
action: STATE_SET "low" 0.0;
|
||||
target: "right";
|
||||
}
|
||||
program {
|
||||
name: "right_medium";
|
||||
action: STATE_SET "medium" 0.0;
|
||||
target: "right";
|
||||
}
|
||||
program {
|
||||
name: "right_high";
|
||||
action: STATE_SET "high" 0.0;
|
||||
target: "right";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,619 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** MOD: CONF_RANDR ***/
|
||||
group
|
||||
{
|
||||
name: "e/conf/randr/main/monitor";
|
||||
parts
|
||||
{
|
||||
part
|
||||
{
|
||||
name: "base";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "e.swallow.frame";
|
||||
type: SWALLOW;
|
||||
clip_to: "base";
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel1
|
||||
{
|
||||
offset: 2 0;
|
||||
to: "base";
|
||||
}
|
||||
rel2.to: "base";
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "e.swallow.stand";
|
||||
type: SWALLOW;
|
||||
clip_to: "base";
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
align: 0.5 0.0;
|
||||
rel1
|
||||
{
|
||||
relative: 0.0 1.0;
|
||||
offset: 0 19;
|
||||
to_x: "base";
|
||||
to_y: "e.swallow.frame";
|
||||
}
|
||||
rel2.to_x: "e.swallow.frame";
|
||||
}
|
||||
}
|
||||
}
|
||||
programs
|
||||
{
|
||||
program
|
||||
{
|
||||
name: "enabled";
|
||||
signal: "e,state,enabled";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "disabled";
|
||||
signal: "e,state,disabled";
|
||||
source: "e";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group
|
||||
{
|
||||
name: "e/conf/randr/main/frame";
|
||||
images
|
||||
{
|
||||
image: "O/randr_monitor.png" COMP;
|
||||
image: "O/randr_icon_off.png" COMP;
|
||||
image: "O/randr_icon_on.png" COMP;
|
||||
image: "O/big_arrow_up.png" COMP;
|
||||
}
|
||||
styles
|
||||
{
|
||||
style
|
||||
{
|
||||
name: "output_name";
|
||||
base: "font=Sans:style=Bold font_size=10 text_class=tb_plain align=center valign=center color=#ffffff style=soft_shadow shadow_color=#00000080 wrap=word";
|
||||
tag: "br" "\n";
|
||||
tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light";
|
||||
}
|
||||
style
|
||||
{
|
||||
name: "resolution";
|
||||
base: "font=Sans:style=Bold font_size=12 text_class=tb_plain align=center valign=center color=#ffffff style=soft_shadow shadow_color=#00000080 wrap=word";
|
||||
tag: "br" "\n";
|
||||
tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light";
|
||||
}
|
||||
}
|
||||
parts
|
||||
{
|
||||
part
|
||||
{
|
||||
name: "clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel1.to: "e.swallow.preview";
|
||||
rel2.to: "e.swallow.preview";
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "e.swallow.preview";
|
||||
type: SWALLOW;
|
||||
clip_to: "clip";
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel1
|
||||
{
|
||||
offset: 12 14;
|
||||
to: "frame";
|
||||
}
|
||||
rel2
|
||||
{
|
||||
offset: -14 -14;
|
||||
to: "frame";
|
||||
}
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "e.text.resolution";
|
||||
type: TEXTBLOCK;
|
||||
mouse_events: 0;
|
||||
clip_to: "clip";
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
align: 0.5 0.5;
|
||||
rel1
|
||||
{
|
||||
relative: 0.0 1.0;
|
||||
offset: 0 0;
|
||||
to_x: "e.swallow.preview";
|
||||
to_y: "e.text.name";
|
||||
}
|
||||
rel2
|
||||
{
|
||||
offset: -1 -3;
|
||||
to: "e.swallow.preview";
|
||||
}
|
||||
text
|
||||
{
|
||||
style: "resolution";
|
||||
min: 1.0 1.0;
|
||||
max: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "e.text.name";
|
||||
type: TEXTBLOCK;
|
||||
mouse_events: 0;
|
||||
clip_to: "clip";
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
align: 0.5 0.0;
|
||||
color: 255 255 255 255;
|
||||
rel1
|
||||
{
|
||||
offset: 0 10;
|
||||
to: "e.swallow.preview";
|
||||
}
|
||||
rel2.to: "e.swallow.preview";
|
||||
text
|
||||
{
|
||||
style: "output_name";
|
||||
min: 1.0 1.0;
|
||||
max: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "refresh_tab";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
clip_to: "clip";
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
rel1
|
||||
{
|
||||
relative: 0.0 1.0;
|
||||
offset: 2 -16;
|
||||
to: "e.swallow.preview";
|
||||
}
|
||||
rel2
|
||||
{
|
||||
relative: 0.0 1.0;
|
||||
offset: 23 0;
|
||||
to: "e.swallow.preview";
|
||||
}
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "out" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 200;
|
||||
rel1
|
||||
{
|
||||
relative: 0.0 0.0;
|
||||
offset: 2 2;
|
||||
to: "e.swallow.preview";
|
||||
}
|
||||
rel2
|
||||
{
|
||||
relative: 0.0 0.0;
|
||||
offset: 23 16;
|
||||
to: "e.swallow.preview";
|
||||
}
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "refresh_arrow";
|
||||
type: IMAGE;
|
||||
mouse_events: 0;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
align: 0.5 0.5;
|
||||
min: 22 22;
|
||||
max: 22 22;
|
||||
rel1.to: "refresh_tab";
|
||||
rel2.to: "refresh_tab";
|
||||
image.normal: "O/big_arrow_up.png";
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "refresh_bg";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
clip_to: "clip";
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 200;
|
||||
rel1.to: "e.swallow.refresh";
|
||||
rel2.to: "e.swallow.refresh";
|
||||
visible: 0;
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "out" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "e.swallow.refresh";
|
||||
type: SWALLOW;
|
||||
clip_to: "clip";
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
align: 0.0 0.0;
|
||||
fixed: 1 0;
|
||||
rel1
|
||||
{
|
||||
relative: 0.0 1.0;
|
||||
to: "refresh_tab";
|
||||
}
|
||||
rel2
|
||||
{
|
||||
relative: 0.0 1.0;
|
||||
to_x: "refresh_tab";
|
||||
to_y: "e.swallow.preview";
|
||||
}
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "e.event.arrow.hide";
|
||||
type: RECT;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
rel1.to: "refresh_tab";
|
||||
rel2.to: "refresh_tab";
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "out" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "e.event.arrow.show";
|
||||
type: RECT;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
visible: 0;
|
||||
rel1.to: "refresh_tab";
|
||||
rel2.to: "refresh_tab";
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "out" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "frame";
|
||||
type: IMAGE;
|
||||
mouse_events: 0;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
image
|
||||
{
|
||||
normal: "O/randr_monitor.png";
|
||||
border: 14 14 15 14;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* we will use a rect in this theme. Other themes could use
|
||||
* an icon to indicate rotate (or whatever they want).
|
||||
*
|
||||
* Regardless of what is used, the 'rotate' object
|
||||
* should emit signals for mouse_in, mouse_out, and also
|
||||
* signals to indicate when to start or stop rotating */
|
||||
part
|
||||
{
|
||||
name: "e.event.rotate";
|
||||
type: RECT;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
rel1
|
||||
{
|
||||
relative: 0.0 1.0;
|
||||
offset: 0 -13;
|
||||
to: "frame";
|
||||
}
|
||||
rel2
|
||||
{
|
||||
relative: 0.0 1.0;
|
||||
offset: 11 -1;
|
||||
to: "frame";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* we will use a rect in this theme. Other themes could use
|
||||
* an icon to indicate resize (or whatever they want).
|
||||
*
|
||||
* Regardless of what is used, the 'resize' object
|
||||
* should emit signals for mouse_in, mouse_out, and also
|
||||
* signals to indicate when to start or stop resizing */
|
||||
part
|
||||
{
|
||||
name: "e.event.resize";
|
||||
type: RECT;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
rel1
|
||||
{
|
||||
relative: 1.0 1.0;
|
||||
offset: -13 -13;
|
||||
to: "frame";
|
||||
}
|
||||
rel2.to: "frame";
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "overlay";
|
||||
type: RECT;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
visible: 0;
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
|
||||
part
|
||||
{
|
||||
name: "indicator";
|
||||
type: IMAGE;
|
||||
mouse_events: 0;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel1
|
||||
{
|
||||
offset: -13 0;
|
||||
to: "e.event.resize";
|
||||
}
|
||||
rel2
|
||||
{
|
||||
relative: 0.0 1.0;
|
||||
offset: 0 -1;
|
||||
to: "e.event.resize";
|
||||
}
|
||||
image.normal: "O/randr_icon_on.png";
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "O/randr_icon_off.png";
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "e.event.indicator";
|
||||
type: RECT;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
rel1.to: "indicator";
|
||||
rel2.to: "indicator";
|
||||
}
|
||||
}
|
||||
}
|
||||
programs
|
||||
{
|
||||
program
|
||||
{
|
||||
name: "resize_mouse_in";
|
||||
signal: "mouse,in";
|
||||
source: "e.event.resize";
|
||||
action: SIGNAL_EMIT "e,action,resize,in" "e";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "resize_mouse_out";
|
||||
signal: "mouse,out";
|
||||
source: "e.event.resize";
|
||||
action: SIGNAL_EMIT "e,action,resize,out" "e";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "resize_start";
|
||||
signal: "mouse,down,1";
|
||||
source: "e.event.resize";
|
||||
action: SIGNAL_EMIT "e,action,resize,start" "e";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "resize_stop";
|
||||
signal: "mouse,up,1";
|
||||
source: "e.event.resize";
|
||||
action: SIGNAL_EMIT "e,action,resize,stop" "e";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "rotate_mouse_in";
|
||||
signal: "mouse,in";
|
||||
source: "e.event.rotate";
|
||||
action: SIGNAL_EMIT "e,action,rotate,in" "e";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "rotate_mouse_out";
|
||||
signal: "mouse,out";
|
||||
source: "e.event.rotate";
|
||||
action: SIGNAL_EMIT "e,action,rotate,out" "e";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "rotate_start";
|
||||
signal: "mouse,down,1";
|
||||
source: "e.event.rotate";
|
||||
action: SIGNAL_EMIT "e,action,rotate,start" "e";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "rotate_stop";
|
||||
signal: "mouse,up,1";
|
||||
source: "e.event.rotate";
|
||||
action: SIGNAL_EMIT "e,action,rotate,stop" "e";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "indicator_mouse_in";
|
||||
signal: "mouse,in";
|
||||
source: "e.event.indicator";
|
||||
action: SIGNAL_EMIT "e,action,indicator,in" "e";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "indicator_mouse_out";
|
||||
signal: "mouse,out";
|
||||
source: "e.event.indicator";
|
||||
action: SIGNAL_EMIT "e,action,indicator,out" "e";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "indicator_toggle";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "e.event.indicator";
|
||||
action: SIGNAL_EMIT "e,action,indicator,toggle" "e";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "enabled";
|
||||
signal: "e,state,enabled";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "indicator";
|
||||
target: "overlay";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "disabled";
|
||||
signal: "e,state,disabled";
|
||||
source: "e";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "indicator";
|
||||
target: "overlay";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "refresh_click_show";
|
||||
signal: "mouse,down,1";
|
||||
source: "e.event.arrow.hide";
|
||||
action: SIGNAL_EMIT "e,action,panel,show" "e";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "refresh_show";
|
||||
signal: "e,action,panel,show";
|
||||
source: "e";
|
||||
action: STATE_SET "out" 0.0;
|
||||
target: "refresh_bg";
|
||||
target: "refresh_tab";
|
||||
target: "e.event.arrow.hide";
|
||||
target: "e.event.arrow.show";
|
||||
transition: DECELERATE 0.5;
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "refresh_click_hide";
|
||||
signal: "mouse,down,1";
|
||||
source: "e.event.arrow.show";
|
||||
action: SIGNAL_EMIT "e,action,panel,hide" "e";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "refresh_hide";
|
||||
signal: "e,action,panel,hide";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "refresh_bg";
|
||||
target: "refresh_tab";
|
||||
target: "e.event.arrow.hide";
|
||||
target: "e.event.arrow.show";
|
||||
transition: ACCELERATE 0.2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group
|
||||
{
|
||||
name: "e/conf/randr/main/stand";
|
||||
images.image: "O/randr_stand.png" COMP;
|
||||
parts
|
||||
{
|
||||
part
|
||||
{
|
||||
name: "stand";
|
||||
type: IMAGE;
|
||||
mouse_events: 0;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
aspect: (299/81) (299/81);
|
||||
min: 150 41;
|
||||
max: 150 41;
|
||||
image.normal: "O/randr_stand.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,107 +0,0 @@
|
|||
/* Used in the color selector widget in Wallpaper Gradient dialog */
|
||||
group {
|
||||
name: "e/widgets/spectrum";
|
||||
images.image: "O/inset_sunk.png" COMP;
|
||||
parts {
|
||||
part {
|
||||
name: "content_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "e.swallow.content";
|
||||
rel2.to: "e.swallow.content";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.swallow.content";
|
||||
type: SWALLOW;
|
||||
clip_to: "content_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "border";
|
||||
mouse_events: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
to: "e.swallow.content";
|
||||
offset: -1 -1;
|
||||
}
|
||||
rel2 {
|
||||
to: "e.swallow.content";
|
||||
offset: 0 0;
|
||||
}
|
||||
image {
|
||||
normal: "O/inset_sunk.png";
|
||||
border: 7 7 7 7;
|
||||
middle: 0;
|
||||
}
|
||||
fill.smooth : 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.dragable.cursor";
|
||||
type: RECT;
|
||||
dragable {
|
||||
confine: "e.swallow.content";
|
||||
x: 1 1 0;
|
||||
y: 1 1 0;
|
||||
}
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
min: 1 1;
|
||||
max: 1 1;
|
||||
fixed: 1 1;
|
||||
visible: 0;
|
||||
rel1 {
|
||||
to: "e.swallow.content";
|
||||
relative: 0.5 0.5;
|
||||
offset: 0 0;
|
||||
}
|
||||
rel2 {
|
||||
to: "e.swallow.content";
|
||||
relative: 0.5 0.5;
|
||||
offset: 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "cursor_x";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
to_x: "e.dragable.cursor";
|
||||
to_y: "e.swallow.content";
|
||||
}
|
||||
rel2 {
|
||||
to_x: "e.dragable.cursor";
|
||||
to_y: "e.swallow.content";
|
||||
}
|
||||
color: 255 255 255 150;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "cursor_y";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
to_x: "e.swallow.content";
|
||||
to_y: "e.dragable.cursor";
|
||||
}
|
||||
rel2 {
|
||||
to_x: "e.swallow.content";
|
||||
to_y: "e.dragable.cursor";
|
||||
}
|
||||
color: 255 255 255 150;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,214 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** MOD: TEMPERATURE ***/
|
||||
|
||||
group {
|
||||
name: "e/modules/temperature/main";
|
||||
images {
|
||||
image: "O/temp_base.png" COMP;
|
||||
image: "O/temp_mid.png" COMP;
|
||||
image: "O/temp_over.png" COMP;
|
||||
}
|
||||
min: 16 16;
|
||||
max: 128 128;
|
||||
script {
|
||||
public message(Msg_Type:type, id, ...) {
|
||||
if ((type == MSG_FLOAT) && (id == 1)) {
|
||||
new Float:val;
|
||||
val = getfarg(2);
|
||||
set_drag(PART:"temp_top", 0.0, val);
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part {
|
||||
name: "base";
|
||||
clip_to: "fade_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 0.387 0.387;
|
||||
aspect_preference: BOTH;
|
||||
align: 0.5 0.5;
|
||||
max: 48 124;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
}
|
||||
image {
|
||||
normal: "O/temp_base.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "temp";
|
||||
clip_to: "temp_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
to: "base";
|
||||
}
|
||||
rel2 {
|
||||
to: "base";
|
||||
}
|
||||
image {
|
||||
normal: "O/temp_mid.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "overlay";
|
||||
clip_to: "fade_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
to: "base";
|
||||
}
|
||||
rel2 {
|
||||
to: "base";
|
||||
}
|
||||
image {
|
||||
normal: "O/temp_over.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.reading";
|
||||
type: TEXT;
|
||||
scale: 1;
|
||||
effect: OUTLINE_SOFT_SHADOW;
|
||||
clip_to: "fade_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
align: 1.0 0.0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to_x: "temp";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.0;
|
||||
}
|
||||
color: 255 255 255 0;
|
||||
color2: 0 0 0 0;
|
||||
color3: 0 0 0 0;
|
||||
color_class: "module_label";
|
||||
text {
|
||||
font: "Sans:style=Bold";
|
||||
size: 8;
|
||||
min: 1 1;
|
||||
align: 0.0 0.0;
|
||||
text_class: "module_small";
|
||||
}
|
||||
}
|
||||
description {
|
||||
state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
color2: 0 0 0 128;
|
||||
color3: 0 0 0 32;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "fade_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description {
|
||||
state: "faded" 0.0;
|
||||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "temp_clip";
|
||||
type: RECT;
|
||||
clip_to: "fade_clip";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
to_x: "base";
|
||||
to_y: "temp_top";
|
||||
}
|
||||
rel2 {
|
||||
to: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "temp_top";
|
||||
type: RECT;
|
||||
dragable {
|
||||
x: 0 0 0;
|
||||
y: -1 1 0;
|
||||
confine: "temp_limit";
|
||||
}
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "temp_limit";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 0;
|
||||
rel1 {
|
||||
relative: 0.0 0.081;
|
||||
to: "base";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.637;
|
||||
to: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "over";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "hover1";
|
||||
signal: "mouse,in";
|
||||
source: "over";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: LINEAR 0.3;
|
||||
target: "e.text.reading";
|
||||
}
|
||||
program {
|
||||
name: "hover2";
|
||||
signal: "mouse,out";
|
||||
source: "over";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: LINEAR 1.0;
|
||||
target: "e.text.reading";
|
||||
}
|
||||
program {
|
||||
name: "known";
|
||||
signal: "e,state,known";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "fade_clip";
|
||||
}
|
||||
program {
|
||||
name: "unknown";
|
||||
signal: "e,state,unknown";
|
||||
source: "e";
|
||||
action: STATE_SET "faded" 0.0;
|
||||
target: "fade_clip";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,221 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** TRANSITIONS ***/
|
||||
/* The fake backgrounds used in the Transitions config dialog */
|
||||
|
||||
images {
|
||||
image: "O/vgrad_dark.png" COMP;
|
||||
image: "O/vgrad_light.png" COMP;
|
||||
image: "O/logo_black_128.png" COMP;
|
||||
image: "O/logo_white_128.png" COMP;
|
||||
}
|
||||
group {
|
||||
name: "e/transpreview/0";
|
||||
parts {
|
||||
part {
|
||||
name: "bg";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image.normal: "O/vgrad_dark.png";
|
||||
fill {
|
||||
size {
|
||||
relative: 0 1.0;
|
||||
offset: 36 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "logo";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image.normal: "O/logo_white_128.png";
|
||||
min: 32 32;
|
||||
max: 128 128;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
group {
|
||||
name: "e/transpreview/1";
|
||||
parts {
|
||||
part {
|
||||
name: "bg";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image.normal: "O/vgrad_light.png";
|
||||
fill {
|
||||
size {
|
||||
relative: 0 1.0;
|
||||
offset: 36 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "logo";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image.normal: "O/logo_black_128.png";
|
||||
min: 32 32;
|
||||
max: 128 128;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/* e/transitions/* The look of transitions when swapping desks */
|
||||
group {
|
||||
name: "e/transitions/crossfade";
|
||||
parts {
|
||||
part {
|
||||
name: "e.swallow.bg.old";
|
||||
type: SWALLOW;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.swallow.bg.new";
|
||||
type: SWALLOW;
|
||||
clip_to: "bg_new_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "bg_new_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
description {
|
||||
state: "done" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "go";
|
||||
signal: "e,action,start";
|
||||
source: "e";
|
||||
action: STATE_SET "done" 0.0;
|
||||
transition: SINUSOIDAL 1.0;
|
||||
target: "bg_new_clip";
|
||||
after: "go2";
|
||||
}
|
||||
program {
|
||||
name: "go2";
|
||||
action: SIGNAL_EMIT "e,state,done" "";
|
||||
}
|
||||
}
|
||||
}
|
||||
group {
|
||||
name: "e/transitions/vswipe";
|
||||
images.image: "O/transition_vswipe.png" COMP;
|
||||
parts {
|
||||
part {
|
||||
name: "e.swallow.bg.old";
|
||||
type: SWALLOW;
|
||||
clip_to: "bg_prev_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.swallow.bg.new";
|
||||
type: SWALLOW;
|
||||
clip_to: "bg_new_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "bg_prev_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.offset: 0 -32;
|
||||
rel2.offset: -1 31;
|
||||
}
|
||||
description {
|
||||
state: "done" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
offset: 0 31;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -1 31;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "bg_new_clip";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: 0 -32;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.0;
|
||||
offset: -1 -32;
|
||||
}
|
||||
}
|
||||
description {
|
||||
state: "done" 0.0;
|
||||
rel1.offset: 0 -32;
|
||||
rel2.offset: -1 31;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "swipe_gap";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
min: 0 64;
|
||||
max: 99999 64;
|
||||
rel1 {
|
||||
to: "bg_prev_clip";
|
||||
relative: 0.0 0.0;
|
||||
offset: 0 0;
|
||||
}
|
||||
rel2 {
|
||||
to: "bg_prev_clip";
|
||||
relative: 1.0 0.0;
|
||||
offset: -1 0;
|
||||
}
|
||||
image.normal: "O/transition_vswipe.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "go";
|
||||
signal: "e,action,start";
|
||||
source: "e";
|
||||
action: STATE_SET "done" 0.0;
|
||||
transition: SINUSOIDAL 1.0;
|
||||
target: "bg_new_clip";
|
||||
target: "bg_prev_clip";
|
||||
after: "go2";
|
||||
}
|
||||
program {
|
||||
name: "go2";
|
||||
action: SIGNAL_EMIT "e,state,done" "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,414 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** MOD: WINLIST ***/
|
||||
|
||||
/* e/widgets/winlist/* is the Window List
|
||||
gadget that pops up with Alt Tab */
|
||||
|
||||
group {
|
||||
name: "e/widgets/winlist/main";
|
||||
images {
|
||||
image: "O/base_bg.png" COMP;
|
||||
image: "O/bd_top_hilight.png" COMP;
|
||||
image: "O/bd_title_bg.png" COMP;
|
||||
image: "O/bd_title_over.png" COMP;
|
||||
image: "O/menu_sep.png" COMP;
|
||||
}
|
||||
parts {
|
||||
part {
|
||||
name: "base";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image {
|
||||
normal: "O/base_bg.png";
|
||||
border: 2 2 2 2;
|
||||
}
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "top_hilight";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -1 15;
|
||||
image.normal: "O/bd_top_hilight.png";
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "title_back";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.offset: 4 0;
|
||||
rel2.offset: -5 -4;
|
||||
rel2.to_y: "e.text.title";
|
||||
image {
|
||||
normal: "O/bd_title_bg.png";
|
||||
border: 7 7 2 7;
|
||||
}
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.swallow.icon";
|
||||
type: SWALLOW;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: VERTICAL;
|
||||
align: 0.5 0.0;
|
||||
min: 24 24;
|
||||
max: 24 24;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
offset: 1 6;
|
||||
to_y: "title_back";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -2 30;
|
||||
to_y: "title_back";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "separator";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
min: 16 2;
|
||||
rel1 {
|
||||
offset: 16 2;
|
||||
relative: 0.0 1.0;
|
||||
to_y: "e.text.label";
|
||||
}
|
||||
rel2 {
|
||||
offset: -17 4;
|
||||
relative: 1.0 1.0;
|
||||
to_y: "e.text.label";
|
||||
}
|
||||
image {
|
||||
normal: "O/menu_sep.png";
|
||||
border: 2 2 0 0;
|
||||
}
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.swallow.list";
|
||||
type: SWALLOW;
|
||||
clip_to: "list_clip";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
offset: 12 12;
|
||||
to_y: "e.text.label";
|
||||
}
|
||||
rel2.offset: -13 -12;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "list_clip";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
rel1.to_y: "e.swallow.list";
|
||||
rel2.to_y: "e.swallow.list";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.label";
|
||||
type: TEXT;
|
||||
effect: NONE;
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
align: 0.5 0.5;
|
||||
fixed: 0 1;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
offset: 16 16;
|
||||
to_y: "e.swallow.icon";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -17 16;
|
||||
to_y: "e.swallow.icon";
|
||||
}
|
||||
color_class: "winlist_label";
|
||||
color: 0 0 0 255;
|
||||
text {
|
||||
text: "Title goes here";
|
||||
font: "Sans:style=Bold";
|
||||
size: 10;
|
||||
min: 0 1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "winlist_label";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.title";
|
||||
type: TEXT;
|
||||
mouse_events: 0;
|
||||
effect: SOFT_SHADOW;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
align: 0.5 0.0;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: 0 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.0;
|
||||
offset: -1 0;
|
||||
}
|
||||
color: 224 224 224 255;
|
||||
color3: 0 0 0 64;
|
||||
text {
|
||||
font: "Sans:style=Bold";
|
||||
size: 10;
|
||||
align: 0.5 0.0;
|
||||
min: 1 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "title_over";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "title_back";
|
||||
rel2.to: "title_back";
|
||||
image {
|
||||
normal: "O/bd_title_over.png";
|
||||
border: 7 7 2 7;
|
||||
}
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
group {
|
||||
name: "e/widgets/winlist/item";
|
||||
images {
|
||||
image: "O/menu_sel_bg.png" COMP;
|
||||
image: "O/menu_sel_fg.png" COMP;
|
||||
image: "O/pager_window.png" COMP;
|
||||
image: "O/pager_window_shaded.png" COMP;
|
||||
image: "O/pager_base2.png" COMP;
|
||||
}
|
||||
parts {
|
||||
part {
|
||||
name: "bg";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 0;
|
||||
color: 255 255 255 0;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: -5 -3;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: 4 5;
|
||||
}
|
||||
image {
|
||||
normal: "O/menu_sel_bg.png";
|
||||
border: 8 8 5 9;
|
||||
}
|
||||
}
|
||||
description {
|
||||
state: "selected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
color: 255 255 255 255;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: -2 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: 1 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "fg";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 0;
|
||||
color: 255 255 255 0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
image {
|
||||
normal: "O/menu_sel_fg.png";
|
||||
border: 8 8 5 9;
|
||||
}
|
||||
}
|
||||
description {
|
||||
state: "selected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.swallow.icon";
|
||||
type: SWALLOW;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: VERTICAL;
|
||||
align: 0.0 0.5;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: 4 3;
|
||||
}
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
offset: 4 -1;
|
||||
to_y: "e.text.label";
|
||||
}
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "type";
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
min: 23 24;
|
||||
max: 23 24;
|
||||
align: 1.0 0.5;
|
||||
rel1 {
|
||||
relative: 1.0 0.5;
|
||||
offset: -23 -12;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.5;
|
||||
offset: -1 11;
|
||||
to_y: "e.text.label";
|
||||
}
|
||||
image.normal: "O/pager_window.png";
|
||||
}
|
||||
description {
|
||||
state: "iconified" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
description {
|
||||
state: "invisible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "O/pager_base2.png";
|
||||
}
|
||||
description {
|
||||
state: "shaded" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "O/pager_window_shaded.png";
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.text.label";
|
||||
type: TEXT;
|
||||
effect: SHADOW;
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
align: 0.0 0.5;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
offset: 3 5;
|
||||
to_x: "e.swallow.icon";
|
||||
}
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
offset: -4 -4;
|
||||
to_x: "type";
|
||||
}
|
||||
color_class: "winlist_item";
|
||||
color: 0 0 0 255;
|
||||
text {
|
||||
font: "Sans";
|
||||
size: 10;
|
||||
min: 0 1;
|
||||
align: 0.0 0.5;
|
||||
text_class: "winlist_title";
|
||||
}
|
||||
}
|
||||
description {
|
||||
state: "selected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color_class: "winlist_item_active";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "e.event.winlist.item";
|
||||
type: RECT;
|
||||
mouse_events: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
min: 12 12;
|
||||
visible: 1;
|
||||
color: 0 0 0 0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "type1";
|
||||
signal: "e,state,iconified";
|
||||
source: "e";
|
||||
action: STATE_SET "iconified" 0.0;
|
||||
target: "type";
|
||||
}
|
||||
program {
|
||||
name: "type2";
|
||||
signal: "e,state,invisible";
|
||||
source: "e";
|
||||
action: STATE_SET "invisible" 0.0;
|
||||
target: "type";
|
||||
}
|
||||
program {
|
||||
name: "type3";
|
||||
signal: "e,state,shaded";
|
||||
source: "e";
|
||||
action: STATE_SET "shaded" 0.0;
|
||||
target: "type";
|
||||
}
|
||||
program {
|
||||
name: "sel";
|
||||
signal: "e,state,selected";
|
||||
source: "e";
|
||||
action: STATE_SET "selected" 0.0;
|
||||
transition: LINEAR 0.2;
|
||||
target: "bg";
|
||||
target: "fg";
|
||||
target: "e.text.label";
|
||||
}
|
||||
program {
|
||||
name: "unsel";
|
||||
signal: "e,state,unselected";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: LINEAR 0.1;
|
||||
target: "bg";
|
||||
target: "fg";
|
||||
target: "e.text.label";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,230 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** MOD: WIZARD ***/
|
||||
|
||||
group { name: "e/wizard/firstpage";
|
||||
images {
|
||||
image: "O/logo_black_128.png" COMP;
|
||||
}
|
||||
parts {
|
||||
part { name: "base";
|
||||
description { state: "default" 0.0;
|
||||
max: 128 128;
|
||||
image.normal: "O/logo_black_128.png";
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: BOTH;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
group { name: "e/wizard/extra";
|
||||
images {
|
||||
image: "O/bg_shadow.png" COMP;
|
||||
image: "O/wizard_pattern.png" COMP;
|
||||
}
|
||||
parts {
|
||||
part { name: "base";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "O/wizard_pattern.png";
|
||||
fill {
|
||||
smooth: 0;
|
||||
size {
|
||||
relative: 0.0 0.0;
|
||||
offset: 200 200;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "shadow";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "O/bg_shadow.png";
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part { name: "fade"; type: RECT;
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 255;
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "fade_in";
|
||||
signal: "show";
|
||||
source: "";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "fade";
|
||||
}
|
||||
}
|
||||
}
|
||||
group { name: "e/wizard/main";
|
||||
images {
|
||||
image: "O/bg_shadow.png" COMP;
|
||||
image: "O/wizard_pattern.png" COMP;
|
||||
image: "O/wizard_bt1.png" COMP;
|
||||
image: "O/wizard_bt2.png" COMP;
|
||||
}
|
||||
parts {
|
||||
part { name: "base";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "O/wizard_pattern.png";
|
||||
fill {
|
||||
smooth: 0;
|
||||
size {
|
||||
relative: 0.0 0.0;
|
||||
offset: 200 200;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "e.swallow.content"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1 {
|
||||
to_y: "e.text.title";
|
||||
relative: 0.2 1.0;
|
||||
offset: 8 8;
|
||||
}
|
||||
rel2 {
|
||||
to_y: "e.text.label";
|
||||
relative: 0.8 0.0;
|
||||
offset: -9 -21;
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "e.text.title"; type: TEXT;
|
||||
effect: SOFT_SHADOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.05 0.05;
|
||||
rel2.relative: 0.95 0.10;
|
||||
color: 255 255 255 255;
|
||||
color3: 0 0 0 32;
|
||||
text {
|
||||
font: "Sans:style=Bold";
|
||||
size: 16;
|
||||
min: 0 1;
|
||||
text_class: "init_title";
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "button";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "O/wizard_bt1.png";
|
||||
image.border: 12 12 12 12;
|
||||
rel1 {
|
||||
to: "e.text.label";
|
||||
offset: -12 -12;
|
||||
}
|
||||
rel2 {
|
||||
to: "e.text.label";
|
||||
offset: 11 11;
|
||||
}
|
||||
}
|
||||
description { state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "O/wizard_bt2.png";
|
||||
}
|
||||
}
|
||||
part { name: "e.text.label"; type: TEXT;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
min: 64 32;
|
||||
align: 0.5 1.0;
|
||||
rel1.relative: 0.5 0.95;
|
||||
rel2.relative: 0.5 0.95;
|
||||
color: 32 32 32 255;
|
||||
color3: 255 255 255 128;
|
||||
text {
|
||||
text: "Next";
|
||||
font: "Sans:style=Bold";
|
||||
size: 16;
|
||||
min: 1 1;
|
||||
}
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 128 128 128 255;
|
||||
color3: 255 255 255 64;
|
||||
}
|
||||
}
|
||||
part { name: "block"; type: RECT;
|
||||
mouse_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.text.label";
|
||||
rel2.to: "e.text.label";
|
||||
visible: 0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "shadow2";
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "O/bg_shadow.png";
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part { name: "fade"; type: RECT;
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 255;
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "fade_in";
|
||||
signal: "show";
|
||||
source: "";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "fade";
|
||||
}
|
||||
program { name: "button_click";
|
||||
signal: "mouse,down,1";
|
||||
source: "button";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "button";
|
||||
}
|
||||
program { name: "button_unclick";
|
||||
signal: "mouse,up,1";
|
||||
source: "button";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "button";
|
||||
}
|
||||
program { name: "button_unclick2";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "button";
|
||||
action: SIGNAL_EMIT "e,action,next" "";
|
||||
}
|
||||
program { name: "button_enable";
|
||||
signal: "e,state,next,enable";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "block";
|
||||
target: "e.text.label";
|
||||
}
|
||||
program { name: "button_disable";
|
||||
signal: "e,state,next,disable";
|
||||
source: "e";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "block";
|
||||
target: "e.text.label";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue