Peter, I have updated the help based on your icon factory. Your code is very 
easy to use, and it is available from the catalog. Pretty cool!
https://pharo.fogbugz.com/f/cases/17291/The-ImportingResourceHelp-has-to-be-updated

The monkey will go over it soon I guess.

In case you wish to improve it, it would be great to have a resize function :-)

Cheers,
Alexandre


> On Dec 22, 2015, at 12:01 PM, Peter Uhnák <[email protected]> wrote:
> 
> Look at IconFactory http://smalltalkhub.com/#!/~peteruhnak/IconFactory
> 
> On Tue, Dec 22, 2015 at 2:11 PM, Alexandre Bergel
> <[email protected]> wrote:
>> Hi!
>> 
>> A couple of month ago the following expression was working:
>> ThemeIcons new createIconMethodsFromFile: 'cube' directory: 
>> '/Users/alexandrebergel/Desktop/cube’
>> 
>> Now it does not. How can I import .png files in Pharo?
>> 
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>> 
>> 
>> 
>> 
> 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply via email to