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 Added Files: ewl_filedialog_multi_test.c Log Message: - make the filedialog work with a multiselect option. You should be able to enable/disable this at runtime, otherwise there is an ewl_filedialog_multiselect_new() to use it from scratch. - there is no on-screen display of the mutiple selections (there isn't onscreen display of a single selection either) - only does open dialogs, not save =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- Makefile.am 4 May 2005 17:25:21 -0000 1.2 +++ Makefile.am 28 May 2005 19:01:40 -0000 1.3 @@ -23,6 +23,7 @@ ewl_dialog_test.c \ ewl_entry_test.c \ ewl_filedialog_test.c \ + ewl_filedialog_multi_test.c \ ewl_fileselector_test.c \ ewl_floater_test.c \ ewl_image_test.c \ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- ewl_test.c 19 May 2005 05:31:48 -0000 1.6 +++ ewl_test.c 28 May 2005 19:01:41 -0000 1.7 @@ -78,6 +78,7 @@ { "Dialog", __create_dialog_test_window, "ewl_dialog_test.c" }, { "Entry", __create_entry_test_window, "ewl_entry_test.c" }, { "Filedialog", __create_filedialog_test_window, "ewl_filedialog_test.c" }, + { "Filedialog MultiSelect", __create_filedialog_multi_test_window, "ewl_filedialog_multi_test.c" }, { "Floater", __create_floater_test_window, "ewl_floater_test.c" }, { "Image", __create_image_test_window, "ewl_image_test.c" }, { "IMenu", __create_imenu_test_window, "ewl_imenu_test.c" }, =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_test.h 4 May 2005 17:25:21 -0000 1.2 +++ ewl_test.h 28 May 2005 19:01:41 -0000 1.3 @@ -1,6 +1,12 @@ #include "Ewl.h" #include <ewl-config.h> +#if HAVE___ATTRIBUTE__ +#define __UNUSED__ __attribute__((unused)) +#else +#define __UNUSED__ +#endif + #define BUTTONS 18 typedef struct _test_set test_set; @@ -20,6 +26,7 @@ void __create_dialog_test_window (Ewl_Widget * w, void *ev_data, void *user_data); 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_filedialog_multi_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); void __create_entry_test_window (Ewl_Widget * w, void *ev_data, void *user_data); void __create_image_test_window (Ewl_Widget * w, void *ev_data, void *user_data); ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs