diff options
author | Olliver Schinagl <o.schinagl@ultimaker.com> | 2015-04-23 08:04:02 (GMT) |
---|---|---|
committer | Olliver Schinagl <o.schinagl@ultimaker.com> | 2015-04-28 05:07:15 (GMT) |
commit | 9a2441307fd3ac0918977564323a0e0c6e3d56f4 (patch) | |
tree | 61cbbda10ba03762c9074b5ee227daff62380afc /data/themes/default/edc/elm | |
parent | 15229aab279c8dd3f9100c490ad1c07e049f4ff3 (diff) | |
download | eulogium-9a2441307fd3ac0918977564323a0e0c6e3d56f4.zip eulogium-9a2441307fd3ac0918977564323a0e0c6e3d56f4.tar.gz eulogium-9a2441307fd3ac0918977564323a0e0c6e3d56f4.tar.bz2 |
Add new ultimaker style button
The new cura/utlimaker style has its own button themes in Cura, use
these as our preliminary default button.
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Diffstat (limited to 'data/themes/default/edc/elm')
-rw-r--r-- | data/themes/default/edc/elm/button.edc | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/data/themes/default/edc/elm/button.edc b/data/themes/default/edc/elm/button.edc index a848ea6..2ad5dcf 100644 --- a/data/themes/default/edc/elm/button.edc +++ b/data/themes/default/edc/elm/button.edc @@ -1,6 +1,6 @@ group { name: "elm/button/base/default"; images.image: "button_normal.png" COMP; - images.image: "button_clicked.png" COMP; + images.image: "button_outline.png" COMP; #define ICON 1 #define LABEL 2 #define MASK 3 @@ -72,17 +72,20 @@ group { name: "elm/button/base/default"; parts { part { name: "base"; mouse_events: 0; description { state: "default" 0.0; - image.normal: "button_normal.png"; - image.border: 4 4 3 5; + image.normal: "button_outline.png"; + image.border: 8 8 8 8; image.middle: SOLID; - rel1.offset: -1 0; - rel2.offset: 0 1; + rel1.offset: 0 0; + rel2.offset: -1 -1; fill.smooth: 0; } + description { state: "focused" 0.0; + inherit: "default" 0.0; + image.normal: "button_normal.png"; + } description { state: "clicked" 0.0; inherit: "default" 0.0; - image.normal: "button_clicked.png"; - image.border: 5 5 4 6; + image.normal: "button_normal.png"; } } part { name: "icon_clip"; type: RECT; @@ -152,7 +155,6 @@ group { name: "elm/button/base/default"; } } part { name: "elm.text"; type: TEXT; mouse_events: 0; - effect: SHADOW BOTTOM; scale: 1; description { state: "default" 0.0; rel1.offset: 0 5; @@ -162,7 +164,6 @@ group { name: "elm/button/base/default"; rel2.offset: -8 -8; rel2.to: "base"; color_class: "button_text"; - color3: 255 255 255 255; text { font: FN; size: 10; align: 0.5 0.5; min: 0 0; @@ -170,6 +171,10 @@ group { name: "elm/button/base/default"; } visible: 0; } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "button_text_focused"; + } description { state: "visible" 0.0; inherit: "default" 0.0; rel1.offset: 2 5; |