On 16 Nov 2002 10:22:53 +0100, Olivier Chapuis wrote: > > I would like to implement Colorset in title bar's. I would > like to implement MultiColorset too. > > Is this reasonable: > > Add: > > Colorset cset [alpha] > > to the {Add}TitleStyle, {Add}ButtonStyle and BorderStyle > command. These commands will apply the colorset cset background > on the Title bar, button bar and border with the given alpha. > > Add: > > MultiColorset \ > Main cset [alpha] \ > LeftMain cset [alha] > ... etc ... as MultiPixmap > > to TitleStyle. > > Any comments?
I did not immediatelly understand what alpha is good for. But I think I understand it. Any new Add*Style adds a colorset layer. The initial starting background may be a solid bg from "Style Colorset". But this is not very good for defining transparent titles/buttons/borders. I think it is acceptable, instead, to say that the first colorset should be fully destructive, i.e. its alpha is discarded. Similarly MultiColorset may be destructive, i.e. no alpha in the mandatory Main/LeftMain/RightMain. Other MultiColorset parts may have alpha relative to Main. There are also stretch arguments. MultiPixmap may be removed in favor of MultiColorset if this simplifies the code (I think, yes). Seems good for me, one should just distinguish between internal alphas in the colorset definition and the external alpha in the colorset usage. We probably should add different settings for different windows later. Similarly to FocusStyle. I.e.: [Add]TitleStyle XTerm <current_parameters>. Then we may remove decors. But this is really not for now. As for BorderStyle, I think it is not very simple if you want to get nice results. It may have MultiColorset too with different colorsets for corner (to be mirrored) and horizontal and/or vertical parts (to be mirrored and tiled). This may wait. Seems a lot of work. Good luck. :) Regards, Mikhael. -- 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]