Re: how to change background in Pharo to plain white?

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

Re: how to change background in Pharo to plain white?

Sheridan Mahoney
Hello,

I want to be able to take some screenshots of the Pharo menus,
and would like to have a plain white background instead of
the 'Pharo' logo.  I've tried setting :
System->Settings->Appearance->Desktop->color
to white, but it didn't have the effect I wanted.

Any ideas?

Many thanks in advance,

Sheridan

Reply | Threaded
Open this post in threaded view
|

Re: how to change background in Pharo to plain white?

Mariano Martinez Peck
World backgroundMorph: nil.
World restoreDisplay.

cheers

mariano

On Mon, Nov 8, 2010 at 11:10 PM, Sheridan Mahoney <[hidden email]> wrote:
Hello,

I want to be able to take some screenshots of the Pharo menus,
and would like to have a plain white background instead of
the 'Pharo' logo.  I've tried setting :
System->Settings->Appearance->Desktop->color
to white, but it didn't have the effect I wanted.

Any ideas?

Many thanks in advance,

Sheridan


Reply | Threaded
Open this post in threaded view
|

Re: how to change background in Pharo to plain white?

Lukas Renggli
I use the following code in my build scripts
(https://github.com/renggli/builder/blob/master/scripts/settings.st):

World color: Color white.
World submorphs do: [ :each |
        (#(SketchMorph ImageMorph) includes: each class name)
                ifTrue: [ each delete ] ].

Lukas

On 8 November 2010 23:14, Mariano Martinez Peck <[hidden email]> wrote:

> World backgroundMorph: nil.
> World restoreDisplay.
>
> cheers
>
> mariano
>
> On Mon, Nov 8, 2010 at 11:10 PM, Sheridan Mahoney
> <[hidden email]> wrote:
>>
>> Hello,
>>
>> I want to be able to take some screenshots of the Pharo menus,
>> and would like to have a plain white background instead of
>> the 'Pharo' logo.  I've tried setting :
>> System->Settings->Appearance->Desktop->color
>> to white, but it didn't have the effect I wanted.
>>
>> Any ideas?
>>
>> Many thanks in advance,
>>
>> Sheridan
>>
>
>



--
Lukas Renggli
www.lukas-renggli.ch

Reply | Threaded
Open this post in threaded view
|

Re: how to change background in Pharo to plain white?

Sheridan Mahoney
That did what I was looking for, thanks Lukas and Mariano!
Sheri



On Nov 8, 2010, Lukas Renggli <[hidden email]> wrote:

I use the following code in my build scripts
(https://github.com/renggli/builder/blob/master/scripts/settings.st):

World color: Color white.
World submorphs do: [ :each |
        (#(SketchMorph ImageMorph) includes: each class name)
                ifTrue: [ each delete ] ].

Lukas

On 8 November 2010 23:14, Mariano Martinez Peck <[hidden email]> wrote:

> World backgroundMorph: nil.
> World restoreDisplay.
>
> cheers
>
> mariano
>
> On Mon, Nov 8, 2010 at 11:10 PM, Sheridan Mahoney
> <[hidden email]> wrote:
>>
>> Hello,
>>
>> I want to be able to take some screenshots of the Pharo menus,
>> and would like to have a plain white background instead of
>> the 'Pharo' logo.&#160; I've tried setting :
>> System->Settings->Appearance->Desktop->color
>> to white, but it didn't have the effect I wanted.
>>
>> Any ideas?
>>
>> Many thanks in advance,
>>
>> Sheridan
>>
>
>



--
Lukas Renggli
www.lukas-renggli.ch

Reply | Threaded
Open this post in threaded view
|

Re: how to change background in Pharo to plain white?

Mariano Martinez Peck
In reply to this post by Lukas Renggli


On Mon, Nov 8, 2010 at 11:18 PM, Lukas Renggli <[hidden email]> wrote:
I use the following code in my build scripts
(https://github.com/renggli/builder/blob/master/scripts/settings.st):

World color: Color white.
World submorphs do: [ :each |
       (#(SketchMorph ImageMorph) includes: each class name)
               ifTrue: [ each delete ] ].

In such case you can also do:

LogoImageMorph default: nil.
 
Lukas

On 8 November 2010 23:14, Mariano Martinez Peck <[hidden email]> wrote:
> World backgroundMorph: nil.
> World restoreDisplay.
>
> cheers
>
> mariano
>
> On Mon, Nov 8, 2010 at 11:10 PM, Sheridan Mahoney
> <[hidden email]> wrote:
>>
>> Hello,
>>
>> I want to be able to take some screenshots of the Pharo menus,
>> and would like to have a plain white background instead of
>> the 'Pharo' logo.  I've tried setting :
>> System->Settings->Appearance->Desktop->color
>> to white, but it didn't have the effect I wanted.
>>
>> Any ideas?
>>
>> Many thanks in advance,
>>
>> Sheridan
>>
>
>



--
Lukas Renggli
www.lukas-renggli.ch


Reply | Threaded
Open this post in threaded view
|

Re: how to change background in Pharo to plain white?

Alain Plantec-4
from the settings browser you can also set the background color
cheers
Alain

Le 09/11/2010 03:27, Mariano Martinez Peck a écrit :

>
>
> On Mon, Nov 8, 2010 at 11:18 PM, Lukas Renggli <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     I use the following code in my build scripts
>     (https://github.com/renggli/builder/blob/master/scripts/settings.st):
>
>     World color: Color white.
>     World submorphs do: [ :each |
>            (#(SketchMorph ImageMorph) includes: each class name)
>                    ifTrue: [ each delete ] ].
>
>
> In such case you can also do:
>
> LogoImageMorph default: nil.
>
>     Lukas
>
>     On 8 November 2010 23:14, Mariano Martinez Peck
>     <[hidden email] <mailto:[hidden email]>> wrote:
>     > World backgroundMorph: nil.
>     > World restoreDisplay.
>     >
>     > cheers
>     >
>     > mariano
>     >
>     > On Mon, Nov 8, 2010 at 11:10 PM, Sheridan Mahoney
>     > <[hidden email]
>     <mailto:[hidden email]>> wrote:
>     >>
>     >> Hello,
>     >>
>     >> I want to be able to take some screenshots of the Pharo menus,
>     >> and would like to have a plain white background instead of
>     >> the 'Pharo' logo.  I've tried setting :
>     >> System->Settings->Appearance->Desktop->color
>     >> to white, but it didn't have the effect I wanted.
>     >>
>     >> Any ideas?
>     >>
>     >> Many thanks in advance,
>     >>
>     >> Sheridan
>     >>
>     >
>     >
>
>
>
>     --
>     Lukas Renggli
>     www.lukas-renggli.ch <http://www.lukas-renggli.ch>
>
>