Help about window color
Doug Way
dway at riskmetrics.com
Mon Jan 7 05:35:23 UTC 2002
Tim Rowledge wrote:
>
> ducasse <ducasse at iam.unibe.ch> is widely believed to have written:
>
> > I was frustrated not to be able to find that so after fighting with other
> > methods, I found the trick. The model of the SystemWindow should be
> > specified first as follow then the color can be declared.
> I had similar frustrations when doing the VMMakerTool stuff; very
> irritating.
I've had problems figuring out the color handling of SystemWindows too... you also have complicated methods like #paneColor (which is what #setWindowColor: really sets, not the morph color), and then #existingPaneColor and #paneColorToUse, etc.
Perhaps, a couple of versions from now, if everyone is happy with the alternateWindowLook, we could dump support for the original window look and simplify some of the code a bit. (although the original window look is probably better for 1-bit displays right now...)
In any case, maybe a comment should be added to #setWindowColor: stating that the model must be set first, or something to that effect.
- Doug Way
dway at riskmetrics.com
More information about the Squeak-dev
mailing list
|