Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin


Modified Files:
        ewl_dialog_test.c ewl_fileselector_test.c ewl_floater_test.c 


Log Message:
Convert floater to new API.
Convert dialog to new API.
Change separator fill policy on orientation change.
Remove some unused code.
Stricter constructor function prototypes.
Fixed some constructor calls.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_dialog_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ewl_dialog_test.c   5 Oct 2005 05:41:01 -0000       1.4
+++ ewl_dialog_test.c   9 Oct 2005 05:18:39 -0000       1.5
@@ -93,7 +93,7 @@
   Ewl_Widget *label;
   Ewl_Widget *button;
 
-  dialog_win = ewl_dialog_new (EWL_POSITION_BOTTOM);
+  dialog_win = ewl_dialog_new ();
   ewl_window_title_set (EWL_WINDOW (dialog_win), "Dialog Test");
   ewl_window_name_set (EWL_WINDOW (dialog_win), "EWL Test Application");
   ewl_window_class_set (EWL_WINDOW (dialog_win), "EFL Test Application");
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_fileselector_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_fileselector_test.c     28 May 2005 20:32:49 -0000      1.2
+++ ewl_fileselector_test.c     9 Oct 2005 05:18:39 -0000       1.3
@@ -2,8 +2,6 @@
 
 static Ewl_Widget *fs_button = NULL;
 
-static void __file_clicked(Ewl_Widget *, void *ev_data, void *user_data);
-
 static void
 __destroy_fileselector_test_window(Ewl_Widget *w, void *ev_data __UNUSED__,
                                   void *user_data __UNUSED__)
@@ -37,19 +35,8 @@
                                                __close_main_window, NULL);
        ewl_widget_show(fs_win);
 
-       fs = ewl_fileselector_new(__file_clicked);
+       fs = ewl_fileselector_new();
        ewl_object_fill_policy_set(EWL_OBJECT(fs), EWL_FLAG_FILL_FILL);
        ewl_container_child_append(EWL_CONTAINER(fs_win), fs);
        ewl_widget_show(fs);
 }
-
-static void
-__file_clicked(Ewl_Widget * w __UNUSED__, void *ev_data __UNUSED__, 
-                               void *user_data __UNUSED__)
-{
-       Ewl_Fileselector *fs;
-       
-       printf("file clicked: %s\n", 
-                       ewl_fileselector_file_get (EWL_FILESELECTOR (fs)));
-}
-
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_floater_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_floater_test.c  3 Oct 2005 06:43:07 -0000       1.3
+++ ewl_floater_test.c  9 Oct 2005 05:18:39 -0000       1.4
@@ -60,7 +60,8 @@
                                 EWL_FLAG_ALIGN_LEFT);
        ewl_widget_show(radio_button[1]);
 
-       floater = ewl_floater_new(radio_button[1]);
+       floater = ewl_floater_new();
+       ewl_floater_follow_set(EWL_FLOATER(floater), radio_button[1]);
        ewl_container_child_append(EWL_CONTAINER(floater_box), floater);
        ewl_floater_position_set(EWL_FLOATER(floater), 20, 20);
        ewl_widget_show(floater);




-------------------------------------------------------
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