Enlightenment CVS committal

Author  : onefang
Project : e_modules
Module  : emu

Dir     : e_modules/emu/src/modules/emu


Modified Files:
        .indent.pro e_mod_main.c easy_menu.c easy_menu.h 
        module_edje.edc module_face.edc module_icon.edc 


Log Message:
Formatting to the new 132 column comprimise that was agreed on.

===================================================================
RCS file: /cvsroot/enlightenment/e_modules/emu/src/modules/emu/.indent.pro,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- .indent.pro 5 Feb 2006 04:39:40 -0000       1.1
+++ .indent.pro 1 Mar 2006 15:59:47 -0000       1.2
@@ -1,4 +1,4 @@
--i3 -bl -bad -nbap -sob -ncdb -di1 -nbc -lp -nce -npcs -sc -ncs -l160 -nut
+-i3 -bl -bad -nbap -sob -ncdb -di1 -nbc -lp -nce -npcs -sc -ncs -l132 -nut
 -T Cfg_File_Data
 -T Config
 -T Config_Face
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/emu/src/modules/emu/e_mod_main.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_mod_main.c        1 Mar 2006 04:59:24 -0000       1.9
+++ e_mod_main.c        1 Mar 2006 15:59:47 -0000       1.10
@@ -149,7 +149,8 @@
                         _
                         ("Experimental generic scriptable module for 
E17.<br><br>"
                          "Keep an eye out for the emu's.<br>"
-                         "Don't even try to run away, they're fast 
buggers.<br>" "Hiding in your dunny doesn't help, they can kick dunnies 
down."));
+                         "Don't even try to run away, they're fast 
buggers.<br>"
+                         "Hiding in your dunny doesn't help, they can kick 
dunnies down."));
    return 1;
 }
 
@@ -294,8 +295,9 @@
           {
              emu_face->add = ecore_event_handler_add(ECORE_EXE_EVENT_ADD, 
_emu_cb_exe_add, emu_face);
              emu_face->read = ecore_event_handler_add(ECORE_EXE_EVENT_DATA, 
_emu_cb_exe_data, emu_face);
-             emu_face->exe = ecore_exe_pipe_run(emu_face->command, 
ECORE_EXE_PIPE_READ | ECORE_EXE_PIPE_WRITE | ECORE_EXE_PIPE_READ_LINE_BUFFERED
-                                                /*| ECORE_EXE_RESPAWN */ , 
emu_face);
+             emu_face->exe =
+                ecore_exe_pipe_run(emu_face->command, ECORE_EXE_PIPE_READ | 
ECORE_EXE_PIPE_WRITE | ECORE_EXE_PIPE_READ_LINE_BUFFERED
+                                   /*| ECORE_EXE_RESPAWN */ , emu_face);
              if (!emu_face->exe)
                 e_module_dialog_show(_("Enlightenment Emu Module - error"), 
_("There is no emu."));
           }
@@ -939,7 +941,8 @@
    if ((ev->button == 3) && emu_face->face->menu)
      {                          /* Right clirk configuration menu. */
         e_menu_activate_mouse(emu_face->face->menu,
-                              e_zone_current_get(emu_face->face->con), 
ev->output.x, ev->output.y, 1, 1, E_MENU_POP_DIRECTION_AUTO, ev->timestamp);
+                              e_zone_current_get(emu_face->face->con), 
ev->output.x, ev->output.y, 1, 1, E_MENU_POP_DIRECTION_AUTO,
+                              ev->timestamp);
         e_util_container_fake_mouse_up_all_later(emu_face->face->con);
      }
    else if (ev->button == 1)
