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

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



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.

> are carved in stone since 1992. The exception is pure esteathic changes, =
> naturally. But since we're at it - the API could be extended to allow an =
> additional toolbar in the bottom part of the window, or along the =
> left/right sides of the window.


Yeah - and one in the middle, one diagonal ...

This topic is not really easy nor fun to code.

> 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 made a new version. You may also send me a bin to test.

-Helmut