Hi Robert,

Am Freitag, den 19.05.2006, 11:16 +0200 schrieb Robert Schuster:
> Hi,
> here is my proposal for a slight rewrite of the MetalButtonUI.update method: 
> It
> first finds out whether gradient painting is needed or not and calls a 
> specific
> private method which works out all the details.
> 
> The comments should explain it all.
> 
> Note: Some change to the lightweightdispatcher is still needed. Currently you
> can click and hold on a toolbar button, move to another and it will not set 
> the
> rollover state to true. However if you click on another mouse button (while
> still holding down the left one) the button under the cursor will receive 
> focus
> and everything gets messed up. In the RI the focus traversal is prevented 
> somehow.
> 
> Ok to commit?

Looks ok for me.

/Roman
-- 
“Improvement makes straight roads, but the crooked roads, without
Improvement, are roads of Genius.” - William Blake

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to