@@ -952,7 +955,8 @@
           {
              e_menu_post_deactivate_callback_set(menu->menu->menu, 
_emu_menu_cb_post_deactivate, emu_face);
              e_menu_activate_mouse(menu->menu->menu,
-                                   e_zone_current_get(emu_face->face->con), 
ev->output.x, ev->output.y, 1, 1, E_MENU_POP_DIRECTION_AUTO, ev->timestamp);
+                                   e_zone_current_get(emu_face->face->con), 
ev->output.x, ev->output.y, 1, 1,
+                                   E_MENU_POP_DIRECTION_AUTO, ev->timestamp);
              e_util_container_fake_mouse_up_all_later(emu_face->face->con);
              edje_object_signal_emit(emu_face->face->main_obj, "active", "");
           }
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/emu/src/modules/emu/easy_menu.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- easy_menu.c 5 Feb 2006 04:39:40 -0000       1.5
+++ easy_menu.c 1 Mar 2006 15:59:47 -0000       1.6
@@ -2,7 +2,8 @@
 
 static struct _Menu_Data *_easy_menu_add_menus_real(Easy_Menu * easy_menu,
                                                     char *input, char *end,
-                                                    int *i, int level, void 
(*func) (void *data, E_Menu *m, E_Menu_Item *mi), void *data);
+                                                    int *i, int level, void 
(*func) (void *data, E_Menu *m, E_Menu_Item *mi),
+                                                    void *data);
 static void _easy_menu_menu_cb_create(E_Menu *m, void *category_data, void 
*data);
 static void _easy_menu_menu_cb_destroy(void *data);
 static void _easy_menu_menu_cb_free(void *obj);
@@ -20,7 +21,8 @@
  * @param   data the pointer to your face.
  */
 EAPI Easy_Menu *
-easy_menu_add_menus(char *name, char *category, char *input, int length, void 
(*func) (void *data, E_Menu *m, E_Menu_Item *mi), void *data)
+easy_menu_add_menus(char *name, char *category, char *input, int length, void 
(*func) (void *data, E_Menu *m, E_Menu_Item *mi),
+                    void *data)
 {
    Easy_Menu *menu = NULL;
 
@@ -47,7 +49,8 @@
 
                   /* A category that is an empty string, is handled by the 
caller. */
                   if (strlen(menu->category) != 0)
-                     menu->category_cb = 
e_menu_category_callback_add(menu->category, _easy_menu_menu_cb_create, 
_easy_menu_menu_cb_destroy, menu);
+                     menu->category_cb =
+                        e_menu_category_callback_add(menu->category, 
_easy_menu_menu_cb_create, _easy_menu_menu_cb_destroy, menu);
 
                   menu->valid = 1;
                }
@@ -60,7 +63,8 @@
 }
 
 static struct _Menu_Data *
-_easy_menu_add_menus_real(Easy_Menu * easy_menu, char *input, char *end, int 
*i, int level, void (*func) (void *data, E_Menu *m, E_Menu_Item *mi), void 
*data)
+_easy_menu_add_menus_real(Easy_Menu * easy_menu, char *input, char *end, int 
*i, int level,
+                          void (*func) (void *data, E_Menu *m, E_Menu_Item 
*mi), void *data)
 {
    char *oldInput = input;
    struct _Menu_Data *menu = calloc(1, sizeof(struct _Menu_Data));
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/emu/src/modules/emu/easy_menu.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- easy_menu.h 5 Feb 2006 04:39:40 -0000       1.5
+++ easy_menu.h 1 Mar 2006 15:59:47 -0000       1.6
@@ -39,7 +39,8 @@
    int valid;                   /* Probably just being paranoid.  This 
prevents this structure from being used when it isn't complete. */
 };
 
