[Q] Need recepie to change morphic look
Richard A. O'Keefe
ok at cs.otago.ac.nz
Mon Mar 18 04:33:41 UTC 2002
Ned Konz <ned at bike-nomad.com> wrote:
SystemWindow>>setStripeColorsFrom:
where there is code to change them.
In 3.0.1, when I used this to change the title bar colour of a
SystemWindow, it changes right back as soon as I select that window.
That's because
SystemWindow>>activate
does
self setStripeColorsFrom: self paneColorToUse.
which gets the colour from
paneMorphs first color
provided there is such a thing and it is set.
In short, the existing code tries to defend the invariant
"if a SystemWindow is active, all its panes are the same colour".
More information about the Squeak-dev
mailing list
|