[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Toolbar width inconsistency (bad rectangle list?)



17 dec 2010 kl. 15.12 skrev Helmut Karlowski:

> Peter Persson wrote:
> 
>> If the functionality changes, there should be a new API for it. Toolbars =
> 
> Sure, but as long as the docs are matched, it should be ok. Toolbars never really worked in XaAES.

This seems better now however :)

>> With this (and the last) version, a bug is introduced. It's triggered =
>> when using the wind_set() method to redraw the toolbar (XaAES-specific; =
>> the other way is to use the rectangle list). It breaks the vertical =
>> slider, and it seems it gets worse each time the slider and/or the =
>> toolbar is redrawn. This does not happen when using the legacy way to =
>> redraw the toolbar. It also didn't happen in the earlier versions. So =
>> whatever you changed related to the vertical slider, change it back :)
> 
> I can imagine that this may happen, but then the first bug would reappear ;)

I've tested it now and everything seems ok!

 - The problem with the VSLIDE in combination with the wind_set() redraw method doesn't happen
 - No overdraw / bad rectangle list when using only SIZER

Good work!

> I've made a new version. You may also send me a bin to test.

I'll put something together and email you privately.

Thanks for the effort :) Naturally more testing is needed but things are looking really good.

-- PeP