Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/bin


Modified Files:
        edje_cc_handlers.c 


Log Message:


"random" ranged delays are now allowed before a program starts... in fact any
program. just provide an "in, 10.0 5.0;" line in the progrma to say "start
thew program in (10.0 + (random value from 0.0 - 5.0)_ seconds from the time 
it is triggered. you can simply delay the program with a constant by making
the range 0.0.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_cc_handlers.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- edje_cc_handlers.c  28 Jun 2003 03:08:25 -0000      1.14
+++ edje_cc_handlers.c  28 Jun 2003 04:20:41 -0000      1.15
@@ -62,6 +62,7 @@
 static void st_collections_group_programs_program_name(void);
 static void st_collections_group_programs_program_signal(void);
 static void st_collections_group_programs_program_source(void);
+static void st_collections_group_programs_program_in(void);
 static void st_collections_group_programs_program_action(void);
 static void st_collections_group_programs_program_transition(void);
 static void st_collections_group_programs_program_target(void);
@@ -116,6 +117,7 @@
      {"collections.group.programs.program.name", 
st_collections_group_programs_program_name},
      {"collections.group.programs.program.signal", 
st_collections_group_programs_program_signal},
      {"collections.group.programs.program.source", 
st_collections_group_programs_program_source},
+     {"collections.group.programs.program.in", 
st_collections_group_programs_program_in},
      {"collections.group.programs.program.action", 
st_collections_group_programs_program_action},
      {"collections.group.programs.program.transition", 
st_collections_group_programs_program_transition},
      {"collections.group.programs.program.target", 
st_collections_group_programs_program_target},
@@ -185,6 +187,7 @@
      {"collections.group.programs.program.name", NULL},
      {"collections.group.programs.program.signal", NULL},
      {"collections.group.programs.program.source", NULL},
+     {"collections.group.programs.program.in", NULL},
      {"collections.group.programs.program.action", NULL},
      {"collections.group.programs.program.transition", NULL},
      {"collections.group.programs.program.target", NULL},
@@ -1043,6 +1046,18 @@
    pc = evas_list_data(evas_list_last(edje_collections));
    ep = evas_list_data(evas_list_last(pc->programs));
    ep->source = parse_str(0);
+}
+
+static void
+st_collections_group_programs_program_in(void)
+{
+   Edje_Part_Collection *pc;
+   Edje_Program *ep;
+
+   pc = evas_list_data(evas_list_last(edje_collections));
+   ep = evas_list_data(evas_list_last(pc->programs));
+   ep->in.from = parse_float_range(0, 0.0, 999999999.0);
+   ep->in.range = parse_float_range(1, 0.0, 999999999.0);
 }
 
 static void




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to