woohyun pushed a commit to branch master.
commit db163efaefca68dc24dd93939da9e84043cc31b8
Author: WooHyun Jung <[email protected]>
Date: Mon Jul 22 17:34:42 2013 +0900
theme/dark : +elm pointer
---
edje/dark.edc | 2 +-
edje/edc/elm/pointer.edc | 50 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+), 1 deletion(-)
diff --git a/edje/dark.edc b/edje/dark.edc
index faca256..5a2a78a 100644
--- a/edje/dark.edc
+++ b/edje/dark.edc
@@ -29,7 +29,7 @@ collections {
#include "edc/elm/datetime.edc"
#include "edc/elm/player.edc"
//#include "edc/elm/thumb.edc"
-//#include "edc/elm/pointer.edc"
+#include "edc/elm/pointer.edc"
//#include "edc/elm/fileselector.edc"
#include "edc/elm/win.edc"
//#include "edc/elm/inwin.edc"
diff --git a/edje/edc/elm/pointer.edc b/edje/edc/elm/pointer.edc
new file mode 100644
index 0000000..e8252e6
--- /dev/null
+++ b/edje/edc/elm/pointer.edc
@@ -0,0 +1,50 @@
+group { name: "elm/pointer/base/default";
+ images {
+ image: "pointer.png" COMP;
+ }
+ parts {
+ part {
+ name: "base";
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ aspect: 1.0 1.0;
+ min: 32 32;
+ /* force a specific aspect ratio so
+ * when it gets scaled it wont squash
+ * or stretch */
+ aspect_preference: BOTH;
+ /* both axes control aspect - thus it
+ * will be WITHIN the bounds the axes
+ * of thre part describe */
+ image {
+ normal: "pointer.png";
+ }
+ }
+ }
+ part {
+ name: "elm.swallow.hotspot";
+ /* this is a "fake" swallow part
+ * that is used by e to determine
+ * the pointer hotspot - or where
+ * the actual mouse events get
+ * reported from on the cursor */
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ /* the hotspot will scale with the cursor here */
+ to: "base";
+ relative: 0.1875 0.1875;
+ offset: 0 0;
+ }
+ rel2 {
+ to: "base";
+ relative: 0.1875 0.1875;
+ offset: 0 0;
+ }
+ }
+ }
+ }
+}
--
------------------------------------------------------------------------------
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