Theme patch from that Arlo guy.

SVN revision: 12853
This commit is contained in:
xenith 2005-01-10 02:53:01 +00:00 committed by xenith
parent 0bcc378f4d
commit da087e436d
10 changed files with 5745 additions and 5725 deletions

View File

@ -12,13 +12,21 @@ filesdir = $(datadir)/enlightenment/data/themes
files_DATA = \
default.eet
EXTRA_DIST = default.edc
EXTRA_DIST = \
default.edc \
default_background.edc \
default_battery.edc \
default_border.edc \
default_clock.edc \
default_ibar.edc \
default_menu.edc \
default_pager.edc \
default_temperature.edc
default.eet: Makefile default.edc
default.eet: Makefile $(EXTRA_DIST)
$(EDJE_CC) $(EDJE_FLAGS) \
$(top_srcdir)/data/themes/default.edc \
$(top_builddir)/data/themes/default.eet
clean-local:
rm -f *.eet

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,33 @@
images {
image: "e17_brushed.png" COMP;
image: "e17_"SM"reflection_shadow_overlay.png" LOSSY 70;
}
group {
name: "desktop/background";
parts {
part {
name: "background_image";
description {
state: "default" 0.0;
image {
normal: "e17_brushed.png";
}
fill {
size {
relative: 0 0;
offset: 400 300;
}
}
}
}
part {
name: "reflection_shadow_overlay";
description {
state: "default" 0.0;
image {
normal: "e17_"SM"reflection_shadow_overlay.png";
}
}
}
}
}

View File

