Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin/tests/pointer


Modified Files:
        ewl_pointer.c 


Log Message:
Renamed the DND drop data event.
Updated tests and widgets to renamed data event.
Additional event logging in the DND snoop test.
Created new attach type for providing DND data.
Minor whitespace changes.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/pointer/ewl_pointer.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ewl_pointer.c       1 Dec 2006 18:31:46 -0000       1.6
+++ ewl_pointer.c       5 Dec 2006 06:26:33 -0000       1.7
@@ -27,11 +27,14 @@
        Ewl_Widget *o;
 
        pointer_win = ewl_cursor_new();
+       ewl_widget_appearance_set(pointer_win, "dndcursor");
+       ewl_callback_append(pointer_win, EWL_CALLBACK_DESTROY,
+                       cb_destroy, NULL);
        ewl_widget_show(pointer_win);
 
        o = ewl_button_new();
-       ewl_container_child_append(EWL_CONTAINER(pointer_win), o);
-       ewl_widget_color_set(EWL_WIDGET(o), 255, 255, 255, 200);
+       // ewl_container_child_append(EWL_CONTAINER(pointer_win), o);
+       /* ewl_widget_color_set(EWL_WIDGET(o), 255, 255, 255, 200); */
        ewl_widget_show(o);
 
        cur_timer = ecore_timer_add(2.0, timer_cb_in, o);
@@ -44,8 +47,6 @@
        ewl_entry_editable_set(EWL_ENTRY(o), FALSE);
        ewl_object_fill_policy_set(EWL_OBJECT(o), EWL_FLAG_FILL_HFILL);
        ewl_container_child_append(EWL_CONTAINER(box), o);
-       ewl_callback_append(pointer_win, EWL_CALLBACK_DESTROY,
-                       cb_destroy, o);
        ewl_widget_show(o);
 
        return 1;



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to