Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/bin
Modified Files:
edje_cc_handlers.c
Log Message:
more fixme's fixed. more fixme's added. edje is moving.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_cc_handlers.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- edje_cc_handlers.c 20 Jun 2003 13:41:00 -0000 1.12
+++ edje_cc_handlers.c 25 Jun 2003 02:29:25 -0000 1.13
@@ -16,7 +16,9 @@
static void st_collections_group_parts_part_name(void);
static void st_collections_group_parts_part_type(void);
static void st_collections_group_parts_part_mouse_events(void);
+static void st_collections_group_parts_part_clip_to_id(void);
static void st_collections_group_parts_part_color_class(void);
+static void st_collections_group_parts_part_text_class(void);
static void ob_collections_group_parts_part_description(void);
static void st_collections_group_parts_part_description_state(void);
@@ -73,7 +75,9 @@
{"collections.group.parts.part.name", st_collections_group_parts_part_name},
{"collections.group.parts.part.type", st_collections_group_parts_part_type},
{"collections.group.parts.part.mouse_events",
st_collections_group_parts_part_mouse_events},
+ {"collections.group.parts.part.clip_to",
st_collections_group_parts_part_clip_to_id},
{"collections.group.parts.part.color_class",
st_collections_group_parts_part_color_class},
+ {"collections.group.parts.part.text_class",
st_collections_group_parts_part_text_class},
{"collections.group.parts.part.description.state",
st_collections_group_parts_part_description_state},
{"collections.group.parts.part.description.visible",
st_collections_group_parts_part_description_visible},
{"collections.group.parts.part.description.dragable.x",
st_collections_group_parts_part_description_dragable_x},
@@ -128,7 +132,9 @@
{"collections.group.parts.part.name", NULL},
{"collections.group.parts.part.type", NULL},
{"collections.group.parts.part.mouse_events", NULL},
+ {"collections.group.parts.part.clip_to", NULL},
{"collections.group.parts.part.color_class", NULL},
+ {"collections.group.parts.part.text_class", NULL},
{"collections.group.parts.part.description",
ob_collections_group_parts_part_description},
{"collections.group.parts.part.description.state", NULL},
{"collections.group.parts.part.description.visible", NULL},
@@ -299,6 +305,7 @@
ep->id = evas_list_count(pc->parts) - 1;
ep->type = EDJE_PART_TYPE_IMAGE;
ep->mouse_events = 1;
+ ep->clip_to_id = -1;
}
static void
@@ -340,6 +347,23 @@
}
static void
+st_collections_group_parts_part_clip_to_id(void)
+{
+ Edje_Part_Collection *pc;
+ Edje_Part *ep;
+
+ pc = evas_list_data(evas_list_last(edje_collections));
+ ep = evas_list_data(evas_list_last(pc->parts));
+ {
+ char *name;
+
+ name = parse_str(0);
+ data_queue_part_lookup(pc, name, &(ep->clip_to_id));
+ free(name);
+ }
+}
+
+static void
st_collections_group_parts_part_color_class(void)
{
Edje_Part_Collection *pc;
@@ -351,6 +375,17 @@
}
static void
+st_collections_group_parts_part_text_class(void)
+{
+ Edje_Part_Collection *pc;
+ Edje_Part *ep;
+
+ pc = evas_list_data(evas_list_last(edje_collections));
+ ep = evas_list_data(evas_list_last(pc->parts));
+ ep->text_class = parse_str(0);
+}
+
+static void
ob_collections_group_parts_part_description(void)
{
Edje_Part_Collection *pc;
@@ -366,7 +401,6 @@
ep->other_desc = evas_list_append(ep->other_desc, ed);
ed->visible = 1;
ed->dragable.confine_id = -1;
- ed->clip_to_id = -1;
ed->align.x = 0.5;
ed->align.y = 0.5;
ed->min.w = 0;
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs