[vwnc] SymbolicPaint background

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] SymbolicPaint background

Maarten Mostert-2
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
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] SymbolicPaint background

Boris Popov, DeepCove Labs (SNN)
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

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments.

Thank you.

 


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
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] SymbolicPaint background

Maarten Mostert-2
Thanks,
 
This works and solves my problem.
 
@+Maarten
----- Original Message -----
Sent: Monday, April 27, 2009 9:41 PM
Subject: RE: [vwnc] SymbolicPaint background

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

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments.

Thank you.

 


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,
 
 



La Base de données des virus a expiré.
Analyse effectuée par AVG - www.avg.fr
Version: 8.5.287 / Base de données virale: 270.12.0/2066 - Date: 04/18/09 09:55:00

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc