From: <enl...@li...> - 2002-03-19 21:40:46
|
Enlightenment CVS committal Author : smugg Project : e17 Module : apps/etcher Dir : e17/apps/etcher/src Modified Files: Tag: SPLIT bits.c Log Message: this should actually work now =) =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/etcher/src/bits.c,v retrieving revision 1.24.2.3 retrieving revision 1.24.2.4 diff -u -3 -r1.24.2.3 -r1.24.2.4 --- bits.c 19 Mar 2002 19:05:04 -0000 1.24.2.3 +++ bits.c 19 Mar 2002 21:40:45 -0000 1.24.2.4 @@ -1248,6 +1248,11 @@ imlib_context_set_image(state->clicked.image); imlib_free_image_and_decache(); } + if (state->selected.image) + { + imlib_context_set_image(state->selected.image); + imlib_free_image_and_decache(); + } if (state->disabled.image) { imlib_context_set_image(state->disabled.image); @@ -1275,6 +1280,7 @@ IF_FREE(state->description->normal.image); IF_FREE(state->description->hilited.image); IF_FREE(state->description->clicked.image); + IF_FREE(state->description->selected.image); IF_FREE(state->description->disabled.image); /* XXX */ @@ -1420,6 +1426,7 @@ IF_FREE(bit->normal.image); IF_FREE(bit->hilited.image); IF_FREE(bit->clicked.image); + IF_FREE(bit->selected.image); IF_FREE(bit->disabled.image); /* XXX */ @@ -1702,6 +1709,11 @@ imlib_context_set_image(state->clicked.image); imlib_free_image_and_decache(); } + if (state->selected.image) + { + imlib_context_set_image(state->selected.image); + imlib_free_image_and_decache(); + } if (state->disabled.image) { imlib_context_set_image(state->disabled.image); @@ -1778,6 +1790,8 @@ state->hilited.saved = 1; if (state->clicked.image) state->clicked.saved = 1; + if (state->selected.image) + state->selected.saved = 1; if (state->disabled.image) state->disabled.saved = 1; for (ll = state->state_source_description; ll; ll = ll->next) |