Enlightenment CVS committal

Author  : atmosphere
Project : e17
Module  : apps/entice

Dir     : e17/apps/entice/data/themes/default


Modified Files:
        default.edc 


Log Message:
zoom to fit by default, this window is no longer dragable, add an evil bg fullscreen 
state that isn't used yet, reposition the h and v sliders so that they don't cover 
part of the image, make the image area fill the whole edje a little better, make 
showing/hiding of the panel MUCH more smooth, show filesize and geometry on the same 
line but still needs work, prolly introduced some annoyances but oh well
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entice/data/themes/default/default.edc,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- default.edc 17 May 2004 17:31:23 -0000      1.29
+++ default.edc 22 Jul 2004 21:41:24 -0000      1.30
@@ -17,7 +17,7 @@
        min, 480 360;
        max, 99999 9999;
        data {
-           item, "entice.window.dragable" "true";
+           item, "entice.window.dragable" "false";
        }
 #include "embryo/globals.edc"
        parts
@@ -55,6 +55,34 @@
                        }
                    }
                }
+               description
+               {
+                   state, "fullscreen" 0.0;
+                   visible, 1;
+                   rel1
+                   {
+                       relative, 0.0 0.0;
+                       offset, 0 0;
+                   }
+                   rel2
+                   {
+                       relative, 1.0 1.0;
+                       offset, 0 0;
+                   }
+                   image 
+                   {
+                       normal, "bg.png";
+                   }
+                   fill
+                   {
+                       smooth, 0;
+                       size {
+                           relative, 0.0 0.0;
+                           offset, 128 128;
+                       }
+                   }
+                   color: 255 255 255 92;
+               }
            }
 #include "parts/enticeimagescroller.edc"
 #include "parts/enticeimage.edc"
@@ -78,15 +106,26 @@
 #include "programs/delete_dialog.edc"
 #include "programs/status.edc"
 #include "programs/enticepreview.edc"
-           /* just for looks */
-           program
-           {
-               name, "ShowLogo";
-               signal, "show";
-               source, "";
-               action, STATE_SET "logo" 0.0;
-               transition, LINEAR 0.0;
-               target, "entice.image";
+           program {
+               name: "initialize_embryo_vars";
+               signal: "load";
+               source: "";
+               script {
+                   set_int(is_fullscreen, 0);
+                   set_int(is_first_image, 1);
+               }
+           }
+           program {
+               name: "fit_on_first_image";
+               signal: "entice,image,display,before";
+               source: "";
+               script {
+                   if(get_int(is_first_image) == 1)
+                   {
+                       emit("entice,image,current,zoom,fit", "");
+                       set_int(is_first_image, 0);
+                   }
+               }
            }
        }
     }




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to