Hello,

I have been trying to run enlightenment on a HP iPAQ hx2410 PDA. I
have finally succeeded in this task.

However I encountered some problems with edje. The file "default.eet"
shipped with eem.tgz available on rasterman's web site seems not to
work with the version of edje that ships with OpenEmbedded (version
0.5.0.007). Trying to run eem shows only a white screen and trying to
regenerate the file with edje_cc fails.

I have corrected the default.edc file so that it compiles correctly
with edje_cc. The patch is attached to this mail. I have also made
some modifications to the file because some elements were not
displayed in the correct place on the screen (probably because of the
newer version of edje I use). However altough everything displays fine
on my PDA, I am not sure whether I corrected the file in the best
manner possible :)

I have not tested eem with the latest CVS version, so it is still
possible some problem can occur with the latest CVS.

Regards,

-- 
Nicolas Schichan
--- eem/data/edjes/default.edc  2004-03-09 08:04:23.000000000 +0100
+++ eem-modified/data/edjes/default.edc 2005-06-30 18:22:10.827740168 +0200
@@ -321,9 +321,9 @@
                  offset: 19 19;
                  to: "scene_clip";
               }
-              border:    32 38 32 38;
               color: 255 255 255 255;
               image {
+                 border:    32 38 32 38;
                  normal: "frame.png";
               }
                fill {
@@ -342,9 +342,9 @@
                  offset: 19 19;
                  to: "scene_clip";
               }
-              border:    32 38 32 38;
               color: 255 255 255 0;
               image {
+                 border:    32 38 32 38;
                  normal: "frame.png";
               }
                fill {
@@ -591,8 +591,6 @@
            }
            description {
               state: "loop" 0.0;
-//            min: 42 52;
-//            max: 42 52;
               min: 84 104;
               max: 84 104;
               align: 1.0 1.0;
@@ -603,7 +601,7 @@
               }
               rel2 {
                  relative: 0.0 0.0;
-                 offset: 0 0;
+                 offset: 75 90;
                  to: "scene_clip";
               }
               color: 255 255 255 255;
@@ -754,7 +752,7 @@
               text {
                  text: "Starting Enlightenment for Embedded Devices";
                  font: "Edje Vera";
-                 size: 6;
+                 size: 7;
                  align: 0.5 0.5;
                  min: 0 1;
               }
@@ -764,18 +762,17 @@
            name: "version";
            type: TEXT;
            effect: SOFT_SHADOW;
-           clip_to: "text_clip";
            description {
               state: "default" 0.0;
               align: 0.0 0.0;
               rel1 {
                  relative: 1.0  1.0;
-                 offset: -1 -1;
+                 offset: -28 -10;
                  to: "scene_clip";
               }
               rel2 {
                  relative: 1.0 1.0;
-                 offset: -1 -1;
+                 offset: -10 -10;
                  to: "scene_clip";
               }
               color: 255 255 255 255;
@@ -802,7 +799,7 @@
               }
               rel2 {
                  relative: 1.0 0.0;
-                 offset: -1 0;
+                 offset: -1 40;
               }
               color: 255 255 255 255;
               color3: 0 0 0 32;
@@ -1015,8 +1012,8 @@
                  relative: 2.0 1.0;
                  offset: -1 -1;
               }
-              border: 64 64 37 37;
               image {
+                 border: 64 64 37 37;
                  normal: "selbox.png";
               }
            }
@@ -1032,8 +1029,8 @@
                  relative: 1.0 1.0;
                  offset: -1 -1;
               }
-              border: 64 64 37 37;
               image {
+                 border: 64 64 37 37;
                  normal: "selbox.png";
               }
            }
@@ -1056,8 +1053,8 @@
                  to: "background";
               }
               color: 255 255 255 0;
-              border: 64 64 37 37;
               image {
+                 border: 64 64 37 37;
                  normal: "selbox_glow.png";
               }
            }
@@ -1075,8 +1072,8 @@
                  to: "background";
               }
               color: 255 255 255 255;
-              border: 64 64 37 37;
               image {
+                 border: 64 64 37 37;
                  normal: "selbox_glow.png";
               }
            }
