Enlightenment CVS committal
Author : atmosphere
Project : e17
Module : proto
Dir : e17/proto/esmart/src/draggies
Modified Files:
dragable.c dragable.h
Log Message:
Trill wanted to be able to add other callbacks to draggies.
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/src/draggies/dragable.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- dragable.c 20 Jan 2004 14:33:06 -0000 1.4
+++ dragable.c 25 Jan 2004 19:02:25 -0000 1.5
@@ -148,6 +148,20 @@
}
}
+void
+esmart_draggies_event_callback_add (Evas_Object * o, Evas_Callback_Type type,
+ void (*func) (void *data, Evas * e,
+ Evas_Object * obj,
+ void *ev),
+ const void *user_data)
+{
+ Esmart_Draggies *data = NULL;
+ if ((data = evas_object_smart_data_get (o)))
+ {
+ evas_object_event_callback_add (data->obj, type, func, user_data);
+ }
+}
+
/*==========================================================================
* Smart Object Code, Go Away
*========================================================================*/
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/src/draggies/dragable.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- dragable.h 20 Jan 2004 14:33:06 -0000 1.4
+++ dragable.h 25 Jan 2004 19:02:26 -0000 1.5
@@ -22,5 +22,11 @@
Evas_Object *esmart_draggies_new (Ecore_Evas * evas);
void esmart_draggies_button_set (Evas_Object * o, int button);
+void esmart_draggies_event_callback_add (Evas_Object * o,
+ Evas_Callback_Type type,
+ void (*func) (void *data, Evas * e,
+ Evas_Object * o,
+ void *ev),
+ const void *data);
#endif
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs