Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_text.c ewl_text.h Log Message: Add the first part of text display offsetting, more to come on this. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text.c,v retrieving revision 1.93 retrieving revision 1.94 diff -u -3 -r1.93 -r1.94 --- ewl_text.c 17 Feb 2006 06:43:33 -0000 1.93 +++ ewl_text.c 12 Apr 2006 06:15:31 -0000 1.94 @@ -1,7 +1,7 @@ +#include "ewl_private.h" #include <Ewl.h> #include "ewl_debug.h" #include "ewl_macros.h" -#include "ewl_private.h" static Ewl_Text_Context *ewl_text_default_context = NULL; @@ -2509,7 +2509,8 @@ if (t->textblock) { - evas_object_move(t->textblock, xx, yy); + evas_object_move(t->textblock, xx + t->offset.x, + yy + t->offset.y); evas_object_resize(t->textblock, ww, hh); if (t->dirty) =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text.h,v retrieving revision 1.33 retrieving revision 1.34 diff -u -3 -r1.33 -r1.34 --- ewl_text.h 15 Mar 2006 04:03:48 -0000 1.33 +++ ewl_text.h 12 Apr 2006 06:15:31 -0000 1.34 @@ -87,6 +87,12 @@ Ecore_List *triggers; /**< The list of triggers */ Ewl_Text_Trigger *selection; /**< The current selection */ + struct + { + int x; /**< X offset for layout */ + int y; /**< Y offset for layout */ + } offset; + unsigned char delete_count; /**< Number of deletes */ unsigned char in_select; /**< Are we in select mode? */ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs