seoz pushed a commit to branch master.
commit 46348462cc3a5ab7c850087c822f393ad7215b31
Author: Daniel Juyung Seo <[email protected]>
Date: Wed Jul 31 02:22:56 2013 +0900
actionslider: added glow on mouse down.
---
edje/dark.edc | 2 +-
edje/edc/elm/actionslider.edc | 22 ++++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/edje/dark.edc b/edje/dark.edc
index 019b32c..db652bf 100644
--- a/edje/dark.edc
+++ b/edje/dark.edc
@@ -41,7 +41,7 @@ collections {
#include "edc/elm/ctxpopup.edc"
//#include "edc/elm/multibuttonentry.edc"
#include "edc/elm/dayselector.edc"
-// XXX: fix gfx for actionslider - add glow on click like scrollbar. fix
shadow under text (grey not blakc)
+// XXX: fix gfx for actionslider - fix shadow under text (grey not blakc)
#include "edc/elm/actionslider.edc"
//#include "edc/elm/photocam.edc"
#include "edc/elm/tooltip.edc"
diff --git a/edje/edc/elm/actionslider.edc b/edje/edc/elm/actionslider.edc
index 7d6df4e..57ec91c 100644
--- a/edje/edc/elm/actionslider.edc
+++ b/edje/edc/elm/actionslider.edc
@@ -4,6 +4,7 @@ group { name: "elm/actionslider/base/default";
image: "bevel_in.png" COMP;
image: "button_normal.png" COMP;
image: "button_clicked.png" COMP;
+ image: "glow_small.png" COMP;
}
parts {
part { name: "base"; type: RECT; mouse_events: 0;
@@ -131,6 +132,25 @@ group { name: "elm/actionslider/base/default";
events: "elm.drag_button_base";
}
}
+ part { name: "glow_button"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: 0 -1;
+ rel1.to: "drag_button";
+ rel2.offset: -1 -2;
+ rel2.to: "drag_button";
+ image {
+ normal: "glow_small.png";
+ border: 7 7 7 7;
+ middle: NONE;
+ }
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
part { name: "drag_button"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.drag_button";
@@ -200,6 +220,7 @@ group { name: "elm/actionslider/base/default";
program { name: "button_unclick_anim";
action: STATE_SET "default" 0.0;
target: "drag_button";
+ target: "glow_button";
}
program { name: "elm.drag_button,mouse,down";
signal: "mouse,down,1*";
@@ -210,6 +231,7 @@ group { name: "elm/actionslider/base/default";
program { name: "button_click_anim";
action: STATE_SET "clicked" 0.0;
target: "drag_button";
+ target: "glow_button";
}
program { name: "elm.drag_button,mouse,move";
signal: "mouse,move";
--
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk