tir, 21,.06.2005 kl. 23.10 +0200, skrev Xavier Joubert:
Selon Odd Skancke <ozk@atari.org>:
But this situation doesn't happen in WinDom. The wind_calc() is used
every time you do WinDom equivalent of wind_get( WORKXYWH ) so the theme
change will be accomodated appropriately.
My arguments are based on situations where theme changes does not
affect already created windows (which must be specifically supported by
each application). In this case wind_calc() will return wrong (current
theme) deltas instead of the (previouse theme) deltas that were
effective at the time the window was created. So yes, this situation
will arise as WinDom handles things now.
This is a bug in XaAES, then.
AES should always be able to compute right deltas for a given window. So you
should either change already opened windows theme or keep old theme in memory
to be able to handle "old" windows correctly.
I cant believe this. wind_calc() does NOT work on a given window
goddamned it! It has not window context. wind_get/set() does! What the
hell is the problem with you all? I'm about to give up this shit!