@@ -1234,7 +1231,7 @@
               }
               rel2 {
                  relative: 0.0 1.0;
-                 offset: 0 -1;
+                 offset: 15 -1;
               }
               color: 255 255 255 64;
               image {
@@ -1252,7 +1249,7 @@
               }
               rel2 {
                  relative: 0.0 1.0;
-                 offset: 0 -1;
+                 offset: 15 -1;
               }
               color: 255 255 255 255;
               image {
@@ -1321,7 +1318,7 @@
               text {
                  text: "Label Name goes here";
                  font: "Edje Vera";
-                 size: 7;
+                 size: 10;
                  align: 0.0 0.5;
                  min: 0 1;
               }
@@ -1343,7 +1340,7 @@
               text {
                  text: "Label Name goes here";
                  font: "Edje Vera";
-                 size: 7;
+                 size: 10;
                  align: 0.0 0.5;
                  min: 0 1;
               }
@@ -1364,7 +1361,7 @@
               }
               rel2 {
                  relative: 0.0  1.0;
-                 offset:   0   -1;
+                 offset:   15   -1;
               }
               color: 0 0 0 0;
            }
@@ -1401,7 +1398,7 @@
                  to: "icon";
               }
               rel2 {
-                 relative: 1.0  1.0;
+                 relative: 0.0  0.0;
                  offset:   -1   -1;
                  to: "icon";
               }
@@ -1459,7 +1456,7 @@
            target: "sel2";
         }
         program {
-           name: "item_select";
+           name: "item_select1";
            signal: "select";
            source: "item";
            action: SIGNAL_EMIT "icon" "pulse";
@@ -1475,7 +1472,7 @@
            target: "sel2";
         }
         program {
-           name: "item_select";
+           name: "item_select2";
            signal: "unselect";
            source: "item";
            action: ACTION_STOP;
@@ -1539,9 +1536,9 @@
                  relative: 2.0 1.0;
                  offset: -1 -1;
               }
-              border: 64 64 37 37;
               image {
-                 normal: "selbox.png";
+                 border: 64 64 37 37;
+                 normal: "selbox.png";
               }
            }
            description {
@@ -1554,8 +1551,8 @@
                  relative: 1.0 1.0;
                  offset: -1 -1;
               }
-              border: 64 64 37 37;
               image {
+                 border: 64 64 37 37;
                  normal: "selbox.png";
               }
            }
@@ -1571,16 +1568,16 @@
               align: 0.0 1.0;
               rel1 {
                  relative: 1.0 0.0;
-                 offset: 0 0;
+                 offset: -110 0;
                  to: "background";
               }
               rel2 {
                  relative: 1.0 0.0;
-                 offset: 0 0;
+                 offset: 0 142;
                  to: "background";
               }
-              border: 8 8 8 8;
               image {
+                 border: 8 8 8 8;
                  normal: "box_shadow.png";
               }
            }
@@ -1698,11 +1695,11 @@
                  offset: 0 0;
               }
               rel2 {
-                 relative: 0.0 1.0;
-                 offset: 0 -1;
+                 relative: 0.0 0.0;
+                 offset: 50 62;
               }
-              border: 8 8 8 8;
               image {
+                 border: 8 8 8 8;
                  normal: "box_shadow.png";
               }
            }
@@ -1741,10 +1738,10 @@
                  relative: 1.0 1.0;
                  offset: -1 -1;
               }
-              border: 8 8 8 8;
               color: 255 255 255 0;
               image {
-                 normal: "box_shadow.png";
+                 border: 8 8 8 8;
+                 normal: "box_shadow.png";
               }
            }
            description {
@@ -1759,9 +1756,9 @@
                  relative: 1.0 1.0;
                  offset: -1 -1;
               }
-              border: 8 8 8 8;
               color: 255 255 255 255;
               image {
+                 border: 8 8 8 8;
                  normal: "box_shadow.png";
               }
            }
@@ -1788,7 +1785,7 @@
               text {
                  text: "Label Name goes here";
                  font: "Edje Vera";
-                 size: 7;
+                 size: 10;
                  align: 0.0 0.5;
                  min: 0 1;
               }
@@ -1810,7 +1807,7 @@
               text {
                  text: "Label Name goes here";
                  font: "Edje Vera";
-                 size: 7;
+                 size: 10;
                  align: 0.0 0.5;
                  min: 0 1;
               }
@@ -1819,7 +1816,7 @@
       }
       programs {
         program {
-           name: "item_select";
+           name: "item_select3";
            signal: "select";
            source: "item";
            action: STATE_SET "selected" 0.0;

Reply via email to