Hi folks. I re-try (yes, yes, I re-insist hahaha) to have a background picture for the PharoDev 1.1. The last time I tried, we had a problem with the picture because in big screens instead of making it bigger, it put it several times, or it cut it. Now, thanks to Gary, it should work well.
So, if you are a lucky guy an have a big screen, can you please take the latests PharoCore 1.1 image, for example this: https://gforge.inria.fr/frs/download.php/26995/PharoCore-1.1-11357-UNSTABLE.zip How to test it ? - Download this in the same directory where the .image is: https://gforge.inria.fr/frs/download.php/26996/pharoBackground.png Then evaluate: World backgroundMorph: ((UITheme builder newAlphaImage: (ImageReadWriter formFromFileNamed: 'pharoBackground.png') help: nil) autoSize: false; layout: #scaled; lock) What to test ? - You should stretch the pharo image, make it very big, and the background picture should stretch also together with the image. - If you notice a performance decrease with it (I don't think so) - If you like it or not. - If the resolution is good enough in big screens Thanks! Mariano _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
On my 30 inches screen
opening in full show some little square due to the limit of the png :) Thanks mariano. On May 13, 2010, at 8:39 PM, Mariano Martinez Peck wrote: > Hi folks. I re-try (yes, yes, I re-insist hahaha) to have a background picture for the PharoDev 1.1. The last time I tried, we had a problem with the picture because in big screens instead of making it bigger, it put it several times, or it cut it. Now, thanks to Gary, it should work well. > > So, if you are a lucky guy an have a big screen, can you please take the latests PharoCore 1.1 image, for example this: > > https://gforge.inria.fr/frs/download.php/26995/PharoCore-1.1-11357-UNSTABLE.zip > > > How to test it ? > > - Download this in the same directory where the .image is: > https://gforge.inria.fr/frs/download.php/26996/pharoBackground.png > > Then evaluate: > > World backgroundMorph: > ((UITheme builder > newAlphaImage: (ImageReadWriter formFromFileNamed: 'pharoBackground.png') help: nil) > autoSize: false; > layout: #scaled; > lock) > > > What to test ? > > - You should stretch the pharo image, make it very big, and the background picture should stretch also together with the image. > - If you notice a performance decrease with it (I don't think so) > - If you like it or not. > - If the resolution is good enough in big screens > > > Thanks! > > Mariano > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
On Thu, May 13, 2010 at 8:44 PM, Stéphane Ducasse <[hidden email]> wrote: On my 30 inches screen Ok...I guess it's a limit of the png format in particular, but THIS file. I mean, even if I convert it, I will get same results I gues... Now, I don't know where this image came from. Samuel Morello ? Can we ask someone for a new one with better resolution ? Thanks mariano
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
this is ok let us keep that one :)
On May 13, 2010, at 9:08 PM, Mariano Martinez Peck wrote: > > > On Thu, May 13, 2010 at 8:44 PM, Stéphane Ducasse <[hidden email]> wrote: > On my 30 inches screen > opening in full show some little square due to the limit of the png :) > > Ok...I guess it's a limit of the png format in particular, but THIS file. I mean, even if I convert it, I will get same results I gues... > > Now, I don't know where this image came from. Samuel Morello ? Can we ask someone for a new one with better resolution ? > > Thanks > > mariano > > > Thanks mariano. > > > On May 13, 2010, at 8:39 PM, Mariano Martinez Peck wrote: > > > Hi folks. I re-try (yes, yes, I re-insist hahaha) to have a background picture for the PharoDev 1.1. The last time I tried, we had a problem with the picture because in big screens instead of making it bigger, it put it several times, or it cut it. Now, thanks to Gary, it should work well. > > > > So, if you are a lucky guy an have a big screen, can you please take the latests PharoCore 1.1 image, for example this: > > > > https://gforge.inria.fr/frs/download.php/26995/PharoCore-1.1-11357-UNSTABLE.zip > > > > > > How to test it ? > > > > - Download this in the same directory where the .image is: > > https://gforge.inria.fr/frs/download.php/26996/pharoBackground.png > > > > Then evaluate: > > > > World backgroundMorph: > > ((UITheme builder > > newAlphaImage: (ImageReadWriter formFromFileNamed: 'pharoBackground.png') help: nil) > > autoSize: false; > > layout: #scaled; > > lock) > > > > > > What to test ? > > > > - You should stretch the pharo image, make it very big, and the background picture should stretch also together with the image. > > - If you notice a performance decrease with it (I don't think so) > > - If you like it or not. > > - If the resolution is good enough in big screens > > > > > > Thanks! > > > > Mariano > > > > > > _______________________________________________ > > Pharo-project mailing list > > [hidden email] > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-users mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Stéphane Ducasse
Fine for me spanned over two monitors (World extent 3580@1014) in Vista.
Note that there is a shorter message form for setting the background image: World backgroundImage: (ImageReadWriter formFromFileNamed: 'pharoBackground.png') layout: #scaled Alternatively, as before, having a .jpg file in your image/changes directory with the name matching the theme name will load upon theme change (Watery 2.jpg for instance) Regards, Gary ----- Original Message ----- From: "Stéphane Ducasse" <[hidden email]> To: <[hidden email]> Cc: "A friendly place where any question about pharo is welcome" <[hidden email]> Sent: Thursday, May 13, 2010 7:44 PM Subject: Re: [Pharo-project] Help testing Pharo 1.1 in big screens! > On my 30 inches screen > opening in full show some little square due to the limit of the png :) > > Thanks mariano. > > > On May 13, 2010, at 8:39 PM, Mariano Martinez Peck wrote: > >> Hi folks. I re-try (yes, yes, I re-insist hahaha) to have a background >> picture for the PharoDev 1.1. The last time I tried, we had a problem >> with the picture because in big screens instead of making it bigger, it >> put it several times, or it cut it. Now, thanks to Gary, it should work >> well. >> >> So, if you are a lucky guy an have a big screen, can you please take the >> latests PharoCore 1.1 image, for example this: >> >> https://gforge.inria.fr/frs/download.php/26995/PharoCore-1.1-11357-UNSTABLE.zip >> >> >> How to test it ? >> >> - Download this in the same directory where the .image is: >> https://gforge.inria.fr/frs/download.php/26996/pharoBackground.png >> >> Then evaluate: >> >> World backgroundMorph: >> ((UITheme builder >> newAlphaImage: (ImageReadWriter formFromFileNamed: >> 'pharoBackground.png') help: nil) >> autoSize: false; >> layout: #scaled; >> lock) >> >> >> What to test ? >> >> - You should stretch the pharo image, make it very big, and the >> background picture should stretch also together with the image. >> - If you notice a performance decrease with it (I don't think so) >> - If you like it or not. >> - If the resolution is good enough in big screens >> >> >> Thanks! >> >> Mariano >> >> >> _______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Mariano Martinez Peck
2010/5/13 Mariano Martinez Peck <[hidden email]>:
> Hi folks. I re-try (yes, yes, I re-insist hahaha) to have a background > picture for the PharoDev 1.1. Tried it in fullscreen on dual widescreen displays, World extent 2880@900, under Debian Sid. > - You should stretch the pharo image, make it very big, and the background > picture should stretch also together with the image. It does. > - If you notice a performance decrease with it (I don't think so) None noticed, but I just browsed around. > - If you like it or not. Honestly, I don't care for it either way. > - If the resolution is good enough in big screens Seems to be, even stretched wide. _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Gary Chambers-4
On May 14, 2010, at 12:14 PM, Gary Chambers wrote: > Fine for me spanned over two monitors (World extent 3580@1014) in Vista. > > Note that there is a shorter message form for setting the background image: > > World backgroundImage: (ImageReadWriter formFromFileNamed: 'pharoBackground.png') layout: #scaled > > Alternatively, as before, having a .jpg file in your image/changes directory with the name matching the theme name will load upon theme change (Watery 2.jpg for instance) Ah nice I did not know that. _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Administrator
|
In reply to this post by Mariano Martinez Peck
It does stretch, question is why should it stretch? I find that when you make it very wide or very narrow it looks a bit strange. Why not just center the background image? |
On Fri, May 14, 2010 at 4:19 PM, Geert Claes <[hidden email]> wrote:
I don't know. For me is the same. In my pc it is the same ;) When I released a image with such picture as background people complained that they wanted stretch... -- _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Administrator
|
I guess so, you could go further and give the option to center stretch, or tile ... but I am not too fussed about the background image |
See AlphaImageMorph>>layoutSymbols for positioning options...
Regards, Gary ----- Original Message ----- From: "Geert Claes" <[hidden email]> To: <[hidden email]> Sent: Friday, May 14, 2010 3:25 PM Subject: Re: [Pharo-project] Help testing Pharo 1.1 in big screens! > > > Mariano Martinez Peck wrote: >> >>> It does stretch, question is why should it stretch? I find that when >>> you >>> make it very wide or very narrow it looks a bit strange. Why not just >>> center the background image? >> >> I don't know. For me is the same. In my pc it is the same ;) >> When I released a image with such picture as background people complained >> that they wanted stretch... >> > > I guess so, you could go further and give the option to center stretch, or > tile ... but I am not too fussed about the background image > -- > View this message in context: > http://forum.world.st/Help-testing-Pharo-1-1-in-big-screens-tp2201495p2216659.html > Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Geert Claes
Looks beautiful on a 27" iMac screen.
On Fri, May 14, 2010 at 4:25 PM, Geert Claes <[hidden email]> wrote: > > > Mariano Martinez Peck wrote: >> >>> It does stretch, question is why should it stretch? I find that when you >>> make it very wide or very narrow it looks a bit strange. Why not just >>> center the background image? >> >> I don't know. For me is the same. In my pc it is the same ;) >> When I released a image with such picture as background people complained >> that they wanted stretch... >> > > I guess so, you could go further and give the option to center stretch, or > tile ... but I am not too fussed about the background image > -- > View this message in context: http://forum.world.st/Help-testing-Pharo-1-1-in-big-screens-tp2201495p2216659.html > Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Gary Chambers-4
On Fri, May 14, 2010 at 12:14 PM, Gary Chambers <[hidden email]> wrote: Fine for me spanned over two monitors (World extent 3580@1014) in Vista. It would be really cool a chaper in http://book.pharo-project.org/ about "Customizing your own image" and we put there all these little and nice tricks.
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Yes start a section :)
under tips and trick On May 14, 2010, at 8:15 PM, Mariano Martinez Peck wrote: > > > On Fri, May 14, 2010 at 12:14 PM, Gary Chambers <[hidden email]> wrote: > Fine for me spanned over two monitors (World extent 3580@1014) in Vista. > > Note that there is a shorter message form for setting the background image: > > World backgroundImage: (ImageReadWriter formFromFileNamed: 'pharoBackground.png') layout: #scaled > > Alternatively, as before, having a .jpg file in your image/changes directory with the name matching the theme name will load upon theme change (Watery 2.jpg for instance) > > It would be really cool a chaper in http://book.pharo-project.org/ about "Customizing your own image" > and we put there all these little and nice tricks. > > > Regards, Gary > > ----- Original Message ----- From: "Stéphane Ducasse" <[hidden email]> > To: <[hidden email]> > Cc: "A friendly place where any question about pharo is welcome" <[hidden email]> > Sent: Thursday, May 13, 2010 7:44 PM > Subject: Re: [Pharo-project] Help testing Pharo 1.1 in big screens! > > > > On my 30 inches screen > opening in full show some little square due to the limit of the png :) > > Thanks mariano. > > > On May 13, 2010, at 8:39 PM, Mariano Martinez Peck wrote: > > Hi folks. I re-try (yes, yes, I re-insist hahaha) to have a background picture for the PharoDev 1.1. The last time I tried, we had a problem with the picture because in big screens instead of making it bigger, it put it several times, or it cut it. Now, thanks to Gary, it should work well. > > So, if you are a lucky guy an have a big screen, can you please take the latests PharoCore 1.1 image, for example this: > > https://gforge.inria.fr/frs/download.php/26995/PharoCore-1.1-11357-UNSTABLE.zip > > > How to test it ? > > - Download this in the same directory where the .image is: > https://gforge.inria.fr/frs/download.php/26996/pharoBackground.png > > Then evaluate: > > World backgroundMorph: > ((UITheme builder > newAlphaImage: (ImageReadWriter formFromFileNamed: 'pharoBackground.png') help: nil) > autoSize: false; > layout: #scaled; > lock) > > > What to test ? > > - You should stretch the pharo image, make it very big, and the background picture should stretch also together with the image. > - If you notice a performance decrease with it (I don't think so) > - If you like it or not. > - If the resolution is good enough in big screens > > > Thanks! > > Mariano > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Gary Chambers-4
On Fri, May 14, 2010 at 12:14 PM, Gary Chambers <[hidden email]> wrote: Fine for me spanned over two monitors (World extent 3580@1014) in Vista. Alain, maybe we can have a setting in the setting broswer called "Wallpaper" or "Background picture" that opens a file dialog and let you choose the image from disk ? Then you evaluate this code ;) Cheers Mariano
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Stéphane Ducasse
On Fri, May 14, 2010 at 8:20 PM, Stéphane Ducasse <[hidden email]> wrote: Yes start a section :) Done: http://book.pharo-project.org/book/table-of-contents/CustomizingPharo/PuttingABackgroundPicture/
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Guys, this is plain boring :)
Here is more interesting example (just evaluate it to see what happens) ;) [ [[ | rx str url form | str := (HTTPSocket httpGet: 'http://www.socwall.com/browse/index.php?wpSortby=8') contents. rx := '.*(http\://.+tb_.+\.jpg).*' asRegex. url := (rx matches: str) ifTrue: [ str := (rx subexpression: 2) copyWithRegex: 'tb_' matchesReplacedWith: '' ] ifFalse: [ nil ]. form := nil. url ifNotNil: [ form := ImageReadWriter formFromStream: (HTTPSocket httpGet: url). World backgroundImage: form layout: #scaled ]. 1 minute asDelay wait. ] on: Error do: [:ex| ] ] repeat. ] newProcess name: 'Random background changer'; priority: Processor userBackgroundPriority; resume 2010/5/15 Mariano Martinez Peck <[hidden email]>: > > > On Fri, May 14, 2010 at 8:20 PM, Stéphane Ducasse > <[hidden email]> wrote: >> >> Yes start a section :) >> under tips and trick >> > > Done: > http://book.pharo-project.org/book/table-of-contents/CustomizingPharo/PuttingABackgroundPicture/ > > > >> >> On May 14, 2010, at 8:15 PM, Mariano Martinez Peck wrote: >> >> > >> > >> > On Fri, May 14, 2010 at 12:14 PM, Gary Chambers >> > <[hidden email]> wrote: >> > Fine for me spanned over two monitors (World extent 3580@1014) in Vista. >> > >> > Note that there is a shorter message form for setting the background >> > image: >> > >> > World backgroundImage: (ImageReadWriter formFromFileNamed: >> > 'pharoBackground.png') layout: #scaled >> > >> > Alternatively, as before, having a .jpg file in your image/changes >> > directory with the name matching the theme name will load upon theme change >> > (Watery 2.jpg for instance) >> > >> > It would be really cool a chaper in http://book.pharo-project.org/ >> > about "Customizing your own image" >> > and we put there all these little and nice tricks. >> > >> > >> > Regards, Gary >> > >> > ----- Original Message ----- From: "Stéphane Ducasse" >> > <[hidden email]> >> > To: <[hidden email]> >> > Cc: "A friendly place where any question about pharo is welcome" >> > <[hidden email]> >> > Sent: Thursday, May 13, 2010 7:44 PM >> > Subject: Re: [Pharo-project] Help testing Pharo 1.1 in big screens! >> > >> > >> > >> > On my 30 inches screen >> > opening in full show some little square due to the limit of the png :) >> > >> > Thanks mariano. >> > >> > >> > On May 13, 2010, at 8:39 PM, Mariano Martinez Peck wrote: >> > >> > Hi folks. I re-try (yes, yes, I re-insist hahaha) to have a background >> > picture for the PharoDev 1.1. The last time I tried, we had a problem with >> > the picture because in big screens instead of making it bigger, it put it >> > several times, or it cut it. Now, thanks to Gary, it should work well. >> > >> > So, if you are a lucky guy an have a big screen, can you please take the >> > latests PharoCore 1.1 image, for example this: >> > >> > >> > https://gforge.inria.fr/frs/download.php/26995/PharoCore-1.1-11357-UNSTABLE.zip >> > >> > >> > How to test it ? >> > >> > - Download this in the same directory where the .image is: >> > https://gforge.inria.fr/frs/download.php/26996/pharoBackground.png >> > >> > Then evaluate: >> > >> > World backgroundMorph: >> > ((UITheme builder >> > newAlphaImage: (ImageReadWriter formFromFileNamed: >> > 'pharoBackground.png') help: nil) >> > autoSize: false; >> > layout: #scaled; >> > lock) >> > >> > >> > What to test ? >> > >> > - You should stretch the pharo image, make it very big, and the >> > background picture should stretch also together with the image. >> > - If you notice a performance decrease with it (I don't think so) >> > - If you like it or not. >> > - If the resolution is good enough in big screens >> > >> > >> > Thanks! >> > >> > Mariano >> > >> > >> > _______________________________________________ >> > Pharo-project mailing list >> > [hidden email] >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > >> > >> > _______________________________________________ >> > Pharo-project mailing list >> > [hidden email] >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > >> > >> > _______________________________________________ >> > Pharo-project mailing list >> > [hidden email] >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > >> > _______________________________________________ >> > Pharo-project mailing list >> > [hidden email] >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> >> >> _______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Igor, you are my hero. This is fucking great hahahahaha
I will use is it for my images!!! ahhh you should cache them so that when you are offline you can random the ones you already downloaded ahahahahhaha excellent :) mariano On Sat, May 15, 2010 at 11:48 PM, Igor Stasenko <[hidden email]> wrote: Guys, this is plain boring :) _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
This one is little bit fixed, (request a list with 1 image, instead of 8)
and delay 1 minute after error. [ [[ | rx str url form | str := (HTTPSocket httpGet: 'http://www.socwall.com/browse/index.php?wpLimit=1&wpSortby=8') contents. rx := '.*(http\://.+tb_.+\.jpg).*' asRegex. url := (rx matches: str) ifTrue: [ str := (rx subexpression: 2) copyWithRegex: 'tb_' matchesReplacedWith: '' ] ifFalse: [ nil ]. form := nil. url ifNotNil: [ form := ImageReadWriter formFromStream: (HTTPSocket httpGet: url). World backgroundImage: form layout: #scaled ]. ] on: Error do: [:ex| ]. 1 minute asDelay wait. ] repeat. ] newProcess name: 'Random background changer'; priority: Processor userBackgroundPriority; resume 2010/5/16 Mariano Martinez Peck <[hidden email]>: > Igor, you are my hero. This is fucking great hahahahaha > > I will use is it for my images!!! ahhh you should cache them so that when > you are offline you can random the ones you already downloaded ahahahahhaha > > excellent :) > > mariano > > On Sat, May 15, 2010 at 11:48 PM, Igor Stasenko <[hidden email]> wrote: >> >> Guys, this is plain boring :) >> >> Here is more interesting example (just evaluate it to see what happens) ;) >> >> [ >> >> [[ >> | rx str url form | >> str := (HTTPSocket httpGet: >> 'http://www.socwall.com/browse/index.php?wpSortby=8') contents. >> rx := '.*(http\://.+tb_.+\.jpg).*' asRegex. >> url := (rx matches: str) >> ifTrue: [ >> str := (rx subexpression: 2) >> copyWithRegex: 'tb_' matchesReplacedWith: >> '' ] >> ifFalse: [ nil ]. >> form := nil. >> url ifNotNil: [ >> form := ImageReadWriter formFromStream: (HTTPSocket >> httpGet: url). >> World backgroundImage: form layout: #scaled >> ]. >> >> 1 minute asDelay wait. >> ] on: Error do: [:ex| ] ] repeat. >> >> ] newProcess name: 'Random background changer'; priority: Processor >> userBackgroundPriority; resume >> >> >> >> >> >> 2010/5/15 Mariano Martinez Peck <[hidden email]>: >> > >> > >> > On Fri, May 14, 2010 at 8:20 PM, Stéphane Ducasse >> > <[hidden email]> wrote: >> >> >> >> Yes start a section :) >> >> under tips and trick >> >> >> > >> > Done: >> > >> > http://book.pharo-project.org/book/table-of-contents/CustomizingPharo/PuttingABackgroundPicture/ >> > >> > >> > >> >> >> >> On May 14, 2010, at 8:15 PM, Mariano Martinez Peck wrote: >> >> >> >> > >> >> > >> >> > On Fri, May 14, 2010 at 12:14 PM, Gary Chambers >> >> > <[hidden email]> wrote: >> >> > Fine for me spanned over two monitors (World extent 3580@1014) in >> >> > Vista. >> >> > >> >> > Note that there is a shorter message form for setting the background >> >> > image: >> >> > >> >> > World backgroundImage: (ImageReadWriter formFromFileNamed: >> >> > 'pharoBackground.png') layout: #scaled >> >> > >> >> > Alternatively, as before, having a .jpg file in your image/changes >> >> > directory with the name matching the theme name will load upon theme >> >> > change >> >> > (Watery 2.jpg for instance) >> >> > >> >> > It would be really cool a chaper in http://book.pharo-project.org/ >> >> > about "Customizing your own image" >> >> > and we put there all these little and nice tricks. >> >> > >> >> > >> >> > Regards, Gary >> >> > >> >> > ----- Original Message ----- From: "Stéphane Ducasse" >> >> > <[hidden email]> >> >> > To: <[hidden email]> >> >> > Cc: "A friendly place where any question about pharo is welcome" >> >> > <[hidden email]> >> >> > Sent: Thursday, May 13, 2010 7:44 PM >> >> > Subject: Re: [Pharo-project] Help testing Pharo 1.1 in big screens! >> >> > >> >> > >> >> > >> >> > On my 30 inches screen >> >> > opening in full show some little square due to the limit of the png >> >> > :) >> >> > >> >> > Thanks mariano. >> >> > >> >> > >> >> > On May 13, 2010, at 8:39 PM, Mariano Martinez Peck wrote: >> >> > >> >> > Hi folks. I re-try (yes, yes, I re-insist hahaha) to have a >> >> > background >> >> > picture for the PharoDev 1.1. The last time I tried, we had a problem >> >> > with >> >> > the picture because in big screens instead of making it bigger, it >> >> > put it >> >> > several times, or it cut it. Now, thanks to Gary, it should work >> >> > well. >> >> > >> >> > So, if you are a lucky guy an have a big screen, can you please take >> >> > the >> >> > latests PharoCore 1.1 image, for example this: >> >> > >> >> > >> >> > >> >> > https://gforge.inria.fr/frs/download.php/26995/PharoCore-1.1-11357-UNSTABLE.zip >> >> > >> >> > >> >> > How to test it ? >> >> > >> >> > - Download this in the same directory where the .image is: >> >> > https://gforge.inria.fr/frs/download.php/26996/pharoBackground.png >> >> > >> >> > Then evaluate: >> >> > >> >> > World backgroundMorph: >> >> > ((UITheme builder >> >> > newAlphaImage: (ImageReadWriter formFromFileNamed: >> >> > 'pharoBackground.png') help: nil) >> >> > autoSize: false; >> >> > layout: #scaled; >> >> > lock) >> >> > >> >> > >> >> > What to test ? >> >> > >> >> > - You should stretch the pharo image, make it very big, and the >> >> > background picture should stretch also together with the image. >> >> > - If you notice a performance decrease with it (I don't think so) >> >> > - If you like it or not. >> >> > - If the resolution is good enough in big screens >> >> > >> >> > >> >> > Thanks! >> >> > >> >> > Mariano >> >> > >> >> > >> >> > _______________________________________________ >> >> > Pharo-project mailing list >> >> > [hidden email] >> >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> >> > >> >> > >> >> > _______________________________________________ >> >> > Pharo-project mailing list >> >> > [hidden email] >> >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> >> > >> >> > >> >> > _______________________________________________ >> >> > Pharo-project mailing list >> >> > [hidden email] >> >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> >> > >> >> > _______________________________________________ >> >> > Pharo-project mailing list >> >> > [hidden email] >> >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> >> >> >> >> >> _______________________________________________ >> >> Pharo-project mailing list >> >> [hidden email] >> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > >> > >> > _______________________________________________ >> > Pharo-project mailing list >> > [hidden email] >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > >> >> >> >> -- >> Best regards, >> Igor Stasenko AKA sig. >> >> _______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Igor Stasenko
argh this is late but we have to try that now :)
On May 15, 2010, at 11:48 PM, Igor Stasenko wrote: > [ > > [[ > | rx str url form | > str := (HTTPSocket httpGet: > 'http://www.socwall.com/browse/index.php?wpSortby=8') contents. > rx := '.*(http\://.+tb_.+\.jpg).*' asRegex. > url := (rx matches: str) > ifTrue: [ > str := (rx subexpression: 2) > copyWithRegex: 'tb_' matchesReplacedWith: '' ] > ifFalse: [ nil ]. > form := nil. > url ifNotNil: [ > form := ImageReadWriter formFromStream: (HTTPSocket httpGet: url). > World backgroundImage: form layout: #scaled > ]. > > 1 minute asDelay wait. > ] on: Error do: [:ex| ] ] repeat. > > ] newProcess name: 'Random background changer'; priority: Processor > userBackgroundPriority; resume _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |