theme: move digit* images to O/
|
@ -237,20 +237,20 @@ img/day_single_normal.png \
|
||||||
img/day_single_press.png \
|
img/day_single_press.png \
|
||||||
img/day_single_selected.png \
|
img/day_single_selected.png \
|
||||||
img/diagonal_stripes.png \
|
img/diagonal_stripes.png \
|
||||||
img/digit_0.png \
|
img/O/digit_0.png \
|
||||||
img/digit_1.png \
|
img/O/digit_1.png \
|
||||||
img/digit_2.png \
|
img/O/digit_2.png \
|
||||||
img/digit_3.png \
|
img/O/digit_3.png \
|
||||||
img/digit_4.png \
|
img/O/digit_4.png \
|
||||||
img/digit_5.png \
|
img/O/digit_5.png \
|
||||||
img/digit_6.png \
|
img/O/digit_6.png \
|
||||||
img/digit_7.png \
|
img/O/digit_7.png \
|
||||||
img/digit_8.png \
|
img/O/digit_8.png \
|
||||||
img/digit_9.png \
|
img/O/digit_9.png \
|
||||||
img/digit_am.png \
|
img/O/digit_am.png \
|
||||||
img/digit_na.png \
|
img/O/digit_na.png \
|
||||||
img/digit_nm.png \
|
img/O/digit_nm.png \
|
||||||
img/digit_pm.png \
|
img/O/digit_pm.png \
|
||||||
img/dot_pattern.png \
|
img/dot_pattern.png \
|
||||||
img/downlight_glow_left.png \
|
img/downlight_glow_left.png \
|
||||||
img/downlight_glow.png \
|
img/downlight_glow.png \
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
group { name: "e/modules/clock/digital";
|
group { name: "e/modules/clock/digital";
|
||||||
min: 64 16;
|
min: 64 16;
|
||||||
max: 512 128;
|
max: 512 128;
|
||||||
images.image: "digit_na.png" COMP;
|
images.image: "O/digit_na.png" COMP;
|
||||||
images.image: "digit_nm.png" COMP;
|
images.image: "O/digit_nm.png" COMP;
|
||||||
images.image: "digit_0.png" COMP;
|
images.image: "O/digit_0.png" COMP;
|
||||||
images.image: "digit_1.png" COMP;
|
images.image: "O/digit_1.png" COMP;
|
||||||
images.image: "digit_2.png" COMP;
|
images.image: "O/digit_2.png" COMP;
|
||||||
images.image: "digit_3.png" COMP;
|
images.image: "O/digit_3.png" COMP;
|
||||||
images.image: "digit_4.png" COMP;
|
images.image: "O/digit_4.png" COMP;
|
||||||
images.image: "digit_5.png" COMP;
|
images.image: "O/digit_5.png" COMP;
|
||||||
images.image: "digit_6.png" COMP;
|
images.image: "O/digit_6.png" COMP;
|
||||||
images.image: "digit_7.png" COMP;
|
images.image: "O/digit_7.png" COMP;
|
||||||
images.image: "digit_8.png" COMP;
|
images.image: "O/digit_8.png" COMP;
|
||||||
images.image: "digit_9.png" COMP;
|
images.image: "O/digit_9.png" COMP;
|
||||||
images.image: "digit_am.png" COMP;
|
images.image: "O/digit_am.png" COMP;
|
||||||
images.image: "digit_pm.png" COMP;
|
images.image: "O/digit_pm.png" COMP;
|
||||||
images.image: "hole_tiny.png" COMP;
|
images.image: "hole_tiny.png" COMP;
|
||||||
script {
|
script {
|
||||||
public do_seconds, do_24h, do_date, tick_timer;
|
public do_seconds, do_24h, do_date, tick_timer;
|
||||||
|
@ -305,7 +305,7 @@ group { name: "e/modules/clock/digital";
|
||||||
description { state: "default" 0.0; \
|
description { state: "default" 0.0; \
|
||||||
rel1.to: _TO; rel2.to: _TO; \
|
rel1.to: _TO; rel2.to: _TO; \
|
||||||
aspect: (52/72) (52/72); aspect_preference: BOTH; \
|
aspect: (52/72) (52/72); aspect_preference: BOTH; \
|
||||||
image.normal: "digit_"_DIGIT".png"; \
|
image.normal: "O/digit_"_DIGIT".png"; \
|
||||||
visible: 0; \
|
visible: 0; \
|
||||||
color: 255 255 255 0; \
|
color: 255 255 255 0; \
|
||||||
} \
|
} \
|
||||||
|
@ -332,7 +332,7 @@ group { name: "e/modules/clock/digital";
|
||||||
description { state: "default" 0.0; \
|
description { state: "default" 0.0; \
|
||||||
rel1.to: _TO; rel2.to: _TO; \
|
rel1.to: _TO; rel2.to: _TO; \
|
||||||
aspect: (52/72) (52/72); aspect_preference: BOTH; \
|
aspect: (52/72) (52/72); aspect_preference: BOTH; \
|
||||||
image.normal: "digit_"_DIGIT".png"; \
|
image.normal: "O/digit_"_DIGIT".png"; \
|
||||||
visible: 0; \
|
visible: 0; \
|
||||||
color: 255 255 255 0; \
|
color: 255 255 255 0; \
|
||||||
} \
|
} \
|
||||||
|
@ -360,11 +360,11 @@ group { name: "e/modules/clock/digital";
|
||||||
description { state: "default" 0.0; \
|
description { state: "default" 0.0; \
|
||||||
rel1.to: _TO; rel2.to: _TO; \
|
rel1.to: _TO; rel2.to: _TO; \
|
||||||
aspect: (48/31) (48/31); aspect_preference: BOTH; \
|
aspect: (48/31) (48/31); aspect_preference: BOTH; \
|
||||||
image.normal: "digit_am.png"; \
|
image.normal: "O/digit_am.png"; \
|
||||||
} \
|
} \
|
||||||
description { state: "active" 0.0; \
|
description { state: "active" 0.0; \
|
||||||
inherit: "default" 0.0; \
|
inherit: "default" 0.0; \
|
||||||
image.normal: "digit_pm.png"; \
|
image.normal: "O/digit_pm.png"; \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
#define BASE(_NAME, _BASE, _IMG) \
|
#define BASE(_NAME, _BASE, _IMG) \
|
||||||
|
@ -387,14 +387,14 @@ group { name: "e/modules/clock/digital";
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
BASE ("ha", "h0-0", "digit_na.png")
|
BASE ("ha", "h0-0", "O/digit_na.png")
|
||||||
BASE ("hb", "h1-0", "digit_na.png")
|
BASE ("hb", "h1-0", "O/digit_na.png")
|
||||||
BASE ("ma", "m0-0", "digit_na.png")
|
BASE ("ma", "m0-0", "O/digit_na.png")
|
||||||
BASE ("mb", "m1-0", "digit_na.png")
|
BASE ("mb", "m1-0", "O/digit_na.png")
|
||||||
|
|
||||||
BASEC("sa", "secclip", "s0-0", "digit_na.png")
|
BASEC("sa", "secclip", "s0-0", "O/digit_na.png")
|
||||||
BASEC("sb", "secclip", "s1-0", "digit_na.png")
|
BASEC("sb", "secclip", "s1-0", "O/digit_na.png")
|
||||||
BASEC("aa", "ampmclip", "ap", "digit_nm.png")
|
BASEC("aa", "ampmclip", "ap", "O/digit_nm.png")
|
||||||
|
|
||||||
DIGIT ("h0", "hours1")
|
DIGIT ("h0", "hours1")
|
||||||
DIGIT ("h1", "hours2")
|
DIGIT ("h1", "hours2")
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
group { name: "elm/clock/flipdigit/default";
|
group { name: "elm/clock/flipdigit/default";
|
||||||
images.image: "digit_na.png" COMP;
|
images.image: "O/digit_na.png" COMP;
|
||||||
images.image: "digit_0.png" COMP;
|
images.image: "O/digit_0.png" COMP;
|
||||||
images.image: "digit_1.png" COMP;
|
images.image: "O/digit_1.png" COMP;
|
||||||
images.image: "digit_2.png" COMP;
|
images.image: "O/digit_2.png" COMP;
|
||||||
images.image: "digit_3.png" COMP;
|
images.image: "O/digit_3.png" COMP;
|
||||||
images.image: "digit_4.png" COMP;
|
images.image: "O/digit_4.png" COMP;
|
||||||
images.image: "digit_5.png" COMP;
|
images.image: "O/digit_5.png" COMP;
|
||||||
images.image: "digit_6.png" COMP;
|
images.image: "O/digit_6.png" COMP;
|
||||||
images.image: "digit_7.png" COMP;
|
images.image: "O/digit_7.png" COMP;
|
||||||
images.image: "digit_8.png" COMP;
|
images.image: "O/digit_8.png" COMP;
|
||||||
images.image: "digit_9.png" COMP;
|
images.image: "O/digit_9.png" COMP;
|
||||||
images.image: "icon_arrow_up.png" COMP;
|
images.image: "icon_arrow_up.png" COMP;
|
||||||
images.image: "icon_arrow_down.png" COMP;
|
images.image: "icon_arrow_down.png" COMP;
|
||||||
script {
|
script {
|
||||||
|
@ -36,18 +36,18 @@ group { name: "elm/clock/flipdigit/default";
|
||||||
set_int(v0_cur, value);
|
set_int(v0_cur, value);
|
||||||
set_int(v0_lock, 1);
|
set_int(v0_lock, 1);
|
||||||
snprintf(buf, 10, "%i", get_int(v0_cur));
|
snprintf(buf, 10, "%i", get_int(v0_cur));
|
||||||
set_state(PART:"digit", buf, 0.0);
|
set_state(PART:"O/digit", buf, 0.0);
|
||||||
anim(1.0, "animator1", 1);
|
anim(1.0, "animator1", 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
parts {
|
parts {
|
||||||
part { name: "digit_bg";
|
part { name: "O/digit_bg";
|
||||||
scale: 1;
|
scale: 1;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
rel1.to: "digit";
|
rel1.to: "O/digit";
|
||||||
rel2.to: "digit";
|
rel2.to: "O/digit";
|
||||||
image.normal: "digit_na.png";
|
image.normal: "O/digit_na.png";
|
||||||
color: 255 255 255 128;
|
color: 255 255 255 128;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,7 @@ group { name: "elm/clock/flipdigit/default";
|
||||||
visible: 1;
|
visible: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "digit";
|
part { name: "O/digit";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
scale: 1;
|
scale: 1;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
@ -88,12 +88,12 @@ group { name: "elm/clock/flipdigit/default";
|
||||||
rel2.to_y: "abot";
|
rel2.to_y: "abot";
|
||||||
rel2.relative: 1.0 0.0;
|
rel2.relative: 1.0 0.0;
|
||||||
aspect: (52/72) (52/72); aspect_preference: BOTH;
|
aspect: (52/72) (52/72); aspect_preference: BOTH;
|
||||||
image.normal: "digit_0.png";
|
image.normal: "O/digit_0.png";
|
||||||
}
|
}
|
||||||
#define DIGIT_DESC(_DIGIT) \
|
#define DIGIT_DESC(_DIGIT) \
|
||||||
description { state: _DIGIT 0.0; \
|
description { state: _DIGIT 0.0; \
|
||||||
inherit: "default" 0.0; \
|
inherit: "default" 0.0; \
|
||||||
image.normal: "digit_"_DIGIT".png"; \
|
image.normal: "O/digit_"_DIGIT".png"; \
|
||||||
}
|
}
|
||||||
DIGIT_DESC("0")
|
DIGIT_DESC("0")
|
||||||
DIGIT_DESC("1")
|
DIGIT_DESC("1")
|
||||||
|
@ -254,30 +254,30 @@ group { name: "elm/clock/flipdigit/default";
|
||||||
|
|
||||||
group { name: "elm/clock/flipampm/default";
|
group { name: "elm/clock/flipampm/default";
|
||||||
inherit: "elm/clock/flipdigit/default";
|
inherit: "elm/clock/flipdigit/default";
|
||||||
images.image: "digit_nm.png" COMP;
|
images.image: "O/digit_nm.png" COMP;
|
||||||
images.image: "digit_am.png" COMP;
|
images.image: "O/digit_am.png" COMP;
|
||||||
images.image: "digit_pm.png" COMP;
|
images.image: "O/digit_pm.png" COMP;
|
||||||
parts {
|
parts {
|
||||||
part { name: "digit_bg";
|
part { name: "O/digit_bg";
|
||||||
scale: 1;
|
scale: 1;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
rel1.to: "digit";
|
rel1.to: "O/digit";
|
||||||
rel2.to: "digit";
|
rel2.to: "O/digit";
|
||||||
image.normal: "digit_nm.png";
|
image.normal: "O/digit_nm.png";
|
||||||
color: 255 255 255 128;
|
color: 255 255 255 128;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "digit";
|
part { name: "O/digit";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
scale: 1;
|
scale: 1;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
aspect: (48/31) (48/31); aspect_preference: BOTH;
|
aspect: (48/31) (48/31); aspect_preference: BOTH;
|
||||||
image.normal: "digit_am.png";
|
image.normal: "O/digit_am.png";
|
||||||
}
|
}
|
||||||
#define DIGIT_DESC(_DIGIT, _AMPM) \
|
#define DIGIT_DESC(_DIGIT, _AMPM) \
|
||||||
description { state: _DIGIT 0.0; \
|
description { state: _DIGIT 0.0; \
|
||||||
inherit: "default" 0.0; \
|
inherit: "default" 0.0; \
|
||||||
image.normal: "digit_"_AMPM".png"; \
|
image.normal: "O/digit_"_AMPM".png"; \
|
||||||
}
|
}
|
||||||
DIGIT_DESC("0", "am")
|
DIGIT_DESC("0", "am")
|
||||||
DIGIT_DESC("1", "pm")
|
DIGIT_DESC("1", "pm")
|
||||||
|
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 523 B After Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 924 B After Width: | Height: | Size: 924 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |