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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
64
tclock.edc
64
tclock.edc
|
@ -1,27 +1,18 @@
|
|||
collections
|
||||
{
|
||||
images
|
||||
{
|
||||
}
|
||||
group
|
||||
{
|
||||
collections {
|
||||
group {
|
||||
name: "modules/tclock/main";
|
||||
parts
|
||||
{
|
||||
part
|
||||
{
|
||||
parts {
|
||||
part {
|
||||
name: "tclock_time";
|
||||
type: TEXT;
|
||||
effect: OUTLINE_SOFT_SHADOW;
|
||||
mouse_events: 1;
|
||||
description
|
||||
{
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 0;
|
||||
align: 0.5 0.5;
|
||||
rel1.offset: 0 2;
|
||||
rel2
|
||||
{
|
||||
rel2 {
|
||||
relative: 1.0 0.5;
|
||||
offset: -1 -3;
|
||||
}
|
||||
|
@ -38,32 +29,27 @@ collections
|
|||
text_class: "module_large";
|
||||
}
|
||||
}
|
||||
description
|
||||
{
|
||||
description {
|
||||
state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
description
|
||||
{
|
||||
description {
|
||||
state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
part {
|
||||
name: "tclock_date";
|
||||
type: TEXT;
|
||||
effect: OUTLINE_SOFT_SHADOW;
|
||||
mouse_events: 1;
|
||||
description
|
||||
{
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 0;
|
||||
align: 0.5 0.5;
|
||||
rel1
|
||||
{
|
||||
rel1 {
|
||||
relative: 0.0 0.5;
|
||||
offset: 0 2;
|
||||
}
|
||||
|
@ -81,59 +67,49 @@ collections
|
|||
text_class: "module_small";
|
||||
}
|
||||
}
|
||||
description
|
||||
{
|
||||
description {
|
||||
state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
description
|
||||
{
|
||||
description {
|
||||
state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
part {
|
||||
name: "over";
|
||||
type: RECT;
|
||||
description
|
||||
{
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Close Parts */
|
||||
programs
|
||||
{
|
||||
program
|
||||
{
|
||||
programs {
|
||||
program {
|
||||
name: "p1";
|
||||
signal: "time_hidden";
|
||||
source: "";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
target: "tclock_time";
|
||||
}
|
||||
program
|
||||
{
|
||||
program {
|
||||
name: "p2";
|
||||
signal: "time_visible";
|
||||
source: "";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "tclock_time";
|
||||
}
|
||||
program
|
||||
{
|
||||
program {
|
||||
name: "p3";
|
||||
signal: "date_hidden";
|
||||
source: "";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
target: "tclock_date";
|
||||
}
|
||||
program
|
||||
{
|
||||
program {
|
||||
name: "p4";
|
||||
signal: "date_visible";
|
||||
source: "";
|
||||
|
|
Loading…
Reference in New Issue