Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin


Modified Files:
        Makefile.am ewl_test.c ewl_test.h ewl_text_test.c 
Added Files:
        ewl_text_editor_test.c 


Log Message:
- add a bigger test case for the entry widget

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/Makefile.am,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- Makefile.am 3 Sep 2005 20:01:54 -0000       1.9
+++ Makefile.am 18 Oct 2005 02:42:41 -0000      1.10
@@ -45,6 +45,7 @@
                                        ewl_statusbar_test.c \
                                        ewl_table_test.c \
                                        ewl_text_test.c \
+                                       ewl_text_editor_test.c \
                                        ewl_theme_test.c \
                                        ewl_tooltip_test.c \
                                        ewl_tree_test.c
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- ewl_test.c  15 Oct 2005 23:53:57 -0000      1.18
+++ ewl_test.c  18 Oct 2005 02:42:41 -0000      1.19
@@ -240,6 +240,13 @@
                                "and formatting."
                },
                {
+                       "Text Editor",
+                       __create_text_editor_test_window,
+                       "ewl_text_editor_test.c",
+                       "Defines a class for multi-line text layout\n"
+                               "and formatting."
+               },
+               {
                        "Theme",
                        __create_theme_test_window,
                        "ewl_theme_test.c",
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- ewl_test.h  7 Sep 2005 05:26:38 -0000       1.14
+++ ewl_test.h  18 Oct 2005 02:42:41 -0000      1.15
@@ -58,6 +58,7 @@
 void __create_statusbar_test_window     (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_table_test_window         (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_text_test_window          (Ewl_Widget * w, void *ev_data, void 
*user_data);
+void __create_text_editor_test_window  (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_theme_test_window         (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_tooltip_test_window       (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_tree_test_window          (Ewl_Widget * w, void *ev_data, void 
*user_data);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_text_test.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_text_test.c     3 Oct 2005 06:43:07 -0000       1.8
+++ ewl_text_test.c     18 Oct 2005 02:42:41 -0000      1.9
@@ -72,7 +72,6 @@
        ewl_window_title_set(EWL_WINDOW(win), "Text Test");
        ewl_window_name_set(EWL_WINDOW(win), "EWL Test Application");
        ewl_window_class_set(EWL_WINDOW(win), "EFL Test Application");
-       ewl_object_size_request(EWL_OBJECT(win), 200, 400);
 
        if (w)
        {
@@ -91,7 +90,6 @@
        o = ewl_text_new();
        ewl_widget_name_set(o, "text");
        ewl_container_child_append(EWL_CONTAINER(win), o);
-       ewl_text_bg_color_set(EWL_TEXT(o), 50, 50, 50, 255);
 
        ewl_text_text_insert(EWL_TEXT(o), "The first bunch of text\n", 0); /* 
24 */
 
@@ -104,7 +102,7 @@
        ewl_text_styles_set(EWL_TEXT(o), EWL_TEXT_STYLE_DOUBLE_UNDERLINE 
                                                | EWL_TEXT_STYLE_OUTLINE 
                                                | EWL_TEXT_STYLE_SOFT_SHADOW);
-       ewl_text_double_underline_color_set(EWL_TEXT(o), 255, 0, 0, 255);
+       ewl_text_double_underline_color_set(EWL_TEXT(o), 50, 50, 50, 255);
        ewl_text_shadow_color_set(EWL_TEXT(o), 128, 128, 128, 128);
        ewl_text_outline_color_set(EWL_TEXT(o), 200, 200, 200, 200);
        ewl_text_text_append(EWL_TEXT(o), "The third bunch of text\n"); /* 24 */
@@ -160,6 +158,9 @@
        ewl_callback_append(EWL_WIDGET(trigger), EWL_CALLBACK_FOCUS_OUT,
                        __trigger_cb_mouse_out, NULL);
 
+       ewl_text_color_set(EWL_TEXT(o), 255, 0, 255, 255);
+       ewl_text_text_append(EWL_TEXT(o), "ONE MORE SEGV");
+
        ewl_widget_show(o);
 
 #if 0




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to