Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
dialog.c
Log Message:
Fix dialog updates when text is changed.
===================================================================
RCS file: /cvs/e/e16/e/src/dialog.c,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -3 -r1.145 -r1.146
--- dialog.c 16 Apr 2006 13:27:37 -0000 1.145
+++ dialog.c 16 Apr 2006 19:56:11 -0000 1.146
@@ -1516,6 +1516,12 @@
d->update = 1;
di->update = 1;
+#if 1 /* FIXME - Gross hack to get text items redrawn
when changed */
+ /* ...either keep full bg image/pixmap around or render text to separate
window... */
+ if (di->type == DITEM_TEXT)
+ d->redraw = 1;
+#endif
+
if (d->xu1 > x)
d->xu1 = x;
if (d->yu1 > y)
@@ -1737,6 +1743,10 @@
ECORE_LIST_FOR_EACH(dialog_list, d)
{
+#if 1 /* FIXME - Gross hack to get text items redrawn
when changed */
+ if (d->redraw)
+ DialogRedraw(d);
+#endif
if (d->update)
DialogUpdate(d);
d->redraw = 0;
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs