From: Mike Blumenkrantz Date: Mon, 6 Apr 2015 18:09:47 +0000 (-0400) Subject: colorclass: add focus glow to color type selector X-Git-Tag: v1.14.0-alpha1~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb5b426f71d7882ea06bd4da44b4c9ae01dc2402;p=platform%2Fupstream%2Felementary.git colorclass: add focus glow to color type selector --- diff --git a/data/themes/edc/elm/colorclass.edc b/data/themes/edc/elm/colorclass.edc index ee9746b..bda0ad7 100644 --- a/data/themes/edc/elm/colorclass.edc +++ b/data/themes/edc/elm/colorclass.edc @@ -156,6 +156,11 @@ group { "colorclass/colors"; program_source: "elm"; nobroadcast; } program { signal: "mouse,down,1"; source: "color1"; action: SIGNAL_EMIT "select,1" "elm"; + sequence { + action: STATE_SET "default"; + transition: LINEAR 0.2; + target: "glow"; + } } } group { "color2"; source: "colorclass/color2"; @@ -171,6 +176,11 @@ group { "colorclass/colors"; program_source: "elm"; nobroadcast; } program { signal: "mouse,down,1"; source: "color2"; action: SIGNAL_EMIT "select,2" "elm"; + sequence { + action: STATE_SET "color2"; + transition: LINEAR 0.2; + target: "glow"; + } } } group { "color3"; source: "colorclass/color3"; @@ -187,6 +197,33 @@ group { "colorclass/colors"; program_source: "elm"; nobroadcast; } program { signal: "mouse,down,1"; source: "color3"; action: SIGNAL_EMIT "select,3" "elm"; + sequence { + action: STATE_SET "color3"; + transition: LINEAR 0.2; + target: "glow"; + } + } + } + image { "glow"; nomouse; + desc { + image.normal: "box_glow.png"; + image.border: 12 12 12 12; + image.middle: 0; + fill.smooth: 0; + rel1.offset: -7 -8; + rel1.to: "color1"; + rel2.offset: 7 7; + rel2.to: "color1"; + rel2.relative: 1 1; + fixed: 1 1; + } + desc { "color2"; inherit: "default"; + rel1.to: "color2"; + rel2.to: "color2"; + } + desc { "color3"; inherit: "default"; + rel1.to: "color3"; + rel2.to: "color3"; } } swallow { "colors";