-EAPI Easy_Menu *easy_menu_add_menus(char *name, char *category, char *input, 
int length, void (*func) (void *data, E_Menu *m, E_Menu_Item *mi), void *data);
+EAPI Easy_Menu *easy_menu_add_menus(char *name, char *category, char *input, 
int length,
+                                    void (*func) (void *data, E_Menu *m, 
E_Menu_Item *mi), void *data);
 
 #endif
 #endif
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/emu/src/modules/emu/module_edje.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- module_edje.edc     27 Jan 2006 00:55:36 -0000      1.1
+++ module_edje.edc     1 Mar 2006 15:59:47 -0000       1.2
@@ -1,15 +1,18 @@
-images {
-   image: "emu1.png" COMP;
-   image: "FancyEgg.png" COMP;
-   image: "e17_titlebar.png" COMP;
+images
+{
+ image:"emu1.png" COMP;
+ image:"FancyEgg.png" COMP;
+ image:"e17_titlebar.png" COMP;
 }
 
-fonts {
-   font: "Vera.ttf"   "Edje-Vera";
-   font: "VeraBd.ttf" "Edje-Vera-Bold";
+fonts
+{
+ font:"Vera.ttf" "Edje-Vera";
+ font:"VeraBd.ttf" "Edje-Vera-Bold";
 }
 
-collections {
+collections
+{
 #include "module_icon.edc"
 #include "module_face.edc"
 }
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/emu/src/modules/emu/module_face.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- module_face.edc     27 Jan 2006 00:55:36 -0000      1.1
+++ module_face.edc     1 Mar 2006 15:59:47 -0000       1.2
@@ -1,264 +1,312 @@
-group {
-   name: "emu/main";
-   max:  304 304;
-   script {
+group
+{
+ name:"emu/main";
+ max:304 304;
+   script
+   {
       public is_active;
       public is_hilited;
    }
-   parts {
-      part {
-        name:          "title_bar";
-        mouse_events:  0;
-        description {
-           state:    "default" 0.0;
-           visible:  0;
-           image {
-              normal: "e17_titlebar.png";
-              border: 8 8 8 8;
-           }
-           color: 255 255 255 0;
-        }
-        description {
-           state:    "active" 0.0;
-           visible:  1;
-           image {
-              normal: "e17_titlebar.png";
-              border: 8 8 8 8;
-           }
-           color: 255 255 255 255;
-        }
-      }
-      
-      part {
-        name: "logo";
-        description {
-           state: "default" 0.0;
-           aspect: 1.0 1.0;
-           rel1 {
-              to: "title_bar";
-              offset: 60 60;
-           }
-           rel2 {
-              to: "title_bar";
-              offset: -61 -61;
-           }
-           image {
-              normal: "FancyEgg.png";
-           }
-           color: 255 255 255 0;
-        }
-        description {
-           state: "active" 0.0;
-           inherit: "default" 0.0;
-           rel1 {
-              to: "title_bar";
-              offset: 0 0;
-           }
-           rel2 {
-              to: "title_bar";
-              offset: -1 -1;
-           }
-           color: 255 255 255 255;
-        }
-      }
-
-      part {
-        name: "logo2";
-        description {
-           state: "default" 0.0;
-           aspect: 1.0 1.0;
-           rel1 {
-              to: "title_bar";
-              offset: 0 0;
-           }
-           rel2 {
-              to: "title_bar";
-              offset: -1 -1;
-           }
-           image {
-              normal: "emu1.png";
-           }
-        }
-        description {
-           state: "active" 0.0;
-           inherit: "default" 0.0;
-           rel1 {
-              to: "title_bar";
-              offset: 14 20;
-           }
-           rel2 {
-              to: "title_bar";
-              offset: -14 -8;
-           }
-        }
-      }
-      
-      part {
-        name:           "inout";
-        type:           RECT;
-        mouse_events:   1;
-        description {
-           state: "default" 0.0;
-           color: 255 255 255 0;
-        }
+   parts
+   {
+      part
+      {
+       name:"title_bar";
+       mouse_events:0;
+         description
+         {
+          state:"default" 0.0;
+          visible:0;
+            image
+            {
+             normal:"e17_titlebar.png";
+             border:8 8 8 8;
+            }
+          color:255 255 255 0;
+         }
+         description
+         {
+          state:"active" 0.0;
+          visible:1;
+            image
+            {
+             normal:"e17_titlebar.png";
+             border:8 8 8 8;
+            }
+          color:255 255 255 255;
+         }
+      }
+
+      part
+      {
+       name:"logo";
+         description
+         {
+          state:"default" 0.0;
+          aspect:1.0 1.0;
+            rel1
+            {
+             to:"title_bar";
+             offset:60 60;
+            }
+            rel2
+            {
+             to:"title_bar";
+             offset:-61 - 61;
+            }
+            image
+            {
+             normal:"FancyEgg.png";
+            }
+          color:255 255 255 0;
+         }
+         description
+         {
+          state:"active" 0.0;
+          inherit:"default" 0.0;
+            rel1
+            {
+             to:"title_bar";
+             offset:0 0;
+            }
+            rel2
+            {
+             to:"title_bar";
+             offset:-1 - 1;
+            }
+          color:255 255 255 255;
+         }
+      }
+
+      part
+      {
+       name:"logo2";
+         description
+         {
+          state:"default" 0.0;
+          aspect:1.0 1.0;
+            rel1
+            {
+             to:"title_bar";
+             offset:0 0;
+            }
+            rel2
+            {
+             to:"title_bar";
+             offset:-1 - 1;
+            }
+            image
+            {
+             normal:"emu1.png";
+            }
+         }
+         description
+         {
+          state:"active" 0.0;
+          inherit:"default" 0.0;
+            rel1
+            {
+             to:"title_bar";
+             offset:14 20;
+            }
+            rel2
+            {
+             to:"title_bar";
+             offset:-14 - 8;
+            }
+         }
+      }
+
+      part
+      {
+       name:"inout";
+       type:RECT;
+       mouse_events:1;
+         description
+         {
+          state:"default" 0.0;
+          color:255 255 255 0;
+         }
       }
    }
-   programs {
-      program {
-        name: "init";
-        signal: "load";
-        source: "";
-        script {
-           set_int(is_active, 0);
-           set_int(is_hilited, 0);
-        }
-      }
-      program {      
-        name:    "mouse_in";
-        signal:  "mouse,in";
-        source:  "inout";
-        script {
-           new val;
-           
-           val = get_int(is_active);
-           if (val == 0)
-             {
-                run_program(PROGRAM:"go_active_pre");
-                set_int(is_hilited, 1);
-             }
-        }
-      }
-      program {      
-        name:    "mouse_out";
-        signal:  "mouse,out";
-        source:  "inout";
-        script {
-           new val;
-           
-           val = get_int(is_active);
-           if (val == 0)
-             {
-                run_program(PROGRAM:"go_passive_pre");
-                set_int(is_hilited, 0);
-             }
-        }
-      }
-      program {      
-        name:    "handle_active";
-        signal:  "active";
-        source:  "";
-        script {
-           new val;
-           
-           set_int(is_active, 1);
-           val = get_int(is_hilited);
-           if (val == 0)
-             run_program(PROGRAM:"go_active_pre");
-           run_program(PROGRAM:"logo_go_active");
-        }
-      }
-      program {      
-        name:    "handle_passive";
-        signal:  "passive";
-        source:  "";
-        script {
-           new val;
-           
-           set_int(is_active, 0);
-           val = get_int(is_hilited);
-           if (val == 1)
-             {
-                run_program(PROGRAM:"go_passive_pre");
-                set_int(is_hilited, 0);
-             }
-           run_program(PROGRAM:"logo_go_passive");
-        }
-      }
-      
-      program {      
-        name:    "go_active_pre";
-        signal:  "";
-        source:  "";
-        action:  STATE_SET "default" 0.0;
-        target:  "logo2";
-        after:   "go_active";
-      }
-      program {
-        name:    "go_active";
-        action:  STATE_SET "active" 0.0;
-        target:  "logo2";
-        target:  "logo";
-        transition: LINEAR 0.2;
-      }
-      
-      program {
-        name:    "logo_go_active";
-        signal:  "";
-        source:  "";
-        after: "hover_go_active";
-      }
-      program {
-        name:    "hover_go_active";
-        signal:  "";
-        source:  "";
-        action:  STATE_SET "visible" 0.0;
-        target:  "logo2";
-        after:   "hover_go_active2";
-      }
-      program {
-        name:    "hover_go_active2";
-        signal:  "";
-        source:  "";
-        action:  STATE_SET "hidden" 0.0;
-        transition: LINEAR 0.5;
-        target:  "logo2";
-        after:   "hover_go_active";
-      }
-      
-      program {      
-        name:    "go_passive_pre";
-        signal:  "";
-        source:  "";
-        action:  STATE_SET "active" 0.0;
-        target:  "logo2";
-        after:   "go_passive";
-      }
-      program {
-        name:    "go_passive";
-        action:  STATE_SET "default" 0.0;
-        target:  "logo";
-        transition: LINEAR 0.2;
-        after:   "go_passive3";
-      }
-      program {
-        name:    "go_passive3";
-        action:  STATE_SET "default" 0.0;
-        target:  "logo2";
-        transition: LINEAR 0.2;
-      }
-      
-      program {
-        name:    "logo_go_passive";
-        signal:  "";
-        source:  "";
-        after:   "hover_go_passive";
-      }
-      
-      program {
-        name:    "hover_go_passive";
-        signal:  "";
-        source:  "";
-        action:  ACTION_STOP;
-        target:  "hover_go_active";
-        target:  "hover_go_active2";
-        after:   "hover_go_passive2";
-      }
-      program {
-        name:    "hover_go_passive2";
-        signal:  "";
-        source:  "";
-        action:  STATE_SET "default" 0.0;
-        target:  "logo2";
+   programs
+   {
+      program
+      {
+       name:"init";
+       signal:"load";
+       source:"";
+         script
+         {
+            set_int(is_active, 0);
+            set_int(is_hilited, 0);
+         }
+      }
+      program
+      {
+       name:"mouse_in";
+       signal:"mouse,in";
+       source:"inout";
+         script
+         {
+            new val;
+
+            val = get_int(is_active);
+            if (val == 0)
+              {
+               run_program(PROGRAM:"go_active_pre");
+                 set_int(is_hilited, 1);
+              }
+         }
+      }
+      program
+      {
+       name:"mouse_out";
+       signal:"mouse,out";
+       source:"inout";
+         script
+         {
+            new val;
+
+            val = get_int(is_active);
+            if (val == 0)
+              {
+               run_program(PROGRAM:"go_passive_pre");
+                 set_int(is_hilited, 0);
+              }
+         }
+      }
+      program
+      {
+       name:"handle_active";
+       signal:"active";
+       source:"";
+         script
+         {
+            new val;
+
+            set_int(is_active, 1);
+            val = get_int(is_hilited);
+            if (val == 0)
+             run_program(PROGRAM:"go_active_pre");
+          run_program(PROGRAM:"logo_go_active");
+         }
+      }
+      program
+      {
+       name:"handle_passive";
+       signal:"passive";
+       source:"";
+         script
+         {
+            new val;
+
+            set_int(is_active, 0);
+            val = get_int(is_hilited);
+            if (val == 1)
+              {
+               run_program(PROGRAM:"go_passive_pre");
+                 set_int(is_hilited, 0);
+              }
+          run_program(PROGRAM:"logo_go_passive");
+         }
+      }
+
+      program
+      {
+       name:"go_active_pre";
+       signal:"";
+       source:"";
+       action:STATE_SET "default" 0.0;
+       target:"logo2";
+       after:"go_active";
+      }
+      program
+      {
+       name:"go_active";
+       action:STATE_SET "active" 0.0;
+       target:"logo2";
+       target:"logo";
+       transition:LINEAR 0.2;
+      }
+
+      program
+      {
+       name:"logo_go_active";
+       signal:"";
+       source:"";
+       after:"hover_go_active";
+      }
+      program
+      {
+       name:"hover_go_active";
+       signal:"";
+       source:"";
+       action:STATE_SET "visible" 0.0;
+       target:"logo2";
+       after:"hover_go_active2";
+      }
+      program
+      {
+       name:"hover_go_active2";
+       signal:"";
+       source:"";
+       action:STATE_SET "hidden" 0.0;
+       transition:LINEAR 0.5;
+       target:"logo2";
+       after:"hover_go_active";
+      }
+
+      program
+      {
+       name:"go_passive_pre";
+       signal:"";
+       source:"";
+       action:STATE_SET "active" 0.0;
+       target:"logo2";
+       after:"go_passive";
+      }
+      program
+      {
+       name:"go_passive";
+       action:STATE_SET "default" 0.0;
+       target:"logo";
+       transition:LINEAR 0.2;
+       after:"go_passive3";
+      }
+      program
+      {
+       name:"go_passive3";
+       action:STATE_SET "default" 0.0;
+       target:"logo2";
+       transition:LINEAR 0.2;
+      }
+
+      program
+      {
+       name:"logo_go_passive";
+       signal:"";
+       source:"";
+       after:"hover_go_passive";
+      }
+
+      program
+      {
+       name:"hover_go_passive";
+       signal:"";
+       source:"";
+       action:ACTION_STOP;
+       target:"hover_go_active";
+       target:"hover_go_active2";
+       after:"hover_go_passive2";
+      }
+      program
+      {
+       name:"hover_go_passive2";
+       signal:"";
+       source:"";
+       action:STATE_SET "default" 0.0;
+       target:"logo2";
       }
    }
 }
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/emu/src/modules/emu/module_icon.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- module_icon.edc     27 Jan 2006 00:55:36 -0000      1.1
+++ module_icon.edc     1 Mar 2006 15:59:47 -0000       1.2
@@ -1,232 +1,276 @@
-group {
-   name: "icon";
-   max:  304 304;
-   script {
+group
+{
+ name:"icon";
+ max:304 304;
+   script
+   {
       public is_active;
       public is_hilited;
    }
-   parts {
-      part {
-        name:          "title_bar";
-        mouse_events:  0;
-        description {
-           state:    "default" 0.0;
-           visible:  0;
-           image {
-              normal: "e17_titlebar.png";
-              border: 8 8 8 8;
-           }
-           color: 255 255 255 0;
-        }
-        description {
-           state:    "active" 0.0;
-           visible:  1;
-           image {
-              normal: "e17_titlebar.png";
-              border: 8 8 8 8;
-           }
-           color: 255 255 255 255;
-        }
-      }
-      
-      part {
-        name: "logo";
-        description {
-           state: "default" 0.0;
-           aspect: 1.0 1.0;
-           rel1 {
-              to: "title_bar";
-              offset: 60 60;
-           }
-           rel2 {
-              to: "title_bar";
-              offset: -61 -61;
-           }
-           image {
-              normal: "FancyEgg.png";
-           }
-           color: 255 255 255 0;
-        }
-        description {
-           state: "active" 0.0;
-           inherit: "default" 0.0;
-           rel1 {
-              to: "title_bar";
-              offset: 0 0;
-           }
-           rel2 {
-              to: "title_bar";
-              offset: -1 -1;
-           }
-           color: 255 255 255 255;
-        }
-      }
-
-      part {
-        name: "logo2";
-        description {
-           state: "default" 0.0;
-           aspect: 1.0 1.0;
-           rel1 {
-              to: "title_bar";
-              offset: 0 0;
-           }
-           rel2 {
-              to: "title_bar";
-              offset: -1 -1;
-           }
-           image {
-              normal: "emu1.png";
-           }
-        }
-        description {
-           state: "active" 0.0;
-           inherit: "default" 0.0;
-           rel1 {
-              to: "title_bar";
-              offset: 14 20;
-           }
-           rel2 {
-              to: "title_bar";
-              offset: -14 -8;
-           }
-        }
-      }
-      
-      part {
-        name:           "inout";
-        type:           RECT;
-        mouse_events:   1;
-        description {
-           state: "default" 0.0;
-           color: 255 255 255 0;
-        }
+   parts
+   {
+      part
+      {
+       name:"title_bar";
+       mouse_events:0;
+         description
+         {
+          state:"default" 0.0;
+          visible:0;
+            image
+            {
+             normal:"e17_titlebar.png";
+             border:8 8 8 8;
+            }
+          color:255 255 255 0;
+         }
+         description
+         {
+          state:"active" 0.0;
+          visible:1;
+            image
+            {
+             normal:"e17_titlebar.png";
+             border:8 8 8 8;
+            }
+          color:255 255 255 255;
+         }
+      }
+
+      part
+      {
+       name:"logo";
+         description
+         {
+          state:"default" 0.0;
+          aspect:1.0 1.0;
+            rel1
+            {
+             to:"title_bar";
+             offset:60 60;
+            }
+            rel2
+            {
+             to:"title_bar";
+             offset:-61 - 61;
+            }
+            image
+            {
+             normal:"FancyEgg.png";
+            }
+          color:255 255 255 0;
+         }
+         description
+         {
+          state:"active" 0.0;
+          inherit:"default" 0.0;
+            rel1
+            {
+             to:"title_bar";
+             offset:0 0;
+            }
+            rel2
+            {
+             to:"title_bar";
+             offset:-1 - 1;
+            }
+          color:255 255 255 255;
+         }
+      }
+
+      part
+      {
+       name:"logo2";
+         description
+         {
+          state:"default" 0.0;
+          aspect:1.0 1.0;
+            rel1
+            {
+             to:"title_bar";
+             offset:0 0;
+            }
+            rel2
+            {
+             to:"title_bar";
+             offset:-1 - 1;
+            }
+            image
+            {
+             normal:"emu1.png";
+            }
+         }
+         description
+         {
+          state:"active" 0.0;
+          inherit:"default" 0.0;
+            rel1
+            {
+             to:"title_bar";
+             offset:14 20;
+            }
+            rel2
+            {
+             to:"title_bar";
+             offset:-14 - 8;
+            }
+         }
+      }
+
+      part
+      {
+       name:"inout";
+       type:RECT;
+       mouse_events:1;
+         description
+         {
+          state:"default" 0.0;
+          color:255 255 255 0;
+         }
       }
    }
-   programs {
-      program {
-        name: "init";
-        signal: "load";
-        source: "";
-        script {
-           set_int(is_active, 0);
-           set_int(is_hilited, 0);
-        }
-      }
-      program {      
-        name:    "mouse_in";
-        signal:  "active";
-        source:  "";
-        script {
-           new val;
-           
-           val = get_int(is_active);
-           if (val == 0)
-             {
-                run_program(PROGRAM:"go_active_pre");
-                set_int(is_hilited, 1);
-             }
-        }
-      }
-      program {      
-        name:    "mouse_out";
-        signal:  "passive";
-        source:  "";
-        script {
-           new val;
-           
-           val = get_int(is_active);
-           if (val == 0)
-             {
-                run_program(PROGRAM:"go_passive_pre");
-                set_int(is_hilited, 0);
-             }
-        }
-      }
-      program {      
-        name:    "go_active_pre";
-        signal:  "";
-        source:  "";
-        action:  STATE_SET "default" 0.0;
-        target:  "logo2";
-        after:   "go_active";
-      }
-      program {
-        name:    "go_active";
-        action:  STATE_SET "active" 0.0;
-        target:  "logo2";
-        target:  "logo";
-        transition: LINEAR 0.2;
-      }
-      
-      program {
-        name:    "logo_go_active";
-        signal:  "";
-        source:  "";
-        after: "hover_go_active";
-      }
-      program {
-        name:    "hover_go_active";
-        signal:  "";
-        source:  "";
-        action:  STATE_SET "visible" 0.0;
-        target:  "logo2";
-        after:   "hover_go_active2";
-      }
-      program {
-        name:    "hover_go_active2";
-        signal:  "";
-        source:  "";
-        action:  STATE_SET "hidden" 0.0;
-        transition: LINEAR 0.5;
-        target:  "logo2";
-        after:   "hover_go_active";
-      }
-      
-      program {      
-        name:    "go_passive_pre";
-        signal:  "";
-        source:  "";
-        action:  STATE_SET "active" 0.0;
-        target:  "logo2";
-        after:   "go_passive";
-      }
-      program {
-        name:    "go_passive";
-        action:  STATE_SET "default" 0.0;
-        target:  "logo";
-        transition: LINEAR 0.2;
-        after:   "go_passive3";
-      }
-      program {
-        name:    "go_passive3";
-        action:  STATE_SET "default" 0.0;
-        target:  "logo2";
-        transition: LINEAR 0.2;
-      }
-      
-      program {
-        name:    "logo_go_passive";
-        signal:  "";
-        source:  "";
-        after:   "hover_go_passive";
-      }
-      
-      program {
-        name:    "hover_go_passive";
-        signal:  "";
-        source:  "";
-        action:  ACTION_STOP;
-        target:  "hover_go_active";
-        target:  "hover_go_active2";
-        after:   "hover_go_passive2";
-      }
-      program {
-        name:    "hover_go_passive2";
-        signal:  "";
-        source:  "";
-        action:  STATE_SET "default" 0.0;
-        target:  "logo2";
+   programs
+   {
+      program
+      {
+       name:"init";
+       signal:"load";
+       source:"";
+         script
+         {
+            set_int(is_active, 0);
+            set_int(is_hilited, 0);
+         }
+      }
+      program
+      {
+       name:"mouse_in";
+       signal:"active";
+       source:"";
+         script
+         {
+            new val;
+
+            val = get_int(is_active);
+            if (val == 0)
+              {
+               run_program(PROGRAM:"go_active_pre");
+                 set_int(is_hilited, 1);
+              }
+         }
+      }
+      program
+      {
+       name:"mouse_out";
+       signal:"passive";
+       source:"";
+         script
+         {
+            new val;
+
+            val = get_int(is_active);
+            if (val == 0)
+              {
+               run_program(PROGRAM:"go_passive_pre");
+                 set_int(is_hilited, 0);
+              }
+         }
+      }
+      program
+      {
+       name:"go_active_pre";
+       signal:"";
+       source:"";
+       action:STATE_SET "default" 0.0;
+       target:"logo2";
+       after:"go_active";
+      }
+      program
+      {
+       name:"go_active";
+       action:STATE_SET "active" 0.0;
+       target:"logo2";
+       target:"logo";
+       transition:LINEAR 0.2;
+      }
+
+      program
+      {
+       name:"logo_go_active";
+       signal:"";
+       source:"";
+       after:"hover_go_active";
+      }
+      program
+      {
+       name:"hover_go_active";
+       signal:"";
+       source:"";
+       action:STATE_SET "visible" 0.0;
+       target:"logo2";
+       after:"hover_go_active2";
+      }
+      program
+      {
+       name:"hover_go_active2";
+       signal:"";
+       source:"";
+       action:STATE_SET "hidden" 0.0;
+       transition:LINEAR 0.5;
+       target:"logo2";
+       after:"hover_go_active";
+      }
+
+      program
+      {
+       name:"go_passive_pre";
+       signal:"";
+       source:"";
+       action:STATE_SET "active" 0.0;
+       target:"logo2";
+       after:"go_passive";
+      }
+      program
+      {
+       name:"go_passive";
+       action:STATE_SET "default" 0.0;
+       target:"logo";
+       transition:LINEAR 0.2;
+       after:"go_passive3";
+      }
+      program
+      {
+       name:"go_passive3";
+       action:STATE_SET "default" 0.0;
+       target:"logo2";
+       transition:LINEAR 0.2;
+      }
+
+      program
+      {
+       name:"logo_go_passive";
+       signal:"";
+       source:"";
+       after:"hover_go_passive";
+      }
+
+      program
+      {
+       name:"hover_go_passive";
+       signal:"";
+       source:"";
+       action:ACTION_STOP;
+       target:"hover_go_active";
+       target:"hover_go_active2";
+       after:"hover_go_passive2";
+      }
+      program
+      {
+       name:"hover_go_passive2";
+       signal:"";
+       source:"";
+       action:STATE_SET "default" 0.0;
+       target:"logo2";
       }
    }
 }




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to