[Pharo-project] Latest Polymorph
siguctua at gmail.com
Sun Feb 7 11:15:46 EST 2010
On 7 February 2010 14:32, Richard Durr <richard.durr at googlemail.com> wrote:
> Would'nt it be possible to set the background color to transparent so
> that you could have squeak windows directly on the desktop?
No. At least on Windoze(tm) this is not possible without substantional
changes in VM.
> On Thu, Feb 4, 2010 at 9:28 PM, Stéphane Ducasse
> <stephane.ducasse at inria.fr> wrote:
>> soon in 1.1 :)
>> On Feb 4, 2010, at 1:31 PM, GARY CHAMBERS wrote:
>>> There is a new version of Polymorph on SqueakSource (Polymorph-Widgets-gvc.103) that supports a background morph for the world that resizes with the main window.
>>> I guess the backgroundSketch/Form stuff can be removed (I reused the backgroundMorph inst var - no direct way of setting did remain, accessors now).
>>> This can be used for background images (as requested):
>>> World backgroundMorph:
>>> ((UITheme builder
>>> newAlphaImage: (ImageReadWriter formFromFileNamed: 'Watery 2.jpg') help: nil)
>>> autoSize: false;
>>> layout: #scaled;
>>> (AlphaImageMorph supports a few layout positions/tiling/scaling, more could be added like aspect-maintaining scaling etc.)
>>> Or could be helpful for deployed applications... set the background morph to your main UI morph, for instance.
>>> Regards, Gary
>>> Pharo-project mailing list
>>> Pharo-project at lists.gforge.inria.fr
>> Pharo-project mailing list
>> Pharo-project at lists.gforge.inria.fr
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
Igor Stasenko AKA sig.
More information about the Pharo-dev