@ -0,0 +1,247 @@
images {
image: "e17_battery_000.png" COMP;
image: "e17_battery_010.png" COMP;
image: "e17_battery_020.png" COMP;
image: "e17_battery_030.png" COMP;
image: "e17_battery_040.png" COMP;
image: "e17_battery_050.png" COMP;
image: "e17_battery_060.png" COMP;
image: "e17_battery_070.png" COMP;
image: "e17_battery_080.png" COMP;
image: "e17_battery_090.png" COMP;
image: "e17_battery_100.png" COMP;
image: "e17_battery_ac.png" COMP;
}
group {
name: "modules/battery/main";
max: 128 128;
script {
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT) && (id == 1)) {
new Float:val;
val = getfarg(2);
set_state(PART:"battery", "default", val);
}
}
}
parts {
part {
name: "battery";
clip_to: "fade_clip";
description {
state: "default" 0.0;
aspect: 0.669291339 0.669291339;
align: 0.0 0.5;
max: 85 127;
rel1 {
relative: 0.0 0.0;
}
rel2 {
relative: 1.0 1.0;
}
image {
normal: "e17_battery_000.png";
}
}
description {
state: "default" 0.1;
inherit: "default" 0.0;
image {
normal: "e17_battery_010.png";
}
}
description {
state: "default" 0.2;
inherit: "default" 0.0;
image {
normal: "e17_battery_020.png";
}
}
description {
state: "default" 0.3;
inherit: "default" 0.0;
image {
normal: "e17_battery_030.png";
}
}
description {
state: "default" 0.4;
inherit: "default" 0.0;
image {
normal: "e17_battery_040.png";
}
}
description {
state: "default" 0.5;
inherit: "default" 0.0;
image {
normal: "e17_battery_050.png";
}
}
description {
state: "default" 0.6;
inherit: "default" 0.0;
image {
normal: "e17_battery_060.png";
}
}
description {
state: "default" 0.7;
inherit: "default" 0.0;
image {
normal: "e17_battery_070.png";
}
}
description {
state: "default" 0.8;
inherit: "default" 0.0;
image {
normal: "e17_battery_080.png";
}
}
description {
state: "default" 0.9;
inherit: "default" 0.0;
image {
normal: "e17_battery_090.png";
}
}
description {
state: "default" 1.0;
inherit: "default" 0.0;
image {
normal: "e17_battery_100.png";
}
}
}
part {
name: "reading";
type: TEXT;
effect: SOFT_SHADOW;
clip_to: "fade_clip";
description {
state: "default" 0.0;
align: 1.0 0.0;
rel1 {
relative: 1.0 0.0;
to_x: "battery";
}
rel2 {
relative: 1.0 0.0;
}
color: 255 255 255 255;
color3: 0 0 0 32;
text {
text: "100%";
font: "Edje Vera";
size: 7;
min: 1 1;
align: 1.0 0.0;
}
}
}
part {
name: "time";
type: TEXT;
effect: SOFT_SHADOW;
clip_to: "fade_clip";
description {
state: "default" 0.0;
align: 1.0 0.0;
rel1 {
relative: 1.0 1.0;
to_x: "battery";
to_y: "reading";
}
rel2 {
relative: 1.0 1.0;
to_y: "reading";
}
color: 255 255 255 255;
color3: 0 0 0 32;
text {
text: "00:00";
font: "Edje Vera";
size: 7;
min: 1 1;
align: 1.0 0.0;
}
}
}
part {
name: "ac";
clip_to: "fade_clip";
description {
state: "default" 0.0;
aspect: 0.975609756 0.975609756;
align: 1.0 1.0;
max: 40 41;
visible: 0;
rel1 {
relative: 0.5 0.5;
}
rel2 {
relative: 1.0 1.0;
}
image {
normal: "e17_battery_ac.png";
}
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
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;
}
}
}
programs {
program {
name: "charge";
signal: "charge";
source: "";
action: STATE_SET "default" 0.0;
target: "fade_clip";
}
program {
name: "charge2";
signal: "charge";
source: "";
action: STATE_SET "active" 0.0;
target: "ac";
}
program {
name: "discharge";
signal: "discharge";
source: "";
action: STATE_SET "default" 0.0;
target: "fade_clip";
}
program {
name: "discharge2";
signal: "discharge";
source: "";
action: STATE_SET "default" 0.0;
target: "ac";
}
program {
name: "unknown";
signal: "unknown";
source: "";
action: STATE_SET "faded" 0.0;
target: "fade_clip";
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,535 @@
images {
image: "e17_clock_bg.png" COMP;
image: "e17_clock_fg.png" COMP;
image: "e17_clock_seconds_00.png" COMP;
image: "e17_clock_seconds_01.png" COMP;
image: "e17_clock_seconds_02.png" COMP;
image: "e17_clock_seconds_03.png" COMP;
image: "e17_clock_seconds_04.png" COMP;
image: "e17_clock_seconds_05.png" COMP;
image: "e17_clock_seconds_06.png" COMP;
image: "e17_clock_seconds_07.png" COMP;
image: "e17_clock_seconds_08.png" COMP;
image: "e17_clock_seconds_09.png" COMP;
image: "e17_clock_seconds_10.png" COMP;
image: "e17_clock_seconds_11.png" COMP;
image: "e17_clock_seconds_12.png" COMP;
image: "e17_clock_seconds_13.png" COMP;
image: "e17_clock_seconds_14.png" COMP;
image: "e17_clock_seconds_15.png" COMP;
image: "e17_clock_seconds_16.png" COMP;
image: "e17_clock_seconds_17.png" COMP;
image: "e17_clock_seconds_18.png" COMP;
image: "e17_clock_seconds_19.png" COMP;
image: "e17_clock_seconds_20.png" COMP;
image: "e17_clock_seconds_21.png" COMP;
image: "e17_clock_seconds_22.png" COMP;
image: "e17_clock_seconds_23.png" COMP;
image: "e17_clock_seconds_24.png" COMP;
image: "e17_clock_seconds_25.png" COMP;
image: "e17_clock_seconds_26.png" COMP;
image: "e17_clock_seconds_27.png" COMP;
image: "e17_clock_seconds_28.png" COMP;
image: "e17_clock_seconds_29.png" COMP;
image: "e17_clock_seconds_30.png" COMP;
image: "e17_clock_seconds_31.png" COMP;
image: "e17_clock_seconds_32.png" COMP;
image: "e17_clock_seconds_33.png" COMP;
image: "e17_clock_seconds_34.png" COMP;
image: "e17_clock_seconds_35.png" COMP;
image: "e17_clock_seconds_36.png" COMP;
image: "e17_clock_seconds_37.png" COMP;
image: "e17_clock_seconds_38.png" COMP;
image: "e17_clock_seconds_39.png" COMP;
image: "e17_clock_seconds_40.png" COMP;
image: "e17_clock_seconds_41.png" COMP;
image: "e17_clock_seconds_42.png" COMP;
image: "e17_clock_seconds_43.png" COMP;
image: "e17_clock_seconds_44.png" COMP;
image: "e17_clock_seconds_45.png" COMP;
image: "e17_clock_seconds_46.png" COMP;
image: "e17_clock_seconds_47.png" COMP;
image: "e17_clock_seconds_48.png" COMP;
image: "e17_clock_seconds_49.png" COMP;
image: "e17_clock_seconds_50.png" COMP;
image: "e17_clock_seconds_51.png" COMP;
image: "e17_clock_seconds_52.png" COMP;
image: "e17_clock_seconds_53.png" COMP;
image: "e17_clock_seconds_54.png" COMP;
image: "e17_clock_seconds_55.png" COMP;
image: "e17_clock_seconds_56.png" COMP;
image: "e17_clock_seconds_57.png" COMP;
image: "e17_clock_seconds_58.png" COMP;
image: "e17_clock_seconds_59.png" COMP;
image: "e17_clock_hour_00.png" COMP;
image: "e17_clock_hour_01.png" COMP;
image: "e17_clock_hour_02.png" COMP;
image: "e17_clock_hour_03.png" COMP;
image: "e17_clock_hour_04.png" COMP;
image: "e17_clock_hour_05.png" COMP;
image: "e17_clock_hour_06.png" COMP;
image: "e17_clock_hour_07.png" COMP;
image: "e17_clock_hour_08.png" COMP;
image: "e17_clock_hour_09.png" COMP;
image: "e17_clock_hour_10.png" COMP;
image: "e17_clock_hour_11.png" COMP;
image: "e17_clock_hour_12.png" COMP;
image: "e17_clock_hour_13.png" COMP;
image: "e17_clock_hour_14.png" COMP;
image: "e17_clock_hour_15.png" COMP;
image: "e17_clock_hour_16.png" COMP;
image: "e17_clock_hour_17.png" COMP;
image: "e17_clock_hour_18.png" COMP;
image: "e17_clock_hour_19.png" COMP;
image: "e17_clock_hour_20.png" COMP;
image: "e17_clock_hour_21.png" COMP;
image: "e17_clock_hour_22.png" COMP;
image: "e17_clock_hour_23.png" COMP;
image: "e17_clock_hour_24.png" COMP;
image: "e17_clock_hour_25.png" COMP;
image: "e17_clock_hour_26.png" COMP;
image: "e17_clock_hour_27.png" COMP;
image: "e17_clock_hour_28.png" COMP;
image: "e17_clock_hour_29.png" COMP;
image: "e17_clock_hour_30.png" COMP;
image: "e17_clock_hour_31.png" COMP;
image: "e17_clock_hour_32.png" COMP;
image: "e17_clock_hour_33.png" COMP;
image: "e17_clock_hour_34.png" COMP;
image: "e17_clock_hour_35.png" COMP;
image: "e17_clock_hour_36.png" COMP;
image: "e17_clock_hour_37.png" COMP;
image: "e17_clock_hour_38.png" COMP;
image: "e17_clock_hour_39.png" COMP;
image: "e17_clock_hour_40.png" COMP;
image: "e17_clock_hour_41.png" COMP;
image: "e17_clock_hour_42.png" COMP;
image: "e17_clock_hour_43.png" COMP;
image: "e17_clock_hour_44.png" COMP;
image: "e17_clock_hour_45.png" COMP;
image: "e17_clock_hour_46.png" COMP;
image: "e17_clock_hour_47.png" COMP;
image: "e17_clock_hour_48.png" COMP;
image: "e17_clock_hour_49.png" COMP;
image: "e17_clock_hour_50.png" COMP;
image: "e17_clock_hour_51.png" COMP;
image: "e17_clock_hour_52.png" COMP;
image: "e17_clock_hour_53.png" COMP;
image: "e17_clock_hour_54.png" COMP;
image: "e17_clock_hour_55.png" COMP;
image: "e17_clock_hour_56.png" COMP;
image: "e17_clock_hour_57.png" COMP;
image: "e17_clock_hour_58.png" COMP;
image: "e17_clock_hour_59.png" COMP;
image: "e17_clock_minutes_00.png" COMP;
image: "e17_clock_minutes_01.png" COMP;
image: "e17_clock_minutes_02.png" COMP;
image: "e17_clock_minutes_03.png" COMP;
image: "e17_clock_minutes_04.png" COMP;
image: "e17_clock_minutes_05.png" COMP;
image: "e17_clock_minutes_06.png" COMP;
image: "e17_clock_minutes_07.png" COMP;
image: "e17_clock_minutes_08.png" COMP;
image: "e17_clock_minutes_09.png" COMP;
image: "e17_clock_minutes_10.png" COMP;
image: "e17_clock_minutes_11.png" COMP;
image: "e17_clock_minutes_12.png" COMP;
image: "e17_clock_minutes_13.png" COMP;
image: "e17_clock_minutes_14.png" COMP;
image: "e17_clock_minutes_15.png" COMP;
image: "e17_clock_minutes_16.png" COMP;
image: "e17_clock_minutes_17.png" COMP;
image: "e17_clock_minutes_18.png" COMP;
image: "e17_clock_minutes_19.png" COMP;
image: "e17_clock_minutes_20.png" COMP;
image: "e17_clock_minutes_21.png" COMP;
image: "e17_clock_minutes_22.png" COMP;
image: "e17_clock_minutes_23.png" COMP;
image: "e17_clock_minutes_24.png" COMP;
image: "e17_clock_minutes_25.png" COMP;
image: "e17_clock_minutes_26.png" COMP;
image: "e17_clock_minutes_27.png" COMP;
image: "e17_clock_minutes_28.png" COMP;
image: "e17_clock_minutes_29.png" COMP;
image: "e17_clock_minutes_30.png" COMP;
image: "e17_clock_minutes_31.png" COMP;
image: "e17_clock_minutes_32.png" COMP;
image: "e17_clock_minutes_33.png" COMP;
image: "e17_clock_minutes_34.png" COMP;
image: "e17_clock_minutes_35.png" COMP;
image: "e17_clock_minutes_36.png" COMP;
image: "e17_clock_minutes_37.png" COMP;
image: "e17_clock_minutes_38.png" COMP;
image: "e17_clock_minutes_39.png" COMP;
image: "e17_clock_minutes_40.png" COMP;
image: "e17_clock_minutes_41.png" COMP;
image: "e17_clock_minutes_42.png" COMP;
image: "e17_clock_minutes_43.png" COMP;
image: "e17_clock_minutes_44.png" COMP;
image: "e17_clock_minutes_45.png" COMP;
image: "e17_clock_minutes_46.png" COMP;
image: "e17_clock_minutes_47.png" COMP;
image: "e17_clock_minutes_48.png" COMP;
image: "e17_clock_minutes_49.png" COMP;
image: "e17_clock_minutes_50.png" COMP;
image: "e17_clock_minutes_51.png" COMP;
image: "e17_clock_minutes_52.png" COMP;
image: "e17_clock_minutes_53.png" COMP;
image: "e17_clock_minutes_54.png" COMP;
image: "e17_clock_minutes_55.png" COMP;
image: "e17_clock_minutes_56.png" COMP;
image: "e17_clock_minutes_57.png" COMP;
image: "e17_clock_minutes_58.png" COMP;
image: "e17_clock_minutes_59.png" COMP;
}
group {
name: "modules/clock/main";
script {
public clock_cb(val) {
new buf[11];
new year, month, day, yearday, weekday, hour, minute;
new Float:second;
new v;
date(year, month, day, yearday, weekday, hour, minute, second);
v = round(second);
#if E17_PROFILE != HIRES_PDA && E17_PROFILE != LOWRES_PDA && E17_PROFILE != MEDIUMRES_PDA
timer(1.0 - (second - v), "clock_cb", 1);
#else
timer(10.0 - (second - v), "clock_cb", 1);
#endif
#if E17_PROFILE != HIRES_PDA && E17_PROFILE != LOWRES_PDA && E17_PROFILE != MEDIUMRES_PDA
buf[0] = 0;
if (v < 10) {snprintf(buf, 10, "0%i", v);}
else {snprintf(buf, 10, "%i", v);}
set_state(PART:"seconds", buf, 0.0);
#endif
v = minute;
buf[0] = 0;
if (v < 10) {snprintf(buf, 10, "0%i", v);}
else {snprintf(buf, 10, "%i", v);}
set_state(PART:"minutes", buf, 0.0);
v = ((hour % 12) * 5) + ((minute * 5) / 60);
buf[0] = 0;
if (v < 10) {snprintf(buf, 10, "0%i", v);}
else {snprintf(buf, 10, "%i", v);}
set_state(PART:"hour", buf, 0.0);
}
}
parts {
part {
name: "bg";
description {
state: "default" 0.0;
aspect: 1.0 1.0;
image {
normal: "e17_clock_bg.png";
}
}
}
#ifdef IND
# undef IND
#endif
#if E17_PROFILE != HIRES_PDA && E17_PROFILE != LOWRES_PDA && E17_PROFILE != MEDIUMRES_PDA
# define IND "seconds"
part {
name: IND;
mouse_events: 0;
description {
state: "default" 0.0;
aspect: 1.0 1.0;
rel1 {
relative: 0.1 0.1;
}
rel2 {
relative: 0.9 0.9;
}
image {
normal: "e17_clock_"IND"_00.png";
}
}
# ifdef HAND
# undef HAND
# endif
# define HAND(num) \
description { \
state: num 0.0; \
inherit: "default" 0.0; \
image { \
normal: "e17_clock_"IND"_"num".png"; \
} \
}
HAND("00")
HAND("01")
HAND("02")
HAND("03")
HAND("04")
HAND("05")
HAND("06")
HAND("07")
HAND("08")
HAND("09")
HAND("10")
HAND("11")
HAND("12")
HAND("13")
HAND("14")
HAND("15")
HAND("16")
HAND("17")
HAND("18")
HAND("19")
HAND("20")
HAND("21")
HAND("22")
HAND("23")
HAND("24")
HAND("25")
HAND("26")
HAND("27")
HAND("28")
HAND("29")
HAND("30")
HAND("31")
HAND("32")
HAND("33")
HAND("34")
HAND("35")
HAND("36")
HAND("37")
HAND("38")
HAND("39")
HAND("40")
HAND("41")
HAND("42")
HAND("43")
HAND("44")
HAND("45")
HAND("46")
HAND("47")
HAND("48")
HAND("49")
HAND("50")
HAND("51")
HAND("52")
HAND("53")
HAND("54")
HAND("55")
HAND("56")
HAND("57")
HAND("58")
HAND("59")
}
#endif
#ifdef IND
# undef IND
#endif
#define IND "minutes"
part {
name: IND;
mouse_events: 0;
description {
state: "default" 0.0;
aspect: 1.0 1.0;
rel1 {
relative: 0.1 0.1;
}
rel2 {
relative: 0.9 0.9;
}
image {
normal: "e17_clock_"IND"_00.png";
}
}
#ifdef HAND
# undef HAND
#endif
#define HAND(num) \
description { \
state: num 0.0; \
inherit: "default" 0.0; \
image { \
normal: "e17_clock_"IND"_"num".png"; \
} \
}
HAND("00")
HAND("01")
HAND("02")
HAND("03")
HAND("04")
HAND("05")
HAND("06")
HAND("07")
HAND("08")
HAND("09")
HAND("10")
HAND("11")
HAND("12")
HAND("13")
HAND("14")
HAND("15")
HAND("16")
HAND("17")
HAND("18")
HAND("19")
HAND("20")
HAND("21")
HAND("22")
HAND("23")
HAND("24")
HAND("25")
HAND("26")
HAND("27")
HAND("28")
HAND("29")
HAND("30")
HAND("31")
HAND("32")
HAND("33")
HAND("34")
HAND("35")
HAND("36")
HAND("37")
HAND("38")
HAND("39")
HAND("40")
HAND("41")
HAND("42")
HAND("43")
HAND("44")
HAND("45")
HAND("46")
HAND("47")
HAND("48")
HAND("49")
HAND("50")
HAND("51")
HAND("52")
HAND("53")
HAND("54")
HAND("55")
HAND("56")
HAND("57")
HAND("58")
HAND("59")
}
#ifdef IND
# undef IND
#endif
#define IND "hour"
part {
name: IND;
mouse_events: 0;
description {
state: "default" 0.0;
aspect: 1.0 1.0;
rel1 {
relative: 0.2 0.2;
}
rel2 {
relative: 0.8 0.8;
}
image {
normal: "e17_clock_"IND"_00.png";
}
}
#ifdef HAND
# undef HAND
#endif
#define HAND(num) \
description { \
state: num 0.0; \
inherit: "default" 0.0; \
image { \
normal: "e17_clock_"IND"_"num".png"; \
} \
}
HAND("00")
HAND("01")
HAND("02")
HAND("03")
HAND("04")
HAND("05")
HAND("06")
HAND("07")
HAND("08")
HAND("09")
HAND("10")
HAND("11")
HAND("12")
HAND("13")
HAND("14")
HAND("15")
HAND("16")
HAND("17")
HAND("18")
HAND("19")
HAND("20")
HAND("21")
HAND("22")
HAND("23")
HAND("24")
HAND("25")
HAND("26")
HAND("27")
HAND("28")
HAND("29")
HAND("30")
HAND("31")
HAND("32")
HAND("33")
HAND("34")
HAND("35")
HAND("36")
HAND("37")
HAND("38")
HAND("39")
HAND("40")
HAND("41")
HAND("42")
HAND("43")
HAND("44")
HAND("45")
HAND("46")
HAND("47")
HAND("48")
HAND("49")
HAND("50")
HAND("51")
HAND("52")
HAND("53")
HAND("54")
HAND("55")
HAND("56")
HAND("57")
HAND("58")
HAND("59")
}
part {
name: "fg";
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
to: "bg";
}
rel2 {
to: "bg";
}
image {
normal: "e17_clock_fg.png";
}
}
}
}
programs {
program {
name: "init";
signal: "load";
source: "";
script {
clock_cb(0);
}
}
}
}

