q66 pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/tclock.git/commit/?id=7cc7ca99d751888b69abe0312cf649d9089521eb

commit 7cc7ca99d751888b69abe0312cf649d9089521eb
Author: Daniel Kolesa <[email protected]>
Date:   Fri Feb 6 16:16:49 2015 +0000

    edje formatting
---
 e-module-tclock.edc |  21 ++++-
 tclock.edc          | 264 ++++++++++++++++++++++++----------------------------
 2 files changed, 140 insertions(+), 145 deletions(-)

diff --git a/e-module-tclock.edc b/e-module-tclock.edc
index 58d1340..9bb9a0a 100644
--- a/e-module-tclock.edc
+++ b/e-module-tclock.edc
@@ -1 +1,20 @@
-images { image: module_icon.png COMP; } collections { group {name: icon;   
max: 128 128; parts { part { name: image; mouse_events: 0; description { state: 
default 0.0; aspect: 1.0 1.0; image.normal: module_icon.png; } } } } }
+images {
+    image: module_icon.png COMP;
+}
+collections {
+    group {
+        name: icon;
+        max: 128 128;
+        parts {
+            part {
+                name: image;
+                mouse_events: 0;
+                description {
+                    state: default 0.0;
+                    aspect: 1.0 1.0;
+                    image.normal: module_icon.png;
+                }
+            }
+        }
+    }
+}
diff --git a/tclock.edc b/tclock.edc
index d4374a4..ac27d98 100644
--- a/tclock.edc
+++ b/tclock.edc
@@ -1,145 +1,121 @@
-collections
-{
-   images 
-     {
-     }
-   group
-     {
-       name: "modules/tclock/main";
-       parts
-         {
-            part
-              {
-                 name: "tclock_time";
-                 type: TEXT;
-                 effect: OUTLINE_SOFT_SHADOW;
-                 mouse_events: 1;
-                 description
-                   {
-                      state: "default" 0.0;
-                      visible: 0;
-                      align: 0.5 0.5;
-                      rel1.offset: 0 2;
-                      rel2
-                        {
-                           relative: 1.0 0.5;
-                           offset: -1 -3;
-                        }
-                      color: 255 255 255 255;
-                      color2: 0 0 0 96;
-                      color3: 0 0 0 32;
-                      color_class: "module_label";
-                      text {
-                         text: "";
-                         font: "Sans:style=Mono";
-                         size: 10;
-                         min: 1 1;
-                         align: 0.5 0.5;
-                         text_class: "module_large";                     
-                      }
-                   }
-                 description 
-                   {
-                      state: "hidden" 0.0;
-                      inherit: "default" 0.0;
-                      visible: 0;
-                   }
-                 description 
-                   {
-                      state: "visible" 0.0;
-                      inherit: "default" 0.0;
-                      visible: 1;
-                   }             
-              }
-            part
-              {
-                 name: "tclock_date";
-                 type: TEXT;
-                 effect: OUTLINE_SOFT_SHADOW;
-                 mouse_events: 1;                
-                 description
-                   {
-                      state: "default" 0.0;
-                      visible: 0;
-                      align: 0.5 0.5;
-                      rel1
-                        {
-                           relative: 0.0 0.5;
-                           offset: 0 2;
-                        }
-                      rel2.offset: -1 -3;
-                      color: 255 255 255 255;
-                      color2: 0 0 0 96;
-                      color3: 0 0 0 32;
-                      color_class: "module_label";
-                      text {
-                         text: "";
-                         font: "Sans:style=Mono";
-                         size: 9;
-                         min: 1 1;
-                         align: 0.5 0.5;
-                         text_class: "module_small";
-                      }
-                   }
-                 description 
-                   {
-                      state: "hidden" 0.0;
-                      inherit: "default" 0.0;
-                      visible: 0;
-                   }
-                 description 
-                   {
-                      state: "visible" 0.0;
-                      inherit: "default" 0.0;
-                      visible: 1;
-                   }             
-              }
-            part 
-              {
-                 name: "over";
-                 type: RECT;
-                 description 
-                   {
-                      state: "default" 0.0;
-                      color: 0 0 0 0;
-                   }
-              }
-         }
-       /* Close Parts */
-       programs 
-         {
-            program 
-              {
-                 name: "p1";
-                 signal: "time_hidden";
-                 source: "";
-                 action: STATE_SET "hidden" 0.0;
-                 target: "tclock_time";
-              }
-            program 
-              {
-                 name: "p2";
-                 signal: "time_visible";
-                 source: "";
-                 action: STATE_SET "visible" 0.0;
-                 target: "tclock_time";
-              }
-            program 
-              {
-                 name: "p3";
-                 signal: "date_hidden";
-                 source: "";
-                 action: STATE_SET "hidden" 0.0;
-                 target: "tclock_date";
-              }
-            program 
-              {
-                 name: "p4";
-                 signal: "date_visible";
-                 source: "";
-                 action: STATE_SET "visible" 0.0;
-                 target: "tclock_date";
-              }             
-         }
-     }
+collections {
+    group {
+        name: "modules/tclock/main";
+        parts {
+            part {
+                name: "tclock_time";
+                type: TEXT;
+                effect: OUTLINE_SOFT_SHADOW;
+                mouse_events: 1;
+                description {
+                    state: "default" 0.0;
+                    visible: 0;
+                    align: 0.5 0.5;
+                    rel1.offset: 0 2;
+                    rel2 {
+                        relative: 1.0 0.5;
+                        offset: -1 -3;
+                    }
+                    color: 255 255 255 255;
+                    color2: 0 0 0 96;
+                    color3: 0 0 0 32;
+                    color_class: "module_label";
+                    text {
+                        text: "";
+                        font: "Sans:style=Mono";
+                        size: 10;
+                        min: 1 1;
+                        align: 0.5 0.5;
+                        text_class: "module_large";
+                    }
+                }
+                description {
+                    state: "hidden" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 0;
+                }
+                description {
+                    state: "visible" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 1;
+                }
+            }
+            part {
+                name: "tclock_date";
+                type: TEXT;
+                effect: OUTLINE_SOFT_SHADOW;
+                mouse_events: 1;
+                description {
+                    state: "default" 0.0;
+                    visible: 0;
+                    align: 0.5 0.5;
+                    rel1 {
+                        relative: 0.0 0.5;
+                        offset: 0 2;
+                    }
+                    rel2.offset: -1 -3;
+                    color: 255 255 255 255;
+                    color2: 0 0 0 96;
+                    color3: 0 0 0 32;
+                    color_class: "module_label";
+                    text {
+                        text: "";
+                        font: "Sans:style=Mono";
+                        size: 9;
+                        min: 1 1;
+                        align: 0.5 0.5;
+                        text_class: "module_small";
+                    }
+                }
+                description {
+                    state: "hidden" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 0;
+                }
+                description {
+                    state: "visible" 0.0;
+                    inherit: "default" 0.0;
+                    visible: 1;
+                }
+            }
+            part {
+                name: "over";
+                type: RECT;
+                description {
+                    state: "default" 0.0;
+                    color: 0 0 0 0;
+                }
+            }
+        }
+        programs {
+            program {
+                name: "p1";
+                signal: "time_hidden";
+                source: "";
+                action: STATE_SET "hidden" 0.0;
+                target: "tclock_time";
+            }
+            program {
+                name: "p2";
+                signal: "time_visible";
+                source: "";
+                action: STATE_SET "visible" 0.0;
+                target: "tclock_time";
+            }
+            program {
+                name: "p3";
+                signal: "date_hidden";
+                source: "";
+                action: STATE_SET "hidden" 0.0;
+                target: "tclock_date";
+            }
+            program {
+                name: "p4";
+                signal: "date_visible";
+                source: "";
+                action: STATE_SET "visible" 0.0;
+                target: "tclock_date";
+            }
+        }
+    }
 }

-- 


Reply via email to