Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/bin


Modified Files:
        edje_cc_handlers.c 


Log Message:


nuke some FIXME's. smooth parameter now added for fills. program infinite
loops are now detected and limited to a recursion limit of 64 levels.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_cc_handlers.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- edje_cc_handlers.c  25 Jun 2003 02:29:25 -0000      1.13
+++ edje_cc_handlers.c  28 Jun 2003 03:08:25 -0000      1.14
@@ -40,6 +40,7 @@
 static void st_collections_group_parts_part_description_image_normal(void);
 static void st_collections_group_parts_part_description_image_tween(void);
 static void st_collections_group_parts_part_description_border(void);
+static void st_collections_group_parts_part_description_fill_smooth(void);
 static void st_collections_group_parts_part_description_fill_origin_relative(void);
 static void st_collections_group_parts_part_description_fill_origin_offset(void);
 static void st_collections_group_parts_part_description_fill_size_relative(void);
@@ -97,6 +98,7 @@
      {"collections.group.parts.part.description.image.normal", 
st_collections_group_parts_part_description_image_normal},
      {"collections.group.parts.part.description.image.tween", 
st_collections_group_parts_part_description_image_tween},
      {"collections.group.parts.part.description.border", 
st_collections_group_parts_part_description_border},
+     {"collections.group.parts.part.description.fill.smooth", 
st_collections_group_parts_part_description_fill_smooth},
      {"collections.group.parts.part.description.fill.origin.relative", 
st_collections_group_parts_part_description_fill_origin_relative},
      {"collections.group.parts.part.description.fill.origin.offset", 
st_collections_group_parts_part_description_fill_origin_offset},
      {"collections.group.parts.part.description.fill.size.relative", 
st_collections_group_parts_part_description_fill_size_relative},
@@ -160,6 +162,7 @@
      {"collections.group.parts.part.description.image.tween", NULL},
      {"collections.group.parts.part.description.border", NULL},
      {"collections.group.parts.part.description.fill", NULL},
+     {"collections.group.parts.part.description.fill.smooth", NULL},
      {"collections.group.parts.part.description.fill.origin", NULL},
      {"collections.group.parts.part.description.fill.origin.relative", NULL},
      {"collections.group.parts.part.description.fill.origin.offset", NULL},
@@ -418,6 +421,7 @@
    ed->rel2.offset_x = -1;
    ed->rel2.id = -1;
    ed->image.id = -1;
+   ed->fill.smooth = 1;
    ed->fill.pos_rel_x = 0.0;
    ed->fill.pos_abs_x = 0;
    ed->fill.rel_x = 1.0;
@@ -754,6 +758,20 @@
    ed->border.r = parse_int_range(1, 0, 0x7fffffff);
    ed->border.t = parse_int_range(2, 0, 0x7fffffff);
    ed->border.b = parse_int_range(3, 0, 0x7fffffff);   
+}
+
+static void
+st_collections_group_parts_part_description_fill_smooth(void)
+{
+   Edje_Part_Collection *pc;
+   Edje_Part *ep;
+   Edje_Part_Description *ed;
+
+   pc = evas_list_data(evas_list_last(edje_collections));
+   ep = evas_list_data(evas_list_last(pc->parts));
+   ed = ep->default_desc;
+   if (ep->other_desc) ed = evas_list_data(evas_list_last(ep->other_desc));
+   ed->fill.smooth = parse_int_range(0, 0, 1);
 }
 
 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