Enlightenment CVS committal Author : rephorm Project : e17 Module : apps/elicit
Dir : e17/apps/elicit/src Modified Files: elicit.c swatches.c Log Message: Set colors properly when loading up a swatch. Set color class when switching themes. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/elicit/src/elicit.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- elicit.c 7 Mar 2005 00:51:25 -0000 1.20 +++ elicit.c 8 Mar 2005 02:54:25 -0000 1.21 @@ -112,12 +112,6 @@ el->zoom = elicit_config_zoom_get(); el->zoom_max = elicit_config_zoom_max_get(); - /* load up the colorclass */ - { - int r, g, b; - elicit_config_colorclass_get(&r, &g, &b); - edje_object_color_class_set(el->gui, "border", r, g, b, 255, 0, 0, 0, 0, 0, 0, 0, 0); - } /* create the swatch and shot objects */ el->shot = evas_object_image_add(el->evas); evas_object_name_set(el->shot, "shot"); @@ -211,6 +205,13 @@ evas_object_hide(el->gui); evas_object_show(el->gui); + + /* load up the colorclass */ + { + int r, g, b; + elicit_config_colorclass_get(&r, &g, &b); + edje_object_color_class_set(el->gui, "border", r, g, b, 255, 0, 0, 0, 0, 0, 0, 0, 0); + } } void =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/elicit/src/swatches.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- swatches.c 26 Dec 2004 22:12:51 -0000 1.9 +++ swatches.c 8 Mar 2005 02:54:25 -0000 1.10 @@ -273,6 +273,8 @@ el->color.g = sw->g; el->color.b = sw->b; + elicit_util_colors_set_from_rgb(el); + elicit_ui_update(el); } ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs