On Tue, Oct 22, 2002 at 12:42:28AM +0200, Dominik Vogt wrote:
> I don't understand some of the bit field sized of some members of
> the colorset_struct.  Specifically:
> 
>   unsigned int fg_alpha : 7;
>   unsigned int icon_alpha : 12;
> 
> What are these?  Are they pixel values?  Then they have to use the
> "Pixel" type.  In any case, 7 or 12 bits seem very wrong to me.
> In any case, the names are not descriptive enough.
> 
>   unsigned int tint_percent : 12;
>   unsigned int icon_tint_percent : 12;
> 
> Percentages with 12 bit resolution?  I'd guess we nee 7 bits here.
>

Yes we should do:
        /fg_alpha/fg_alpha_percent/
        /icon_alpha/icon_alpha_percent/
and use 7 bits for all the *percent members

Olivier
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to