2089
data/themes/default_ibar.edc Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,846 @@
images {
image: "e17_menu_arrow.png" COMP;
image: "e17_menu_bg.png" COMP;
image: "e17_menu_check1.png" COMP;
image: "e17_menu_check2.png" COMP;
image: "e17_menu_radio1.png" COMP;
image: "e17_menu_radio2.png" COMP;
image: "e17_menu_separator.png" COMP;
}
group {
name: "widgets/menu/default/background";
parts {
part {
name: "base";
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "e17_menu_bg.png";
border: 3 3 3 3;
}
}
}
part {
name: "items";
mouse_events: 0;
type: SWALLOW;
description {
state: "default" 0.0;
rel1 {
relative: 0.0 0.0;
offset: 1 1;
}
rel2 {
relative: 1.0 1.0;
offset: -2 -2;
}
color: 0 0 0 0;
}
}
}
}
group {
name: "widgets/menu/default/separator";
parts {
part {
name: "separator";
mouse_events: 0;
description {
state: "default" 0.0;
min: 20 2;
rel1 {
relative: 0.0 0.0;
offset: 2 2;
}
rel2 {
relative: 1.0 1.0;
offset: -3 -3;
}
image {
normal: "e17_menu_separator.png";
border: 3 3 0 0;
}
}
}
}
}
group {
name: "widgets/menu/default/item_bg";
parts {
part {
name: "item";
type: SWALLOW;
description {
state: "default" 0.0;
align: 0.0 0.0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
}
}
}
}
group {
name: "widgets/menu/default/submenu_bg";
parts {
part {
name: "item";
type: SWALLOW;
description {
state: "default" 0.0;
align: 0.0 0.0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
}
}
}
}
group {
name: "widgets/menu/default/check";
parts {
part {
name: "background";
mouse_events: 0;
type: RECT;
description {
state: "default" 0.0;
visible: 0;
min: 18 18;
max: 18 18;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
color: 0 0 0 0;
}
}
part {
name: "outline";
mouse_events: 0;
description {
state: "default" 0.0;
min: 16 16;
max: 16 16;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "e17_menu_check1.png";
}
}
}
part {
name: "item1";
mouse_events: 0;
description {
state: "default" 0.0;
min: 16 16;
max: 16 16;
visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "e17_menu_check2.png";
}
}
description {
state: "active" 0.0;
min: 16 16;
max: 16 16;
visible: 1;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "e17_menu_check2.png";
}
}
}
}
programs {
program {
name: "turn_on1";
signal: "toggle_on";
source: "";
action: STATE_SET "active" 0.0;
target: "item1";
}
program {
name: "turn_off1";
signal: "toggle_off";
source: "";
action: STATE_SET "default" 0.0;
target: "item1";
}
}
}
group {
name: "widgets/menu/default/radio";
parts {
part {
name: "background";
mouse_events: 0;
type: RECT;
description {
state: "default" 0.0;
visible: 0;
min: 18 18;
max: 18 18;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
color: 0 0 0 0;
}
}
part {
name: "outline";
mouse_events: 0;
description {
state: "default" 0.0;
min: 16 16;
max: 16 16;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "e17_menu_radio1.png";
}
}
}
part {
name: "item1";
mouse_events: 0;
description {
state: "default" 0.0;
min: 16 16;
max: 16 16;
visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "e17_menu_radio2.png";
}
}
description {
state: "active" 0.0;
min: 16 16;
max: 16 16;
visible: 1;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "e17_menu_radio2.png";
}
}
}
}
programs {
program {
name: "turn_on1";
signal: "toggle_on";
source: "";
action: STATE_SET "active" 0.0;
target: "item1";
}
program {
name: "turn_off1";
signal: "toggle_off";
source: "";
action: STATE_SET "default" 0.0;
target: "item1";
}
}
}
group {
name: "widgets/menu/default/icon";
parts {
part {
name: "item";
type: SWALLOW;
description {
state: "default" 0.0;
rel1 {
relative: 0.0 0.0;
offset: 2 2;
}
rel2 {
relative: 1.0 1.0;
offset: -3 -3;
}
}
}
}
}
group {
name: "widgets/menu/default/label";
parts {
part {
name: "title_outline";
mouse_events: 0;
description {
state: "default" 0.0;
min: 14 14;
visible: 1;
rel1 {
relative: 0.0 0.0;
offset: -1 -1;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "e17_titlebar_outline.png";
border: 8 8 8 8;
}
color: 255 255 255 255;
}
description {
state: "active" 0.0;
min: 14 14;
visible: 0;
rel1 {
relative: 0.0 0.0;
offset: -1 -1;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "e17_titlebar_outline.png";
border: 8 8 8 8;
}
color: 255 255 255 0;
}
}
part {
name: "title_shadow2";
mouse_events: 0;
description {
state: "default" 0.0;
visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
to: "title_outline";
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
to: "title_outline";
}
image {
normal: "e17_titlebar_shadow2.png";
border: 8 8 8 8;
}
color: 255 255 255 0;
}
description {
state: "active" 0.0;
visible: 1;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
to: "title_outline";
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
to: "title_outline";
}
image {
normal: "e17_titlebar_shadow2.png";
border: 8 8 8 8;
}
color: 255 255 255 255;
}
}
part {
name: "title_shadow1";
mouse_events: 0;
description {
state: "default" 0.0;
visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
to: "title_outline";
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
to: "title_outline";
}
image {
normal: "e17_titlebar_shadow1.png";
border: 8 8 8 8;
}
color: 255 255 255 0;
}
description {
state: "active" 0.0;
visible: 1;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
to: "title_outline";
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
to: "title_outline";
}
image {
normal: "e17_titlebar_shadow1.png";
border: 8 8 8 8;
}
color: 255 255 255 255;
}
}
part {
name: "title_bar";
mouse_events: 0;
description {
state: "default" 0.0;
visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
to: "title_outline";
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
to: "title_outline";
}
image {
normal: "e17_titlebar.png";
border: 8 8 8 8;
}
color: 255 255 255 0;
}
description {
state: "active" 0.0;
visible: 1;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
to: "title_outline";
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
to: "title_outline";
}
image {
normal: "e17_titlebar.png";
border: 8 8 8 8;
}
color: 255 255 255 255;
}
}
part {
name: "label";
type: TEXT;
effect: SHADOW;
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
relative: 0.0 0.0;
offset: 8 6;
}
rel2 {
relative: 1.0 1.0;
offset: -8 -6;
}
color: 0 0 0 255;
color3: 255 255 255 128;
text {
text: "Item Label";
font: "Edje Vera";
size: 10;
min: 1 1;
align: 0.0 0.5;
}
}
}
part {
name: "title_glint_clip";
type: RECT;
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
offset: 3 3;
to: "title_bar";
}
rel2 {
offset: -4 -4;
to: "title_bar";
}
color: 255 255 255 255;
}
}
part {
name: "title_glint_1";
mouse_events: 0;
description {
state: "default" 0.0;
visible: 0;
color: 255 255 255 0;
align: 0.0 0.0;
max: 34 13;
rel1 {
relative: 0.0 0.0;
offset: 2 2;
to: "title_bar";
}
rel2 {
relative: 1.0 1.0;
offset: -3 -3;
to: "title_bar";
}
image {
normal: "e17_titlebar_glint1.png";
border: 5 0 5 0;
}
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part {
name: "title_glint_2";
mouse_events: 0;
clip_to: "title_glint_clip";
description {
state: "default" 0.0;
visible: 0;
color: 255 255 255 0;
align: 1.0 0.5;
max: 0 0;
rel1 {
relative: 0.0 0.0;
offset: 3 3;
to: "title_bar";
}
rel2 {
relative: 0.0 1.0;
offset: 3 -4;
to: "title_bar";
}
image {
normal: "e17_titlebar_glint2.png";
border: 0 0 5 5;
}
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
max: 169 9999;
min: 169 8;
align: 0.5 0.5;
rel1 {
relative: 0.0 0.0;
offset: 3 3;
}
rel2 {
relative: 0.0 1.0;
offset: 3 -4;
}
}
description {
state: "active2" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 128;
max: 169 9999;
min: 169 8;
align: 0.5 0.5;
rel1 {
relative: 1.0 0.0;
offset: -4 3;
}
rel2 {
relative: 1.0 1.0;
offset: -4 -4;
}
}
description {
state: "active3" 0.0;
inherit: "default" 0.0;
visible: 0;
color: 255 255 255 0;
max: 169 9999;
min: 169 8;
align: 0.0 0.5;
rel1 {
relative: 1.0 0.0;
offset: -4 3;
}
rel2 {
relative: 1.0 1.0;
offset: -4 -4;
}
}
}
part {
name: "title_glint_3";
mouse_events: 0;
description {
state: "default" 0.0;
visible: 0;
color: 255 255 255 0;
align: 1.0 1.0;
max: 34 13;
rel1 {
relative: 0.0 0.0;
offset: 2 2;
to: "title_bar";
}
rel2 {
relative: 1.0 1.0;
offset: -3 -3;
to: "title_bar";
}
image {
normal: "e17_titlebar_glint3.png";
border: 0 5 0 5;
}
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
}
programs {
program {
name: "go_active_pre";
signal: "active";
source: "";
action: STATE_SET "default" 0.0;
target: "title_outline";
target: "title_bar";
target: "title_shadow1";
target: "title_shadow2";
after: "go_active";
}
program {
name: "go_active";
action: STATE_SET "active" 0.0;
target: "title_outline";
target: "title_bar";
transition: LINEAR 0.05;
after: "go_active2";
}
program {
name: "go_active2";
action: STATE_SET "active" 0.0;
target: "title_shadow1";
transition: LINEAR 0.05;
after: "go_active3";
after: "go_active3b";
}
program {
name: "go_active3";
action: STATE_SET "active" 0.0;
target: "title_shadow2";
transition: LINEAR 0.05;
}
program {
name: "go_active3b";
action: STATE_SET "active" 0.0;
target: "title_glint_1";
target: "title_glint_2";
transition: LINEAR 0.05;
after: "go_active4";
after: "go_active4b";
}
program {
name: "go_active4";
action: STATE_SET "active2" 0.0;
target: "title_glint_2";
transition: LINEAR 0.2;
after: "go_active5";
after: "go_active5b";
}
program {
name: "go_active4b";
action: STATE_SET "active" 0.0;
target: "title_glint_3";
transition: LINEAR 0.2;
}
program {
name: "go_active5";
action: STATE_SET "active3" 0.0;
target: "title_glint_2";
transition: LINEAR 0.05;
}
program {
name: "go_active5b";
action: STATE_SET "default" 0.0;
target: "title_glint_3";
transition: LINEAR 0.1;
after: "go_active6";
}
program {
name: "go_active6";
action: STATE_SET "default" 0.0;
target: "title_glint_1";
target: "title_glint_2";
target: "title_glint_3";
}
program {
name: "go_passive_pre";
signal: "passive";
source: "";
action: STATE_SET "active" 0.0;
target: "title_outline";
target: "title_bar";
target: "title_shadow1";
target: "title_shadow2";
after: "go_passive";
}
program {
name: "go_passive";
action: STATE_SET "default" 0.0;
target: "title_shadow2";
transition: LINEAR 0.1;
after: "go_passive2";
}
program {
name: "go_passive2";
action: STATE_SET "default" 0.0;
target: "title_shadow1";
transition: LINEAR 0.1;
after: "go_passive3";
}
program {
name: "go_passive3";
action: STATE_SET "default" 0.0;
target: "title_outline";
target: "title_bar";
transition: LINEAR 0.1;
}
}
}
group {
name: "widgets/menu/default/submenu";
parts {
part {
name: "background";
mouse_events: 0;
type: RECT;
description {
state: "default" 0.0;
visible: 0;
min: 12 12;
max: 12 12;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
color: 0 0 0 0;
}
}
part {
name: "arrow";
mouse_events: 0;
description {
state: "default" 0.0;
min: 6 12;
max: 6 12;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
to: "background";
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
to: "background";
}
image {
normal: "e17_menu_arrow.png";
}
}
}
}
}

View File

@ -0,0 +1,133 @@
images {
image: "e17_pager_screen.png" COMP;
image: "e17_pager_desk.png" COMP;
image: "e17_pager_window.png" COMP;
}
group {
name: "modules/pager/screen";
parts {
part {
name: "background";
mouse_events: 0;
type: RECT;
description {
state: "default" 0.0;
visible: 0;
min: 18 18;
max: 18 18;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
color: 0 0 0 0;
}
}
part {
name: "overlay";
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "e17_pager_screen.png";
border: 7 7 7 7;
}
}
}
}
}
group {
name: "modules/pager/desk";
parts {
part {
name: "background";
mouse_events: 0;
type: RECT;
description {
state: "default" 0.0;
visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
color: 0 0 0 0;
}
}
part {
name: "overlay";
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "e17_pager_desk.png";
border: 2 2 2 2;
}
}
}
}
}
group {
name: "modules/pager/window";
parts {
part {
name: "background";
mouse_events: 0;
type: RECT;
description {
state: "default" 0.0;
visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
color: 0 0 0 0;
}
}
part {
name: "overlay";
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "e17_pager_window.png";
border: 4 4 4 4;
}
}
}
}
}

View File

@ -0,0 +1,176 @@
images {
image: "e17_temperature_base.png" COMP;
image: "e17_temperature_mid.png" COMP;
image: "e17_temperature_overlay.png" COMP;
}
group {
name: "modules/temperature/main";
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;
align: 0.0 0.5;
max: 48 124;
rel1 {
relative: 0.0 0.0;
}
rel2 {
relative: 1.0 1.0;
}