Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/lib
Modified Files:
edje_calc.c Edje_Edit.h
Log Message:
Oops
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_calc.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -3 -r1.45 -r1.46
--- edje_calc.c 29 Oct 2004 14:56:27 -0000 1.45
+++ edje_calc.c 29 Oct 2004 15:12:01 -0000 1.46
@@ -47,9 +47,10 @@
}
Edje_Part_Description *
-_edje_part_description_find(Edje *ed, Edje_Part *ep, char *name,
+_edje_part_description_find(Edje *ed, Edje_Real_Part *rp, char *name,
double val)
{
+ Edje_Part *ep = rp->part;
Edje_Part_Description *ret = NULL;
Evas_List *l;
double min_dst = 999.0;
@@ -89,11 +90,11 @@
if (!d1) d1 = "default";
if (!d2) d2 = "default";
- ep->param1.description = _edje_part_description_find(ed, ep->part, d1, v1);
+ ep->param1.description = _edje_part_description_find(ed, ep, d1, v1);
if (!ep->param1.description)
ep->param1.description = ep->part->default_desc;
- ep->param2.description = _edje_part_description_find(ed, ep->part, d2, v2);
+ ep->param2.description = _edje_part_description_find(ed, ep, d2, v2);
ep->param1.rel1_to_x = NULL;
ep->param1.rel1_to_y = NULL;
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/Edje_Edit.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- Edje_Edit.h 27 Oct 2004 06:07:50 -0000 1.18
+++ Edje_Edit.h 29 Oct 2004 15:12:01 -0000 1.19
@@ -691,6 +691,7 @@
};
void _edje_part_pos_set(Edje *ed, Edje_Real_Part *ep, int mode, double pos);
+Edje_Part_Description *_edje_part_description_find(Edje *ed, Edje_Real_Part *rp, char
*name, double val);
void _edje_part_description_apply(Edje *ed, Edje_Real_Part *ep, char *d1, double
v1, char *d2, double v2);
void _edje_recalc(Edje *ed);
int _edje_part_dragable_calc(Edje *ed, Edje_Real_Part *ep, double *x, double *y);
-------------------------------------------------------
This Newsletter Sponsored by: Macrovision
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs