On Mon, Jul 4, 2011 at 12:18 AM, Fernando Olivero
<[email protected]>wrote:

> Nice!, i've added your script to the framework.
>
> You can try it load the latest version and  evaluate:
>
> oxygen := ExternalIconFamily named:'Oxygen' .
> oxygen openNamedIcons .
>
> Regarding the future integration, i still don't know how to handle the
> imported icon data.
> Once an icon family has been imported (of course only a subset of the
> whole family can be filtered using the importer), the size is quit big
> to version in monticello, as a package.
>

Yes. For some icons of TWMBar I just use Morphic to build them. Look for
example at TWMBar>>bottomIcon and TMWBar>>iconSubmorphBounds:

As icons are generally built from vectorial image, they usually can be
exported in SVG.  I wonder if a SVG to Morphic importer exists. Would be
nice because we could have scalable icons without the size problem.




> pd: Remember you can also try
> oxygen := ExternalIconFamily named:'Oxygen' .
> oxygen openAllIcons .
>


I've tried it but I could not see all icons.
I've tried to use GeneralScrollPane in my script but I did not manage to
make it work well.

Laurent.


>
> On Sun, Jul 3, 2011 at 8:53 PM, laurent laffont
> <[email protected]> wrote:
> > Hi Fernando,
> > Thanks for help.
> > I've looket at ExternalIconFamily.  There will be something like
> > ConfigurationOfOxygen for easier integration ?
> > I've written this to look at oxygen icons:
> > | builder names icons |
> > builder := UITheme builder.
> > names := (Set
> > newFrom:
> > (ExternalIconFamilyOxygen loadedIconNames
> > collect: [ :each | ExternalIconFamilyOxygen uniqueInstance
> > iconNameWithoutSizeFrom: each asString ])) asArray sorted.
> > icons := (builder
> > newRow:
> > (names
> > collect: [ :anIconName |
> > (builder
> > newColumn:
> > {(builder newImage: (ExternalIconFamilyOxygen uniqueInstance iconNamed:
> > anIconName size: 32)).
> > (builder newLabel: anIconName)})
> > width: 40;
> > cellPositioning: #center;
> > layoutInset: 20 ])) wrapDirection: #topToBottom.
> > (icons openInWindowLabeled: 'Oxygen') extent: 800 @ 600
> >
> > Laurent.
> >
> > On Fri, Jul 1, 2011 at 8:15 AM, Fernando Olivero <
> [email protected]>
> > wrote:
> >>
> >> For the icons, you can use the external icon family importer i did
> >>
> >> Gofer it squeaksource: 'MetacelloRepository'; package:
> >> 'ConfigurationOfExternalIconFamily'; load.
> >> (Smalltalk globals classNamed: 'ConfigurationOfExternalIconFamily')
> >> perform: #load.
> >>
> >> The attached file has a subset of Oxygen already imported.
> >> | file |
> >> file := FileDirectory default fileNamed: 'ExternalIconFamilyOxygen.st'.
> >> file fileIn.
> >>
> >>
> >> You can sample them evaluating: 'ExternalIconFamilyOxygen openAllIcons'.
> >>
> >> To learn more look at 'http://www.squeaksource.com/ExternalIconFamily'.
> >> I plan to eventually integrate nicer icons into Pharo1.4 using this
> >> toolset.
> >>
> >> As an example of how to use them, take a look at the new
> >> TranscriptMorph's in Pharo1.4. Till a the external icon toolset is
> >> integrated, i'm just copying and pasting the icon's contents, clearly
> >> a better solution is needed.
> >>
> >>
> >> Fernando
> >>
> >>
> >> On Wed, Jun 29, 2011 at 11:08 PM, laurent laffont
> >> <[email protected]> wrote:
> >> > Now in TWM
> >> > - shortcuts work with multiple world
> >> > - you can event switch to next world with Meta w, Meta w
> >> > May be someone has nice icons for the bar ?
> >> >
> >> > How I load my Pharo "desktop" in last 1.3 :
> >> > Gofer it
> >> > squeaksource: 'TilingWindowManager';
> >> > package: 'ConfigurationOfTilingWindowManager';
> >> > load.
> >> >
> >> > (Smalltalk at:#ConfigurationOfTilingWindowManager) loadDevelopment.
> >> > (ConfigurationOfAutotest project version: #development) load.
> >> >
> >> > (Smalltalk at:#TWMUITheme) beCurrent.
> >> > TaskbarMorph showTaskbar: false.
> >> > TasklistMorph keepOpen: true.
> >> > (Smalltalk at:#TWMBar) perform:#showTWMBar: with:true.
> >> > AutotestDashboard showAutotestDashboard: true.
> >> > Cheers,
> >> > Laurent Laffont - @lolgzs
> >> >
> >> > Pharo Smalltalk Screencasts: http://www.pharocasts.com/
> >> > Blog: http://magaloma.blogspot.com/
> >> > Developer group: http://cara74.seasidehosting.st
> >> >
> >
> >
>

Reply via email to