edje formatting
This commit is contained in:
parent
78e5253aeb
commit
7cc7ca99d7
|
@ -1 +1,20 @@
|
||||||
images { image: module_icon.png COMP; } collections { group {name: icon; max: 128 128; parts { part { name: image; mouse_events: 0; description { state: default 0.0; aspect: 1.0 1.0; image.normal: module_icon.png; } } } } }
|
images {
|
||||||
|
image: module_icon.png COMP;
|
||||||
|
}
|
||||||
|
collections {
|
||||||
|
group {
|
||||||
|
name: icon;
|
||||||
|
max: 128 128;
|
||||||
|
parts {
|
||||||
|
part {
|
||||||
|
name: image;
|
||||||
|
mouse_events: 0;
|
||||||
|
description {
|
||||||
|
state: default 0.0;
|
||||||
|
aspect: 1.0 1.0;
|
||||||
|
image.normal: module_icon.png;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
264
tclock.edc
264
tclock.edc
|
@ -1,145 +1,121 @@
|
||||||
collections
|
collections {
|
||||||
{
|
group {
|
||||||
images
|
name: "modules/tclock/main";
|
||||||
{
|
parts {
|
||||||
}
|
part {
|
||||||
group
|
name: "tclock_time";
|
||||||
{
|
type: TEXT;
|
||||||
name: "modules/tclock/main";
|
effect: OUTLINE_SOFT_SHADOW;
|
||||||
parts
|
mouse_events: 1;
|
||||||
{
|
description {
|
||||||
part
|
state: "default" 0.0;
|
||||||
{
|
visible: 0;
|
||||||
name: "tclock_time";
|
align: 0.5 0.5;
|
||||||
type: TEXT;
|
rel1.offset: 0 2;
|
||||||
effect: OUTLINE_SOFT_SHADOW;
|
rel2 {
|
||||||
mouse_events: 1;
|
relative: 1.0 0.5;
|
||||||
description
|
offset: -1 -3;
|
||||||
{
|
}
|
||||||
state: "default" 0.0;
|
color: 255 255 255 255;
|
||||||
visible: 0;
|
color2: 0 0 0 96;
|
||||||
align: 0.5 0.5;
|
color3: 0 0 0 32;
|
||||||
rel1.offset: 0 2;
|
color_class: "module_label";
|
||||||
rel2
|
text {
|
||||||
{
|
text: "";
|
||||||
relative: 1.0 0.5;
|
font: "Sans:style=Mono";
|
||||||
offset: -1 -3;
|
size: 10;
|
||||||
}
|
min: 1 1;
|
||||||
color: 255 255 255 255;
|
align: 0.5 0.5;
|
||||||
color2: 0 0 0 96;
|
text_class: "module_large";
|
||||||
color3: 0 0 0 32;
|
}
|
||||||
color_class: "module_label";
|
}
|
||||||
text {
|
description {
|
||||||
text: "";
|
state: "hidden" 0.0;
|
||||||
font: "Sans:style=Mono";
|
inherit: "default" 0.0;
|
||||||
size: 10;
|
visible: 0;
|
||||||
min: 1 1;
|
}
|
||||||
align: 0.5 0.5;
|
description {
|
||||||
text_class: "module_large";
|
state: "visible" 0.0;
|
||||||
}
|
inherit: "default" 0.0;
|
||||||
}
|
visible: 1;
|
||||||
description
|
}
|
||||||
{
|
}
|
||||||
state: "hidden" 0.0;
|
part {
|
||||||
inherit: "default" 0.0;
|
name: "tclock_date";
|
||||||
visible: 0;
|
type: TEXT;
|
||||||
}
|
effect: OUTLINE_SOFT_SHADOW;
|
||||||
description
|
mouse_events: 1;
|
||||||
{
|
description {
|
||||||
state: "visible" 0.0;
|
state: "default" 0.0;
|
||||||
inherit: "default" 0.0;
|
visible: 0;
|
||||||
visible: 1;
|
align: 0.5 0.5;
|
||||||
}
|
rel1 {
|
||||||
}
|
relative: 0.0 0.5;
|
||||||
part
|
offset: 0 2;
|
||||||
{
|
}
|
||||||
name: "tclock_date";
|
rel2.offset: -1 -3;
|
||||||
type: TEXT;
|
color: 255 255 255 255;
|
||||||
effect: OUTLINE_SOFT_SHADOW;
|
color2: 0 0 0 96;
|
||||||
mouse_events: 1;
|
color3: 0 0 0 32;
|
||||||
description
|
color_class: "module_label";
|
||||||
{
|
text {
|
||||||
state: "default" 0.0;
|
text: "";
|
||||||
visible: 0;
|
font: "Sans:style=Mono";
|
||||||
align: 0.5 0.5;
|
size: 9;
|
||||||
rel1
|
min: 1 1;
|
||||||
{
|
align: 0.5 0.5;
|
||||||
relative: 0.0 0.5;
|
text_class: "module_small";
|
||||||
offset: 0 2;
|
}
|
||||||
}
|
}
|
||||||
rel2.offset: -1 -3;
|
description {
|
||||||
color: 255 255 255 255;
|
state: "hidden" 0.0;
|
||||||
color2: 0 0 0 96;
|
inherit: "default" 0.0;
|
||||||
color3: 0 0 0 32;
|
visible: 0;
|
||||||
color_class: "module_label";
|
}
|
||||||
text {
|
description {
|
||||||
text: "";
|
state: "visible" 0.0;
|
||||||
font: "Sans:style=Mono";
|
inherit: "default" 0.0;
|
||||||
size: 9;
|
visible: 1;
|
||||||
min: 1 1;
|
}
|
||||||
align: 0.5 0.5;
|
}
|
||||||
text_class: "module_small";
|
part {
|
||||||
}
|
name: "over";
|
||||||
}
|
type: RECT;
|
||||||
description
|
description {
|
||||||
{
|
state: "default" 0.0;
|
||||||
state: "hidden" 0.0;
|
color: 0 0 0 0;
|
||||||
inherit: "default" 0.0;
|
}
|
||||||
visible: 0;
|
}
|
||||||
}
|
}
|
||||||
description
|
programs {
|
||||||
{
|
program {
|
||||||
state: "visible" 0.0;
|
name: "p1";
|
||||||
inherit: "default" 0.0;
|
signal: "time_hidden";
|
||||||
visible: 1;
|
source: "";
|
||||||
}
|
action: STATE_SET "hidden" 0.0;
|
||||||
}
|
target: "tclock_time";
|
||||||
part
|
}
|
||||||
{
|
program {
|
||||||
name: "over";
|
name: "p2";
|
||||||
type: RECT;
|
signal: "time_visible";
|
||||||
description
|
source: "";
|
||||||
{
|
action: STATE_SET "visible" 0.0;
|
||||||
state: "default" 0.0;
|
target: "tclock_time";
|
||||||
color: 0 0 0 0;
|
}
|
||||||
}
|
program {
|
||||||
}
|
name: "p3";
|
||||||
}
|
signal: "date_hidden";
|
||||||
/* Close Parts */
|
source: "";
|
||||||
programs
|
action: STATE_SET "hidden" 0.0;
|
||||||
{
|
target: "tclock_date";
|
||||||
program
|
}
|
||||||
{
|
program {
|
||||||
name: "p1";
|
name: "p4";
|
||||||
signal: "time_hidden";
|
signal: "date_visible";
|
||||||
source: "";
|
source: "";
|
||||||
action: STATE_SET "hidden" 0.0;
|
action: STATE_SET "visible" 0.0;
|
||||||
target: "tclock_time";
|
target: "tclock_date";
|
||||||
}
|
}
|
||||||
program
|
}
|
||||||
{
|
}
|
||||||
name: "p2";
|
|
||||||
signal: "time_visible";
|
|
||||||
source: "";
|
|
||||||
action: STATE_SET "visible" 0.0;
|
|
||||||
target: "tclock_time";
|
|
||||||
}
|
|
||||||
program
|
|
||||||
{
|
|
||||||
name: "p3";
|
|
||||||
signal: "date_hidden";
|
|
||||||
source: "";
|
|
||||||
action: STATE_SET "hidden" 0.0;
|
|
||||||
target: "tclock_date";
|
|
||||||
}
|
|
||||||
program
|
|
||||||
{
|
|
||||||
name: "p4";
|
|
||||||
signal: "date_visible";
|
|
||||||
source: "";
|
|
||||||
action: STATE_SET "visible" 0.0;
|
|
||||||
target: "tclock_date";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue