Hi,
I have been looking to modify the background color
of my widgets under XP/Vista once for all and not widget per
widget.
I thought that colorDefault or grayDefault
should do these things, but they seem to have no effect.
Does anyone has an idea how to deal with
this.
Rgrds,
@+Maarten,
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
This may or may not be helpful, but our extended version of
NewSystemIcon has the ability to set background color of all windows inside an
image to help differentiate between them if you have multiples running at the
same time and the key code piece is (EnvironmentColor stores user selection
of color),
applyEnvironmentColor
| policy | policy := Screen default defaultPaintPreferences. EnvironmentColor ifNil: [Screen default updatePaintPreferences] ifNotNil: [(Array with: SymbolicPaint menuBarBackground with: SymbolicPaint menuBackground with: SymbolicPaint background) do: [:paint | policy matchAt: paint put: EnvironmentColor]]. WindowManager restoreAll Cheers!
-Boris From: [hidden email] [mailto:[hidden email]] On Behalf Of Maarten MOSTERT Sent: Sunday, April 26, 2009 8:58 AM To: VWNC Subject: [vwnc] SymbolicPaint background Hi,
I have been looking to modify the background color
of my widgets under XP/Vista once for all and not widget per
widget.
I thought that colorDefault or grayDefault
should do these things, but they seem to have no effect.
Does anyone has an idea how to deal with
this.
Rgrds,
@+Maarten,
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Thanks,
This works and solves my problem.
@+Maarten
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |