formatting

SVN revision: 80853
This commit is contained in:
Mike Blumenkrantz 2012-12-13 13:52:41 +00:00
parent bd5690e78f
commit a111090fa4
1 changed files with 1262 additions and 1255 deletions

View File

@ -3,7 +3,7 @@
/* i measure a mere 9% speedup using mmx for simd sums. :(
* need to detect mmx capbale cpu's to enable this though
#define MMX 1
*#define MMX 1
*/
/* TODO List:
@ -252,32 +252,39 @@ _ds_shape_change(void *data, E_Container_Shape *es, E_Container_Shape_Change ch)
case E_CONTAINER_SHAPE_ADD:
_ds_shadow_add(ds, es);
break;
case E_CONTAINER_SHAPE_DEL:
sh = _ds_shadow_find(ds, es);
if (sh) _ds_shadow_del(sh);
break;
case E_CONTAINER_SHAPE_SHOW:
sh = _ds_shadow_find(ds, es);
if (sh) _ds_shadow_show(sh);
break;
case E_CONTAINER_SHAPE_HIDE:
sh = _ds_shadow_find(ds, es);
if (sh) _ds_shadow_hide(sh);
break;
case E_CONTAINER_SHAPE_MOVE:
sh = _ds_shadow_find(ds, es);
e_container_shape_geometry_get(es, &x, &y, &w, &h);
if (sh) _ds_shadow_move(sh, x, y);
break;
case E_CONTAINER_SHAPE_RESIZE:
sh = _ds_shadow_find(ds, es);
e_container_shape_geometry_get(es, &x, &y, &w, &h);
if (sh) _ds_shadow_resize(sh, w, h);
break;
case E_CONTAINER_SHAPE_RECTS:
sh = _ds_shadow_find(ds, es);
if (sh) _ds_shadow_shaperects(sh);
break;
default:
break;
}
@ -401,7 +408,6 @@ _ds_shadow_obj_clear(Shadow *sh)
}
}
static void
_ds_shadow_obj_shutdown(Shadow *sh)
{
@ -984,7 +990,8 @@ _ds_config_darkness_set(Dropshadow *ds, double v)
Eina_List *l, *ll;
if (v < 0.0) v = 0.0;
else if (v > 1.0) v = 1.0;
else if (v > 1.0)
v = 1.0;
for (l = ds->shadows; l; l = l->next)
{
Shadow *sh;
@ -1720,7 +1727,6 @@ _ds_shpix_object_set(Shpix *sp, Evas_Object *o, int x, int y, int w, int h)
emms();
#else
#endif
}
static void
@ -2148,3 +2154,4 @@ _dropshadow_cb_config_updated(void *data)
_ds_config_shadow_xy_set(ds, ds->conf->shadow_x, ds->conf->shadow_y);
_ds_config_blur_set(ds, ds->conf->blur_size);
}