aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2017-07-26 15:15:32 +0300
committerDaniel Hirt <hirt.danny@gmail.com>2017-08-14 20:20:38 +0300
commit08c3d6260fb43aebbb5b7b0c7b4d4c2f1c6b70e1 (patch)
tree6a4b822c251168dc643a4cfbb8d90b0cfdc926a0
parentbutton.edc: port button to TEXTBLOCK (diff)
downloadefl-08c3d6260fb43aebbb5b7b0c7b4d4c2f1c6b70e1.tar.gz
frame.edc: port to textblock
-rw-r--r--data/elementary/themes/colorclasses.edc4
-rw-r--r--data/elementary/themes/edc/elm/frame.edc18
2 files changed, 16 insertions, 6 deletions
diff --git a/data/elementary/themes/colorclasses.edc b/data/elementary/themes/colorclasses.edc
index 42fd06ee24..36250971fc 100644
--- a/data/elementary/themes/colorclasses.edc
+++ b/data/elementary/themes/colorclasses.edc
@@ -265,6 +265,10 @@ color_classes {
color: WIN_DEFAULT_BASIC;
desc: "Base of a frame widget";
}
+ color_class { name: "frame";
+ color: FN_COL_DISABLE;
+ desc: "Base of a frame widget";
+ }
color_class { name: "scroller_bg";
color: WIN_DEFAULT_BASIC;
desc: "Background of a scroller widget";
diff --git a/data/elementary/themes/edc/elm/frame.edc b/data/elementary/themes/edc/elm/frame.edc
index e6ce022acf..31c1e1c046 100644
--- a/data/elementary/themes/edc/elm/frame.edc
+++ b/data/elementary/themes/edc/elm/frame.edc
@@ -1,4 +1,10 @@
group { name: "elm/frame/base/default";
+ styles {
+ style { name: "frame_style";
+ base: STL_COL_PRIMER" font="FN" font_size=10 style=shadow,bottom color_class=frame text_class=frame left_margin=2 right_margin=2 align=center";
+ ENABLED_TEXTBLOCK_TAGS
+ }
+ }
images.image: "shadow_square_tiny.png" COMP;
images.image: "vgrad_med_curved.png" COMP;
images.image: "bevel_out.png" COMP;
@@ -57,11 +63,10 @@ group { name: "elm/frame/base/default";
FIXED_SIZE(3, 11)
}
}
- part { name: "elm.text"; type: TEXT;
+ part { name: "elm.text"; type: TEXTBLOCK;
scale: 1;
- effect: SHADOW BOTTOM;
description { state: "default" 0.0;
- color_class: "frame";
+ //color_class: "frame";
rel1.relative: 1.0 0.0;
rel1.offset: 1 2;
rel1.to_x: "edge1";
@@ -69,9 +74,10 @@ group { name: "elm/frame/base/default";
rel2.offset: -3 1;
rel2.to_x: "edge2";
align: 0.0 0.0;
- color: FN_COL_DISABLE;
- text { font: FNBD; size: 10;
- text_class: "frame";
+ //color: FN_COL_DISABLE;
+ text { style: "frame_style";
+ //text_class: "frame";
+ font: FNBD; size: 10;
align: 0.0 0.0;
min: 0 1;
}