Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/bin
Modified Files:
edje_cc_handlers.c
Log Message:
add elipsis direct control
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_cc_handlers.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -3 -r1.62 -r1.63
--- edje_cc_handlers.c 20 Sep 2005 08:33:35 -0000 1.62
+++ edje_cc_handlers.c 6 Nov 2005 03:32:01 -0000 1.63
@@ -81,6 +81,7 @@
static void st_collections_group_parts_part_description_text_align(void);
static void st_collections_group_parts_part_description_text_source(void);
static void st_collections_group_parts_part_description_text_text_source(void);
+static void st_collections_group_parts_part_description_text_elipsis(void);
static void ob_collections_group_programs_program(void);
static void st_collections_group_programs_program_name(void);
@@ -193,6 +194,7 @@
{"collections.group.parts.part.description.text.text_source",
st_collections_group_parts_part_description_text_text_source},
{"collections.group.parts.part.description.text.font", st_fonts_font}, /*
dup */
{"collections.group.parts.part.description.text.fonts.font",
st_fonts_font}, /* dup */
+ {"collections.group.parts.part.description.text.elipsis",
st_collections_group_parts_part_description_text_elipsis},
{"collections.group.parts.part.description.images.image",
st_images_image}, /* dup */
{"collections.group.parts.part.description.font", st_fonts_font}, /* dup
*/
{"collections.group.parts.part.description.fonts.font", st_fonts_font},
/* dup */
@@ -2021,6 +2023,31 @@
}
static void
+st_collections_group_parts_part_description_text_elipsis(void)
+{
+ Edje_Part_Collection *pc;
+ Edje_Part *ep;
+ Edje_Part_Description *ed;
+
+ check_arg_count(1);
+
+ pc = evas_list_data(evas_list_last(edje_collections));
+ ep = evas_list_data(evas_list_last(pc->parts));
+
+ if (ep->type != EDJE_PART_TYPE_TEXT)
+ {
+ fprintf(stderr, "%s: Error. parse error %s:%i. "
+ "text attributes in non-TEXT part.\n",
+ progname, file_in, line - 1);
+ exit(-1);
+ }
+
+ ed = ep->default_desc;
+ if (ep->other_desc) ed = evas_list_data(evas_list_last(ep->other_desc));
+ ed->text.elipsis = parse_float_range(0, 0.0, 1.0);
+}
+
+static void
ob_collections_group_programs_program(void)
{
Edje_Part_Collection *pc;
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs