evlog - update tool to look and work better
This commit is contained in:
parent
bfea06faab
commit
9bb1c1531b
2
build.sh
2
build.sh
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
gcc evlog.c -o evlog `pkg-config --cflags --libs elementary`
|
||||
gcc evlog.c -o evlog `pkg-config --cflags --libs elementary` -g
|
||||
edje_cc evlog.edc -id ./img
|
||||
|
||||
### minimal docs!
|
||||
|
|
64
evlog.edc
64
evlog.edc
|
@ -1,66 +1,56 @@
|
|||
#define TILED_PATTERN(_WIDTH, _HEIGHT) \
|
||||
fill { size { relative: 0.0 0.0; offset: _WIDTH _HEIGHT; } }
|
||||
|
||||
collections {
|
||||
images.image: "box_glow.png" COMP;
|
||||
images.image: "box_outline.png" COMP;
|
||||
|
||||
group { name: "range";
|
||||
parts {
|
||||
part { name: "bg";
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: -9 -9;
|
||||
rel2.offset: 8 8;
|
||||
image.normal: "box_glow.png";
|
||||
image.border: 12 12 12 12;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
color_class: "range";
|
||||
}
|
||||
}
|
||||
part { name: "text"; type: TEXT;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
color3: 0 0 0 128;
|
||||
text { font: "Sans"; size: 10;
|
||||
min: 0 1;
|
||||
align: 0.0 1.0;
|
||||
text_class: "fileman_icon";
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "over";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
image.normal: "box_outline.png";
|
||||
image.border: 12 12 12 12;
|
||||
color: 255 255 255 255;
|
||||
text { font: "Sans"; size: 10;
|
||||
min: 0 1;
|
||||
align: 0.0 1.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
images.image: "runner_vert.png" COMP;
|
||||
images.image: "diagonal_stripes.png" COMP;
|
||||
|
||||
group { name: "event";
|
||||
group { name: "state";
|
||||
parts {
|
||||
part { name: "bg";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "runner_vert.png";
|
||||
image.border: 1 1 2 2;
|
||||
fill.smooth: 0;
|
||||
min: 3 6;
|
||||
max: 3 9999;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
color_class: "state";
|
||||
TILED_PATTERN(240, 240)
|
||||
image.normal: "diagonal_stripes.png";
|
||||
}
|
||||
}
|
||||
part { name: "text"; type: TEXT;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 4 0;
|
||||
rel2.offset: 4 -1;
|
||||
color: 21 21 21 255;
|
||||
color3: 255 255 255 25;
|
||||
align: 0.0 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
color: 255 255 255 255;
|
||||
text { font: "Sans"; size: 10;
|
||||
min: 1 1;
|
||||
align: 0.0 0.0;
|
||||
min: 0 1;
|
||||
align: 0.0 1.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -71,6 +61,12 @@ collections {
|
|||
|
||||
group { name: "frame";
|
||||
parts {
|
||||
part { name: "base"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 51 153 255 128;
|
||||
min: 1 1;
|
||||
}
|
||||
}
|
||||
part { name: "bg";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "handle_pick_up_right.png";
|
||||
|
|
BIN
img/box_glow.png
BIN
img/box_glow.png
Binary file not shown.
Before Width: | Height: | Size: 470 B |
Binary file not shown.
Before Width: | Height: | Size: 115 B |
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 99 B |
Loading…
Reference in New Issue