From: <enl...@li...> - 2002-04-17 22:18:50
|
Enlightenment CVS committal Author : ymer Project : e17 Module : libs/ewl Dir : e17/libs/ewl/test Modified Files: Makefile.am ewl_test.c Log Message: added new widget filedialog, a test for it and a test for the selectionbar =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/Makefile.am,v retrieving revision 1.19 retrieving revision 1.20 diff -u -3 -r1.19 -r1.20 --- Makefile.am 16 Apr 2002 18:24:59 -0000 1.19 +++ Makefile.am 17 Apr 2002 22:18:50 -0000 1.20 @@ -13,10 +13,12 @@ ewl_entry_test.c \ ewl_image_test.c \ ewl_fileselector_test.c \ + ewl_filedialog_test.c \ ewl_floater_test.c \ ewl_imenu_test.c \ ewl_notebook_test.c \ ewl_selectionbook_test.c \ + ewl_selectionbar_test.c \ ewl_spinner_test.c \ ewl_table_test.c \ ewl_text_test.c \ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_test.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -3 -r1.34 -r1.35 --- ewl_test.c 16 Apr 2002 18:25:00 -0000 1.34 +++ ewl_test.c 17 Apr 2002 22:18:50 -0000 1.35 @@ -1,6 +1,6 @@ #include <Ewl.h> -#define BUTTONS 14 +#define BUTTONS 16 void __close_main_widow(Ewl_Widget * w, void *ev_data, void *user_data); @@ -14,6 +14,9 @@ void __create_fileselector_test_window(Ewl_Widget * w, void *ev_data, void *user_data); +void __create_filedialog_test_window(Ewl_Widget * w, void *ev_data, + void *user_data); + void __create_floater_test_window(Ewl_Widget * w, void *ev_data, void *user_data); @@ -46,6 +49,9 @@ void *ev_data, void *user_data); +void __create_selectionbar_test_window(Ewl_Widget * w, + void *ev_data, + void *user_data); void __close_main_window(Ewl_Widget * w, void *ev_data, void *user_data) @@ -132,6 +138,16 @@ __create_fileselector_test_window, NULL); i++; + + /* + * Create the button for the fileselector test and add it to the box. + */ + button[i] = ewl_button_new("Ewl_FileDialog"); + ewl_callback_append(button[i], EWL_CALLBACK_CLICKED, + __create_filedialog_test_window, NULL); + i++; + + /* * Create the button for the floater test and add it to the box. */ @@ -175,6 +191,15 @@ __create_selectionbook_test_window, NULL); i++; + /* + * Create the button for the selectionbook test and add it to the box. + */ + button[i] = ewl_button_new("Ewl_Selectionbar"); + ewl_callback_append(button[i], EWL_CALLBACK_CLICKED, + __create_selectionbar_test_window, NULL); + i++; + + /* * Create the button for the spinner test and add it to the box. */ |