The latest beta includes a new way of treating the icon in a %bb button when the button is not selectable (i.e. greyed-out). Prior to these recent changes, the icon remained coloured even when the button was in this state; now, the icon is greyed out too. No doubt this is what should happen, and indeed, the algorithm for converting to greyscale is more sophisticated than how a greyed-out version of a bitmap is auto-converted in %ib, but the upshot is that some of my carefully crafted icons have become ragged in the greyed-out state, because the conversion does not respect transparency (I think) in the original icon.
While greying-out the icon as well as the rest of the button does seem to me to be somehow more correct than leaving the original icon coloured, the net effect on a %bb button with a pastel-shaded icon, designed to look OK in active or inactive states, is not all that attractive.
I like to offer suggestions, and here they are:
- Respect the alpha channel info in the original icon, or
- Allow selection of either behaviour with a subroutine.
As it happens, one can partly overcome the grey blob effect in a greyed-out %ib button by covering part of the image with a chequerboard effect in the background RGB@(192,192,192) grey colour. This at least gives 3 greys: the foreground, the background and the chequerboard area (which without close inspection looks like a 3rd shade). [Or just use them in situations where they are never greyed-out!]. However, %bb icons are very small areas in which to do this, and the problem is not in the interior of the icon, but round its edges.
Eddie