Enlightenment CVS committal Author : mej Project : e_modules Module : snow
Dir : e_modules/snow Modified Files: e_mod_config.c e_mod_main.c Log Message: Wed Apr 5 13:48:36 2006 Michael Jennings (mej) Indent! ---------------------------------------------------------------------- =================================================================== RCS file: /cvs/e/e_modules/snow/e_mod_config.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- e_mod_config.c 28 Mar 2006 18:32:37 -0000 1.16 +++ e_mod_config.c 5 Apr 2006 17:48:49 -0000 1.17 @@ -16,10 +16,8 @@ /* Protos */ static void *_create_data(E_Config_Dialog *cfd); static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata); -static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, - E_Config_Dialog_Data *cfdata); -static int _basic_apply_data(E_Config_Dialog *cfd, - E_Config_Dialog_Data *cfdata); +static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata); +static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata); void _config_snow_module(E_Container *con, Snow *s) @@ -84,8 +82,7 @@ } static Evas_Object * -_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, - E_Config_Dialog_Data *cfdata) +_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata) { Evas_Object *o, *of, *ob; E_Radio_Group *rg; =================================================================== RCS file: /cvs/e/e_modules/snow/e_mod_main.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- e_mod_main.c 20 Feb 2006 18:28:27 -0000 1.16 +++ e_mod_main.c 5 Apr 2006 17:48:49 -0000 1.17 @@ -83,8 +83,7 @@ EAPI int e_modapi_about(E_Module *m) { - e_module_dialog_show(D_("Enlightenment Snow Module"), - D_("This is a snow module that may replace xsnow.")); + e_module_dialog_show(D_("Enlightenment Snow Module"), D_("This is a snow module that may replace xsnow.")); return 1; } @@ -164,8 +163,7 @@ } } - evas_output_viewport_get(snow->canvas, NULL, NULL, &snow->width, - &snow->height); + evas_output_viewport_get(snow->canvas, NULL, NULL, &snow->width, &snow->height); if (snow->conf->show_trees) _snow_trees_load(snow); @@ -234,7 +232,7 @@ mi = e_menu_item_new(mn); e_menu_item_label_set(mi, "Configuration"); - e_util_menu_item_edje_icon_set(mi, "enlightenment/configuration"); + e_util_menu_item_edje_icon_set(mi, "enlightenment/configuration"); e_menu_item_callback_set(mi, _snow_menu_cb_configure, snow); return mn; } @@ -319,8 +317,7 @@ evas_object_move(o, tx, ty); evas_object_show(o); flake->flake = o; - flake->start_time = - ecore_time_get() + (double)(random() % (th * 10)) / (double)th; + flake->start_time = ecore_time_get() + (double)(random() % (th * 10)) / (double)th; switch (type) { case 's': @@ -357,8 +354,7 @@ y = 30 * d * flake->speed; evas_object_geometry_get(flake->flake, &x, NULL, NULL, NULL); if (y > snow->height) - flake->start_time = - ecore_time_get() + (double)(random() % 100) / (double)100; + flake->start_time = ecore_time_get() + (double)(random() % 100) / (double)100; evas_object_move(flake->flake, x, y); next = evas_list_next(next); ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs