hermet pushed a commit to branch master.

commit 468066d8ac10a0a480f79ab778a2dc04187aae81
Author: ChunEon Park <[email protected]>
Date:   Mon Jul 22 15:24:21 2013 +0900

    theme/dark - +slideshow
---
 edje/dark.edc              |   2 +-
 edje/edc/elm/slideshow.edc | 408 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 409 insertions(+), 1 deletion(-)

diff --git a/edje/dark.edc b/edje/dark.edc
index c905808..faca256 100644
--- a/edje/dark.edc
+++ b/edje/dark.edc
@@ -33,7 +33,7 @@ collections {
 //#include "edc/elm/fileselector.edc"
 #include "edc/elm/win.edc"
 //#include "edc/elm/inwin.edc"
-//#include "edc/elm/slideshow.edc"
+#include "edc/elm/slideshow.edc"
 //#include "edc/elm/disksel.edc"
 //#include "edc/elm/ctxpopup.edc"
 //#include "edc/elm/multibuttonentry.edc"
diff --git a/edje/edc/elm/slideshow.edc b/edje/edc/elm/slideshow.edc
new file mode 100644
index 0000000..9581403
--- /dev/null
+++ b/edje/edc/elm/slideshow.edc
@@ -0,0 +1,408 @@
+group { name: "elm/slideshow/base/default";
+   data {
+      item: transitions "fade black_fade horizontal vertical square";
+      item: layouts "fullscreen not_fullscreen";
+   }
+   parts {
+      part { name: "whole";
+         type: RECT;
+         description {
+            state: "default" 0.0;
+            visible: 1;
+            color: 20 20 20 255;
+         }
+      }
+      part { name: "image_1_whole";
+         type: RECT;
+         description {
+            state: "default" 0.0;
+            color: 255 255 255 255;
+         }
+         description {
+            state: "fade_prev_next" 0.0;
+            inherit: "default" 0.0;
+            color: 255 255 255 0;
+         }
+         description {
+            state: "black_fade_prev_next_init" 0.0;
+            inherit: "default" 0.0;
+            color: 255 255 255 255;
+         }
+         description {
+            state: "black_fade_prev_next" 0.0;
+            inherit: "default" 0.0;
+            color: 0 0 0 255;
+         }
+         description {
+            state: "horizontal_next_init" 0.0;
+            inherit: "default" 0.0;
+         }
+         description {
+            state: "horizontal_next" 0.0;
+            inherit: "default" 0.0;
+            rel1.relative: -1.0 0.0;
+            rel2.relative: 0.0 1.0;
+         }
+         description {
+            state: "horizontal_prev_init" 0.0;
+            inherit: "default" 0.0;
+         }
+         description {
+            state: "horizontal_prev" 0.0;
+            inherit: "default" 0.0;
+            rel1.relative: 1.0 0.0;
+            rel2.relative: 2.0 1.0;
+         }
+         description {
+            state: "vertical_next_init" 0.0;
+            inherit: "default" 0.0;
+         }
+         description {
+            state: "vertical_next" 0.0;
+            inherit: "default" 0.0;
+            rel1.relative: 0.0 -1.0;
+            rel2.relative: 1.0 0.0;
+         }
+         description {
+            state: "vertical_prev_init" 0.0;
+            inherit: "default" 0.0;
+         }
+         description {
+            state: "vertical_prev" 0.0;
+            inherit: "default" 0.0;
+            rel1.relative: 0.0 1.0;
+            rel2.relative: 1.0 2.0;
+         }
+         description {
+            state: "square_prev_next" 0.0;
+            inherit: "default" 0.0;
+            color: 255 255 255 0;
+         }
+      }
+      part { name: "image_2_whole";
+         type: RECT;
+         description {
+            state: "default" 0.0;
+            visible: 1;
+            color: 255 255 255 0;
+         }
+         description {
+            state: "fade_prev_next" 0.0;
+            inherit: "default" 0.0;
+            color: 255 255 255 255;
+         }
+         description {
+            state: "black_fade_prev_next_init" 0.0;
+            inherit: "default" 0.0;
+            color: 0 0 0 0;
+         }
+         description {
+            state: "black_fade_prev_next" 0.0;
+            inherit: "default" 0.0;
+            color: 255 255 255 255;
+         }
+         description {
+            state: "horizontal_next_init" 0.0;
+            inherit: "default" 0.0;
+            rel1.relative: 1.0 0.0;
+            rel2.relative: 2.0 1.0;
+            color: 255 255 255 255;
+         }
+         description {
+            state: "horizontal_next" 0.0;
+            inherit: "default" 0.0;
+            color: 255 255 255 255;
+         }
+         description {
+            state: "horizontal_prev_init" 0.0;
+            inherit: "default" 0.0;
+            rel1.relative: -1.0 0.0;
+            rel2.relative: 0.0 1.0;
+            color: 255 255 255 255;
+         }
+         description {
+            state: "horizontal_prev" 0.0;
+            inherit: "default" 0.0;
+            color: 255 255 255 255;
+         }
+         description {
+            state: "vertical_next_init" 0.0;
+            inherit: "default" 0.0;
+            rel1.relative: 0.0 1.0;
+            rel2.relative: 1.0 2.0;
+            color: 255 255 255 255;
+         }
+         description {
+            state: "vertical_next" 0.0;
+            inherit: "default" 0.0;
+            color: 255 255 255 255;
+         }
+         description {
+            state: "vertical_prev_init" 0.0;
+            inherit: "default" 0.0;
+            rel1.relative: 0.0 -1.0;
+            rel2.relative: 1.0 0.0;
+            color: 255 255 255 255;
+         }
+         description {
+            state: "vertical_prev" 0.0;
+            inherit: "default" 0.0;
+            color: 255 255 255 255;
+         }
+         description {
+            state: "square_prev_next_init" 0.0;
+            inherit: "default" 0.0;
+            rel1.relative: 0.5 0.5;
+            rel2.relative: 0.5 0.5;
+            color: 255 255 255 255;
+         }
+         description {
+            state: "square_prev_next" 0.0;
+            inherit: "default" 0.0;
+            rel1.relative: 0.0 0.0;
+            rel2.relative: 1.0 1.0;
+            color: 255 255 255 255;
+         }
+      }
+      part { name: "elm.swallow.1";
+         type: SWALLOW;
+         clip_to: "image_1_whole";
+         description {
+            state: "default" 0.0;
+            rel1.to: "image_1_whole";
+            rel2.to: "image_1_whole";
+         }
+         description {
+            state: "not_fullscreen" 0.0;
+            rel1.relative: 0.1 0.1;
+            rel1.to: "image_1_whole";
+            rel2.relative: 0.9 0.9;
+            rel2.to: "image_1_whole";
+         }
+      }
+      part { name: "elm.swallow.2";
+         type: SWALLOW;
+         clip_to: "image_2_whole";
+         description {
+            state: "default" 0.0;
+            rel1.to: "image_2_whole";
+            rel2.to: "image_2_whole";
+         }
+         description {
+            state: "not_fullscreen" 0.0;
+            rel1.relative: 0.1 0.1;
+            rel1.to: "image_2_whole";
+            rel2.relative: 0.9 0.9;
+            rel2.to: "image_2_whole";
+         }
+      }
+      part { name: "events_catcher";
+         type: RECT;
+         repeat_events: 1;
+         description {
+            state: "default" 0.0;
+            visible: 1;
+            color: 0 0 0 0;
+         }
+      }
+   }
+   programs {
+        //Substyle
+      program { name: "layout_fullscreen";
+         signal: "layout,fullscreen";
+         source: "slideshow";
+         action: STATE_SET "default" 0.0;
+         target: "elm.swallow.1";
+         target: "elm.swallow.2";
+         transition: SINUSOIDAL 1.0;
+      }
+      program { name: "layout_not_fullscreen";
+         signal: "layout,not_fullscreen";
+         source: "slideshow";
+         action: STATE_SET "not_fullscreen" 0.0;
+         target: "elm.swallow.1";
+         target: "elm.swallow.2";
+         transition: SINUSOIDAL 1.0;
+      }
+      //
+      program { name: "fade_next";
+         signal: "fade,next";
+         source: "slideshow";
+         action: STATE_SET "default" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         after: "fade_next_2";
+      }
+      program { name: "fade_next_2";
+         action: STATE_SET "fade_prev_next" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         transition: SINUSOIDAL 1.5;
+         after: "end";
+      }
+      program { name: "fade_previous";
+         signal: "fade,previous";
+         source: "slideshow";
+         action: STATE_SET "default" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         after: "fade_previous_2";
+      }
+      program { name: "fade_previous_2";
+         action: STATE_SET "fade_prev_next" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         transition: SINUSOIDAL 1.5;
+         after: "end";
+      }
+      program { name: "black_fade_next";
+         signal: "black_fade,next";
+         source: "slideshow";
+         action: STATE_SET "black_fade_prev_next_init" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         after: "black_fade_next_2";
+      }
+      program { name: "black_fade_next_2";
+         action: STATE_SET "black_fade_prev_next" 0.0;
+         target: "image_1_whole";
+         transition: SINUSOIDAL 0.75;
+         after: "black_fade_next_3";
+      }
+      program { name: "black_fade_next_3";
+         action: STATE_SET "black_fade_prev_next" 0.0;
+         target: "image_2_whole";
+         transition: SINUSOIDAL 0.75;
+         after: "end";
+      }
+      program { name: "black_fade_previous";
+         signal: "black_fade,previous";
+         source: "slideshow";
+         action: STATE_SET "black_fade_prev_next_init" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         after: "black_fade_previous_2";
+      }
+      program { name: "black_fade_previous_2";
+         action: STATE_SET "black_fade_prev_next" 0.0;
+         target: "image_1_whole";
+         transition: SINUSOIDAL 0.75;
+         after: "black_fade_previous_3";
+      }
+      program { name: "black_fade_previous_3";
+         action: STATE_SET "black_fade_prev_next" 0.0;
+         target: "image_2_whole";
+         transition: SINUSOIDAL 0.75;
+         after: "end";
+      }
+      program { name: "horizontal_next";
+         signal: "horizontal,next";
+         source: "slideshow";
+         action: STATE_SET "horizontal_next_init" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         after: "horizontal_next_2";
+      }
+      program { name: "horizontal_next_2";
+         action: STATE_SET "horizontal_next" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         transition: SINUSOIDAL 1.5;
+         after: "end";
+      }
+      program { name: "horizontal_previous";
+         signal: "horizontal,previous";
+         source: "slideshow";
+         action: STATE_SET "horizontal_prev_init" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         after: "horizontal_previous_2";
+      }
+      program { name: "horizontal_previous_2";
+         action: STATE_SET "horizontal_prev" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         transition: SINUSOIDAL 1.5;
+         after: "end";
+      }
+      program { name: "vertical_next";
+         signal: "vertical,next";
+         source: "slideshow";
+         action: STATE_SET "vertical_next_init" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         after: "vertical_next_2";
+      }
+      program { name: "vertical_next_2";
+         action: STATE_SET "vertical_next" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         transition: SINUSOIDAL 1.5;
+         after: "end";
+      }
+      program { name: "vertical_previous";
+         signal: "vertical,previous";
+         source: "slideshow";
+         action: STATE_SET "vertical_prev_init" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         after: "vertical_previous_2";
+      }
+      program { name: "vertical_previous_2";
+         action: STATE_SET "vertical_prev" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         transition: SINUSOIDAL 1.5;
+         after: "end";
+      }
+      program { name: "square_next";
+         signal: "square,next";
+         source: "slideshow";
+         action: STATE_SET "square_prev_next_init" 0.0;
+         target: "image_2_whole";
+         after: "square_next_2";
+      }
+      program { name: "square_next_2";
+         action: STATE_SET "square_prev_next" 0.0;
+         target: "image_2_whole";
+         target: "image_1_whole";
+         transition: SINUSOIDAL 1.5;
+         after: "end";
+      }
+      program { name: "square_previous";
+         signal: "square,previous";
+         source: "slideshow";
+         action: STATE_SET "square_prev_next_init" 0.0;
+         target: "image_2_whole";
+         after: "square_next_2";
+      }
+      program { name: "next";
+         signal: "none,next";
+         source: "slideshow";
+         action: STATE_SET "fade_prev_next" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         after: "end";
+      }
+      program { name: "previous";
+         signal: "none,previous";
+         source: "slideshow";
+         action: STATE_SET "fade_prev_next" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+         after: "end";
+      }
+      program { name: "end";
+         action: SIGNAL_EMIT "end" "slideshow";
+      }
+      program { name: "end_signal";
+         signal: "anim,end";
+         source: "slideshow";
+         action: STATE_SET "default" 0.0;
+         target: "image_1_whole";
+         target: "image_2_whole";
+      }
+   }
+}
+
+///////////////////////////////////////////////////////////////////////////////

-- 

------------------------------------------------------------------------------
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

Reply via email to