Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: Makefile.am e_configure.c e_includes.h e_test.c Added Files: e_widget_textblock.c e_widget_textblock.h Log Message: ok- fangie.. THIS Is what i meant! this! put a textblock in a scrollframe. textblock comes from an edje so it can be styled by the theme! =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/Makefile.am,v retrieving revision 1.98 retrieving revision 1.99 diff -u -3 -r1.98 -r1.99 --- Makefile.am 25 Jan 2006 04:04:15 -0000 1.98 +++ Makefile.am 25 Jan 2006 09:28:12 -0000 1.99 @@ -134,7 +134,8 @@ e_exebuf.h \ e_int_config_modules.h \ e_exehist.h \ -e_color_class.h +e_color_class.h \ +e_widget_textblock.h enlightenment_src = \ e_user.c \ @@ -251,6 +252,7 @@ e_int_config_modules.c \ e_exehist.c \ e_color_class.c \ +e_widget_textblock.c \ $(ENLIGHTENMENTHEADERS) enlightenment_SOURCES = \ =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_configure.c,v retrieving revision 1.31 retrieving revision 1.32 diff -u -3 -r1.31 -r1.32 --- e_configure.c 25 Jan 2006 04:06:51 -0000 1.31 +++ e_configure.c 25 Jan 2006 09:28:12 -0000 1.32 @@ -54,7 +54,7 @@ e_theme_edje_object_set(eco->edje, "base/theme/configure", "widgets/configure/main"); - eco->ilist = e_widget_ilist_add(eco->evas, 48, 48, NULL); + eco->ilist = e_widget_ilist_add(eco->evas, 24, 24, NULL); e_widget_ilist_selector_set(eco->ilist, 1); e_widget_min_size_get(eco->ilist, &mw, &mh); edje_extern_object_min_size_set(eco->ilist, mw, mh); =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_includes.h,v retrieving revision 1.80 retrieving revision 1.81 diff -u -3 -r1.80 -r1.81 --- e_includes.h 25 Jan 2006 04:04:15 -0000 1.80 +++ e_includes.h 25 Jan 2006 09:28:12 -0000 1.81 @@ -113,3 +113,4 @@ #include "e_int_config_modules.h" #include "e_exehist.h" #include "e_color_class.h" +#include "e_widget_textblock.h" =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_test.c,v retrieving revision 1.44 retrieving revision 1.45 diff -u -3 -r1.44 -r1.45 --- e_test.c 7 Jan 2006 10:39:45 -0000 1.44 +++ e_test.c 25 Jan 2006 09:28:12 -0000 1.45 @@ -534,6 +534,42 @@ evas_object_focus_set(o, 1); } +#elif 0 +static void +_e_test_internal(E_Container *con) +{ + E_Dialog *dia; + Evas_Object *o; + Evas_Coord mw, mh; + + dia = e_dialog_new(con); + e_dialog_title_set(dia, "A Test Dialog"); + + o = e_widget_textblock_add(dia->win->evas); + e_widget_textblock_markup_set(o, + "<title>A title</title>" + "This is some text<br>" + "Blah blah<br>" + "<hilight>hilighted text</hilight><br>" + "<br>" + "More lines of text<br>" + "And yet more lines of text<br>" + "A very very long line of text that SHOULD be getting word wrapped because it is so long.<br>" + "And another line<br>" + "Some more<br>" + "Smelly fish on a stick<br>" + "Whatever." + ); + evas_object_show(o); + + e_dialog_content_set(dia, o, 160, 160); + + e_dialog_button_add(dia, "OK", NULL, NULL, NULL); + e_win_centered_set(dia->win, 1); + e_dialog_show(dia); + + evas_object_focus_set(o, 1); +} #else static void _e_test_internal(E_Container *con) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs