Enlightenment CVS committal
Author : rephorm
Project : e17
Module : apps/elicit
Dir : e17/apps/elicit/src
Modified Files:
spectrum.c zoom.c
Log Message:
update to newer smart api
===================================================================
RCS file: /cvs/e/e17/apps/elicit/src/spectrum.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- spectrum.c 22 Mar 2007 14:42:44 -0000 1.5
+++ spectrum.c 25 Dec 2007 06:38:43 -0000 1.6
@@ -147,22 +147,26 @@
}
}
+static const Evas_Smart_Class _smart_class = {
+ "elicit_spectrum",
+ EVAS_SMART_CLASS_VERSION,
+ _smart_add,
+ _smart_del,
+ _smart_move,
+ _smart_resize,
+ _smart_show,
+ _smart_hide,
+ NULL,
+ _smart_clip_set,
+ _smart_clip_unset,
+ NULL
+};
+
static void
_smart_init(void)
{
if (_smart) return;
- _smart = evas_smart_new("elicit_zoom",
- _smart_add,
- _smart_del,
- NULL, NULL, NULL, NULL, NULL,
- _smart_move,
- _smart_resize,
- _smart_show,
- _smart_hide,
- NULL, // color_set
- _smart_clip_set,
- _smart_clip_unset,
- NULL);
+ _smart = evas_smart_class_new(&_smart_class);
}
static void
===================================================================
RCS file: /cvs/e/e17/apps/elicit/src/zoom.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- zoom.c 25 Mar 2007 00:19:40 -0000 1.9
+++ zoom.c 25 Dec 2007 06:38:43 -0000 1.10
@@ -158,23 +158,26 @@
z->has_data = 1;
}
+static const Evas_Smart_Class _smart_class = {
+ "elicit_zoom",
+ EVAS_SMART_CLASS_VERSION,
+ _smart_add,
+ _smart_del,
+ _smart_move,
+ _smart_resize,
+ _smart_show,
+ _smart_hide,
+ NULL,
+ _smart_clip_set,
+ _smart_clip_unset,
+ NULL
+};
static void
_smart_init(void)
{
if (_smart) return;
- _smart = evas_smart_new("elicit_zoom",
- _smart_add,
- _smart_del,
- NULL, NULL, NULL, NULL, NULL,
- _smart_move,
- _smart_resize,
- _smart_show,
- _smart_hide,
- _smart_color_set,
- _smart_clip_set,
- _smart_clip_unset,
- NULL);
+ _smart = evas_smart_class_new(&_smart_class);
}
static void
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs