exquisite-theme-angstrom: import needed files after rasterman fixed the images
authorKoen Kooi <koen@openembedded.org>
Thu, 16 Apr 2009 14:17:34 +0000 (16:17 +0200)
committerKoen Kooi <koen@openembedded.org>
Thu, 16 Apr 2009 14:17:34 +0000 (16:17 +0200)
recipes/angstrom/exquisite-theme-angstrom.bb
recipes/angstrom/exquisite-theme-angstrom/angstrom/build.sh [new file with mode: 0755]
recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-bar.png [new file with mode: 0644]
recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-barglow.png [new file with mode: 0644]
recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-bglight.png [new file with mode: 0644]
recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-logo-ang.png [new file with mode: 0644]
recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-logo.png [moved from recipes/angstrom/exquisite-theme-angstrom/exq-logo.png with 100% similarity]
recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-logoglow-ang.png [new file with mode: 0644]
recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-logoglow.png [moved from recipes/angstrom/exquisite-theme-angstrom/exq-logoglow.png with 100% similarity]
recipes/angstrom/exquisite-theme-angstrom/angstrom/exquisite-ang.edc [new file with mode: 0644]

index cf0bce6..38511c3 100644 (file)
@@ -6,9 +6,7 @@ SECTION = "x11"
 DEPENDS = "edje-native"
 RRECOMMENDS_${PN} = "exquisite"
 
-SRCREV = "${EFL_SRCREV}"
-PV = "1.0+svnr${SRCREV}"
-PR = "r2"
+PV = "1.1"
 
 inherit update-alternatives
 
@@ -17,16 +15,12 @@ ALTERNATIVE_LINK = "${sysconfdir}/exquisite/config"
 ALTERNATIVE_PATH = "${sysconfdir}/exquisite/config-angstrom"
 ALTERNATIVE_PRIORITY = "20"
 
-SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk;module=THEMES/b_and_w;proto=http \
-           file://exq-logo.png \
-           file://exq-logoglow.png \
-"
+SRC_URI = "file://angstrom/"
 
-S = "${WORKDIR}/THEMES/b_and_w"
+S = "${WORKDIR}/angstrom"
 
 do_compile() {
-   cp ${WORKDIR}/*png ${S}/
-   edje_cc exquisite.edc angstrom.edj
+   edje_cc exquisite-ang.edc angstrom.edj
 }
 
 do_install() {
diff --git a/recipes/angstrom/exquisite-theme-angstrom/angstrom/build.sh b/recipes/angstrom/exquisite-theme-angstrom/angstrom/build.sh
new file mode 100755 (executable)
index 0000000..dbaf117
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+edje_cc $@ -id . -fd . exquisite-ang.edc -o angstrom.edj
diff --git a/recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-bar.png b/recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-bar.png
new file mode 100644 (file)
index 0000000..fcc50ca
Binary files /dev/null and b/recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-bar.png differ
diff --git a/recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-barglow.png b/recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-barglow.png
new file mode 100644 (file)
index 0000000..df899f8
Binary files /dev/null and b/recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-barglow.png differ
diff --git a/recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-bglight.png b/recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-bglight.png
new file mode 100644 (file)
index 0000000..4c62b38
Binary files /dev/null and b/recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-bglight.png differ
diff --git a/recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-logo-ang.png b/recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-logo-ang.png
new file mode 100644 (file)
index 0000000..a8d5c70
Binary files /dev/null and b/recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-logo-ang.png differ
diff --git a/recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-logoglow-ang.png b/recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-logoglow-ang.png
new file mode 100644 (file)
index 0000000..b188cc5
Binary files /dev/null and b/recipes/angstrom/exquisite-theme-angstrom/angstrom/exq-logoglow-ang.png differ
diff --git a/recipes/angstrom/exquisite-theme-angstrom/angstrom/exquisite-ang.edc b/recipes/angstrom/exquisite-theme-angstrom/angstrom/exquisite-ang.edc
new file mode 100644 (file)
index 0000000..57cab9b
--- /dev/null
@@ -0,0 +1,309 @@
+images {
+   image: "exq-bglight.png" COMP;
+   image: "exq-logo-ang.png" COMP;
+   image: "exq-logoglow-ang.png" COMP;
+   image: "exq-bar.png" COMP;
+   image: "exq-barglow.png" COMP;
+}
+
+collections {
+   group {
+      name: "exquisite/theme";
+      parts {
+        part { name: "base";
+           type: RECT;
+           description { state: "default" 0.0;
+              color: 0 0 0 255;
+           }
+        }
+        part { name: "light";
+           description { state: "default" 0.0;
+              align: 0.5 0.222222222;
+              rel1.relative: 0.104166667 0.515625;
+              rel2.relative: 0.895833333 0.796875;
+              aspect: 2.111111111 2.111111111;
+              aspect_preference: HORIZONTAL;
+              max: 380 180;
+              image.normal: "exq-bglight.png";
+              color: 0 0 0 255;
+           }
+           description { state: "visible" 0.0;
+              inherit: "default" 0.0;
+              color: 255 255 255 255;
+           }
+        }
+        part { name: "logoclip";
+           type: RECT;
+           description { state: "default" 0.0;
+              visible: 0;
+              color: 255 255 255 0;
+           }
+           description { state: "visible" 0.0;
+              inherit: "default" 0.0;
+              visible: 1;
+              color: 255 255 255 255;
+           }
+        }
+        part { name: "logoglow";
+           clip_to: "logoclip";
+           description { state: "default" 0.0;
+              align: 0.5 0.5;
+              rel1.to: "logo";
+              rel1.relative: -0.045454545 -0.02764977;
+              rel2.to: "logo";
+              rel2.relative: 1.045454545 0.774193548;
+              aspect: 0.75862069 0.75862069;
+              aspect_preference: HORIZONTAL;
+              max: 132 174;
+              image.normal: "exq-logoglow-ang.png";
+              color: 255 255 255 0;
+           }
+           description { state: "visible" 0.0;
+              inherit: "default" 0.0;
+              color: 255 255 255 255;
+           }
+        }
+        part { name: "logo";
+           clip_to: "logoclip";
+           description { state: "default" 0.0;
+              align: 0.5 0.774193548;
+              rel1.relative: 0.272916667 0.315625;
+              rel2.relative: 0.727083333 0.6546875;
+              aspect: 0.557603687 0.557603687;
+              aspect_preference: BOTH;
+              max: 121 217;
+              image.normal: "exq-logo-ang.png";
+           }
+        }
+        part { name: "bar";
+           description { state: "default" 0.0;
+              rel1 {
+                 to: "bar_clip";
+                 offset: -9 -9;
+              }
+              rel2 {
+                  to_x: "exquisite.progress";
+                 to_y: "bar_clip";
+                 offset: 8 -1;
+              }
+              image.normal: "exq-bar.png";
+              image.border: 10 10 10 0;
+              color: 255 255 255 0;
+           }
+           description { state: "visible" 0.0;
+              inherit: "default" 0.0;
+              color: 255 255 255 255;
+           }
+        }
+        part { name: "barglow";
+           description { state: "default" 0.0;
+              align: 1.0 0.5;
+              max: 31 999;
+              rel1 {
+                 to: "bar";
+                 relative: 0.0 0.0;
+                 offset: 9 4;
+              }
+              rel2 {
+                 to_x: "bar";
+                 to_y: "bar_clip";
+                 relative: 1.0 0.52173913;
+                 offset: -5 4;
+              }
+              image.normal: "exq-barglow.png";
+              image.border: 0 10 10 10;
+              color: 255 255 255 0;
+           }
+           description { state: "visible" 0.0;
+              inherit: "default" 0.0;
+              color: 255 255 255 255;
+           }
+        }
+        part { name: "bar_clip";
+           mouse_events:  0;
+           type: RECT;
+           description { state: "default" 0.0;
+              visible: 0;
+              rel1.relative: 0.0625 0.59375;
+              rel2.relative: 0.9375 0.7375;
+           }
+        }
+        part {
+           name: "exquisite.progress";
+           mouse_events: 0;
+           type: RECT;
+           dragable {
+              x: 1 1 0;
+              y: 0 0 0;
+              confine: "bar_clip";
+           }
+           description {
+              state: "default" 0.0;
+              visible: 0;
+              rel1 {
+                 to: "bar_clip";
+                 relative: 0.5 0.5;
+                 offset: 0 0;
+              }
+              rel2 {
+                 to: "bar_clip";
+                 relative: 0.5 0.5;
+                 offset: 0 0;
+              }
+           }
+        }
+
+        part { name: "exquisite.title";
+           type: TEXT;
+           description { state: "default" 0.0;
+              rel1 {
+                 to_y: "logo";
+                 relative: 0.05 -0.4;
+              }
+              rel2 {
+                 to_y: "logo";
+                 relative: 0.95 -0.2;
+              }
+              color: 255 255 255 0;
+              text {
+                 font: "Sans:style=Bold";
+                 size: 24;
+                 fit: 0 1;
+              }
+           }
+           description { state: "visible" 0.0;
+              inherit: "default" 0.0;
+              color: 255 255 255 255;
+           }
+        }
+        part { name: "exquisite.message";
+           type: TEXT;
+           description { state: "default" 0.0;
+              rel1 {
+                 to: "exquisite.title";
+                 relative: 0.0 1.0;
+              }
+              rel2 {
+                 to: "exquisite.title";
+                 relative: 1.0 1.5;
+              }
+              color: 255 255 255 0;
+              text {
+                 font: "Sans";
+                 size: 10;
+                 fit: 0 1;
+              }
+           }
+           description { state: "visible" 0.0;
+              inherit: "default" 0.0;
+              color: 255 255 255 128;
+           }
+        }
+      }
+      
+      programs {
+        program { name: "show1";
+           signal: "show";
+           source: "";
+           in: 0.5 0.0;
+           action: STATE_SET "visible" 0.0;
+            transition: LINEAR 2.0;
+           target: "light";
+           after: "show2";
+        }
+        program { name: "show2";
+           action: STATE_SET "visible" 0.0;
+            transition: LINEAR 2.0;
+           target: "logoclip";
+           after: "show3";
+        }
+        program { name: "show3";
+           action: STATE_SET "visible" 0.0;
+            transition: LINEAR 2.0;
+           target: "bar";
+           target: "barglow";
+        }
+        
+        program { name: "title1";
+           signal: "exquisite";
+           source: "title";
+           action: STATE_SET "default" 0.0;
+           target: "exquisite.title";
+           after: "title2";
+        }
+        program { name: "title2";
+           action: STATE_SET "visible" 0.0;
+           target: "exquisite.title";
+           transition: SINUSOIDAL 1.0;
+        }
+
+        program { name: "message1";
+           signal: "exquisite";
+           source: "message";
+           action: STATE_SET "default" 0.0;
+           target: "exquisite.message";
+           after: "message2";
+        }
+        program { name: "message2";
+           action: STATE_SET "visible" 0.0;
+           target: "exquisite.message";
+           transition: SINUSOIDAL 1.0;
+        }
+        
+        program { name: "pulsate1";
+           signal: "exquisite";
+           source: "pulsate";
+           action: STATE_SET "visible" 0.0;
+           transition: SINUSOIDAL 1.0;
+           target: "logoglow";
+           after: "pulsate2";
+        }
+        program { name: "pulsate2";
+           action: STATE_SET "default" 0.0;
+           transition: SINUSOIDAL 1.0;
+           target: "logoglow";
+           after: "pulsate1";
+        }
+        program { name: "pulsate_stop";
+           action: ACTION_STOP;
+           target: "pulsate1";
+           target: "pulsate2";
+        }
+        program { name: "progress";
+           signal: "exquisite";
+           source: "progress";
+           action: STATE_SET "default" 0.0;
+           target: "logoglow";
+           after: "pulsate_stop";
+        }
+        
+        program { name: "exit1";
+           signal: "exquisite";
+           source: "exit";
+           action: STATE_SET "default" 0.0;
+           transition: ACCELERATE 0.5;
+           target: "bar";
+           target: "barglow";
+           after: "exit2";
+        }
+        program { name: "exit2";
+           action: STATE_SET "default" 0.0;
+           transition: ACCELERATE 0.5;
+           target: "logoclip";
+           target: "logoglow";
+           target: "exquisite.title";
+           target: "exquisite.message";
+           after: "exit3";
+        }
+        program { name: "exit3";
+           action: STATE_SET "default" 0.0;
+           transition: ACCELERATE 0.5;
+           target: "light";
+           after: "exit4";
+        }
+        program { name: "exit4";
+           action: SIGNAL_EMIT "exquisite" "done";
+        }
+      }
+   }
+}