hermet pushed a commit to branch master.
commit 107f5d6aff0f17c54702e4135ccbddc3bc13aeb8
Author: ChunEon Park <[email protected]>
Date: Tue Jul 23 16:20:36 2013 +0900
theme/dark - added fileselector that was missed.
---
edje/dark.edc | 2 +-
edje/edc/elm/fileselector.edc | 223 ++++++++++++++++++++++++++++++++++++++++++
edje/img/arrow_right.png | Bin 0 -> 1605 bytes
3 files changed, 224 insertions(+), 1 deletion(-)
diff --git a/edje/dark.edc b/edje/dark.edc
index 9dff491..d4f2328 100644
--- a/edje/dark.edc
+++ b/edje/dark.edc
@@ -30,7 +30,7 @@ collections {
#include "edc/elm/player.edc"
#include "edc/elm/thumb.edc"
#include "edc/elm/pointer.edc"
-//#include "edc/elm/fileselector.edc"
+#include "edc/elm/fileselector.edc"
#include "edc/elm/win.edc"
#include "edc/elm/inwin.edc"
#include "edc/elm/slideshow.edc"
diff --git a/edje/edc/elm/fileselector.edc b/edje/edc/elm/fileselector.edc
new file mode 100644
index 0000000..f8d158c
--- /dev/null
+++ b/edje/edc/elm/fileselector.edc
@@ -0,0 +1,223 @@
+group { name: "elm/entry/path/separator/default";
+ images.image: "arrow_right.png" COMP;
+ parts {
+ part { name: "icon";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "arrow_right.png";
+ max: 64 64;
+ aspect: 1.0 1.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/fileselector/base/default";
+ data {
+ item: "path_separator" "<item relsize=16x16 vsize=full
href=path/separator></item>";
+ }
+ parts {
+ part { name: "elm.swallow.up";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 10 10;
+ fixed: 1 1;
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ }
+ }
+ part { name: "elm.swallow.home";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 10 10;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.up";
+ relative: 1.0 0.0;
+ offset: 5 0;
+ }
+ rel2 {
+ to: "elm.swallow.up";
+ relative: 1.0 1.0;
+ offset: 20 -1;
+ }
+ }
+ }
+ part { name: "elm.spinner.clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.spinner";
+ rel2.to: "elm.swallow.spinner";
+ color: 255 255 255 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "elm.swallow.spinner";
+ type: SWALLOW;
+ clip_to: "elm.spinner.clip";
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ min: 10 10;
+ fixed: 1 1;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.files";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ min: 10 10;
+ rel1 {
+ to_y: "elm.swallow.home";
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ rel2 {
+ to_y: "elm.swallow.path";
+ relative: 1.0 0.0;
+ offset: -1 -1;
+ }
+ }
+ }
+ part { name: "elm.swallow.path";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.5 1.0;
+ fixed: 1 1;
+ rel1 {
+ to_y: "elm.swallow.filename";
+ relative: 0.0 0.0;
+ offset: 0 -1;
+ }
+ rel2 {
+ to_y: "elm.swallow.filename";
+ relative: 1.0 0.0;
+ offset: -1 -1;
+ }
+ }
+ }
+ part { name: "elm.swallow.filename";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.5 1.0;
+ fixed: 1 1;
+ rel1 {
+ to_y: "elm.swallow.filters";
+ relative: 0.0 0.0;
+ offset: 0 -1;
+ }
+ rel2 {
+ to_y: "elm.swallow.filters";
+ relative: 1.0 0.0;
+ offset: -1 -1;
+ }
+ }
+ }
+ part { name: "elm.swallow.filters";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ fixed: 1 1;
+ rel1 {
+ to_y: "elm.swallow.ok";
+ relative: 1.0 0.0;
+ offset: 0 -1;
+ }
+ rel2 {
+ to_y: "elm.swallow.ok";
+ relative: 1.0 0.0;
+ offset: -1 -1;
+ }
+ }
+ }
+ part { name: "elm.swallow.cancel";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.ok";
+ relative: 0.0 0.0;
+ offset: -3 0;
+ }
+ rel2 {
+ to: "elm.swallow.ok";
+ relative: 0.0 1.0;
+ offset: -3 -1;
+ }
+ }
+ }
+ part { name: "elm.swallow.ok";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "spinner_show";
+ signal: "elm,action,spinner,show";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: LINEAR 0.2;
+ target: "elm.spinner.clip";
+ }
+ program { name: "spinner_hide";
+ signal: "elm,action,spinner,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.2 CURRENT;
+ target: "elm.spinner.clip";
+ }
+ program { name: "save_on";
+ signal: "elm,state,save,on";
+ source: "elm";
+ }
+ program { name: "save_off";
+ signal: "elm,state,save,off";
+ source: "elm";
+ }
+ }
+}
+
+group { name: "elm/fileselector_entry/base/default";
+ parts {
+ part { name: "elm.swallow.entry";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 50 10;
+ rel2 { to_x: "elm.swallow.button";
+ relative: 0.0 1.0;
+ offset: -1 -1;
+ }
+ }
+ }
+ part { name: "elm.swallow.button";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ min: 10 10;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: -21 0;
+ }
+ }
+ }
+ }
+}
+
diff --git a/edje/img/arrow_right.png b/edje/img/arrow_right.png
new file mode 100644
index 0000000..268d6d1
Binary files /dev/null and b/edje/img/arrow_right.png differ
--
------------------------------------------------------------------------------
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