hermet pushed a commit to branch master.
commit 6284867147b4747210459f5c419f353d0a47ed0e
Author: ChunEon Park <[email protected]>
Date: Tue Jul 23 22:54:06 2013 +0900
theme/darks/dayselector - added pressed effect for the text
---
edje/edc/elm/dayselector.edc | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/edje/edc/elm/dayselector.edc b/edje/edc/elm/dayselector.edc
index d50ab0c..c0109f9 100644
--- a/edje/edc/elm/dayselector.edc
+++ b/edje/edc/elm/dayselector.edc
@@ -88,7 +88,7 @@ group { name: "elm/dayselector/base/default";
description {
state: "visible" 0.0;
inherit: "default" 0.0;
- color: 200 200 200 255;
+ color: 185 185 185 185;
}
}
part {
@@ -199,6 +199,10 @@ group { name: "elm/check/base/dayselector/default";
}
}
}
+ public check_text_pressed() {
+ set_state(PART:"elm.text", "pressed", 0.0);
+ set_state(PART:"text2", "default", 0.0);
+ }
}
parts {
part {
@@ -337,6 +341,12 @@ group { name: "elm/check/base/dayselector/default";
inherit: "default" 0.0;
visible: 0;
}
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ color3: 255 255 255 0;
+ visible: 1;
+ }
}
part {
name: "text2";
@@ -361,21 +371,18 @@ group { name: "elm/check/base/dayselector/default";
color3: 51 153 255 18;
visible: 0;
}
- description {
- state: "weekend_default" 0.0;
+ description { state: "weekend_default" 0.0;
inherit: "default" 0.0;
visible: 1;
}
- description {
- state: "weekend_style1" 0.0;
+ description { state: "weekend_style1" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
color2: 255 255 255 24;
color3: 255 255 255 18;
visible: 1;
}
- description {
- state: "selected" 0.0;
+ description { state: "selected" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
color2: 255 255 255 24;
@@ -403,6 +410,7 @@ group { name: "elm/check/base/dayselector/default";
script {
set_int(check_state, DAYSELECOR_DAY_STATE_PRESSED);
check_bg_show();
+ check_text_pressed();
}
}
program {
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk