Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : proto
Dir : e17/proto/esmart/src/container
Modified Files:
container.c container_smart.c
Log Message:
use Evas_Coord
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/src/container/container.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- container.c 22 Apr 2004 16:32:03 -0000 1.14
+++ container.c 27 Apr 2004 19:29:59 -0000 1.15
@@ -262,7 +262,7 @@
for (l = cont->elements; l; l = l->next)
{
Container_Element *el = l->data;
- double w, h;
+ Evas_Coord w, h;
evas_object_geometry_get(el->obj, NULL, NULL, &w, &h);
@@ -326,7 +326,7 @@
for (l = cont->elements; l; l = l->next)
{
Container_Element *el = l->data;
- double w, h;
+ Evas_Coord w, h;
evas_object_geometry_get(el->obj, NULL, NULL, &w, &h);
@@ -343,7 +343,7 @@
_container_element_new(Container *cont, Evas_Object *obj)
{
Container_Element *el;
- double w, h;
+ Evas_Coord w, h;
if (!obj) return NULL;
@@ -404,8 +404,8 @@
Container_Element *el2;
Evas_List *l;
Evas_List *prev;
- double x, y, w, h;
- double sx, sy, sw, sh, fx, fy, fw, fh;
+ Evas_Coord x, y, w, h;
+ Evas_Coord sx, sy, sw, sh, fx, fy, fw, fh;
int not_found = 0;
@@ -508,7 +508,7 @@
{
Evas_Event_Mouse_Down *info;
Container_Element *el;
- double x, y;
+ Evas_Coord x, y;
info = event_info;
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/src/container/container_smart.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- container_smart.c 22 Apr 2004 16:32:03 -0000 1.13
+++ container_smart.c 27 Apr 2004 19:29:59 -0000 1.14
@@ -9,8 +9,8 @@
void _container_lower(Evas_Object *obj);
void _container_stack_above(Evas_Object *obj, Evas_Object *above);
void _container_stack_below(Evas_Object *obj, Evas_Object *below);
-void _container_move(Evas_Object *obj, double x, double y);
-void _container_resize(Evas_Object *obj, double w, double h);
+void _container_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y);
+void _container_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h);
void _container_show(Evas_Object *obj);
void _container_hide(Evas_Object *obj);
void _container_color_set(Evas_Object *obj, int r, int g, int b, int a);
@@ -219,7 +219,7 @@
}
void
-_container_move(Evas_Object *obj, double x, double y)
+_container_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
{
Container *data;
@@ -237,7 +237,7 @@
}
void
-_container_resize(Evas_Object *obj, double w, double h)
+_container_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
{
Container *data;
double old_length;
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs