diff options
Diffstat (limited to 'data/themes/default/edc/elm/button.edc')
-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; |