nononoâ¦. Iâm not the guy behind that code! I just made some adapts to make it work (probably in the time of FileSystem migration and Eclipse icon set) but I do not take responsibility of it⦠in the good and (specially) in the bad :) ahh⦠and I also move them to instance side (all logic of those classes were in class side, making the idea of âexchangeâ a bit⦠difficult)
On 24 Nov 2014, at 17:37, kilon alios <kilon.alios@gmail.com> wrote:
ok I see also you are the guy behind the code. So now I know who to blame.
By looking at the code it looks like it requires the size of the icon to be 64x64 and createIconMethodsFromFile reads a png file containing the icon and uses base64ContentsofFileNamed to create the string that contains the contents of the png icon file.
Looks easy enough, clean code too. Apart from base64ContentsOfFileNamed: comment " "Private - convenient method"" :D at least you bother to comment.
I dont understand this comment "self exportAllIconsAsGif" in the same name method, are the comments automatically generated this comments looks strange.
that might be a remaining of older methods :/ Esteban
On Mon, Nov 24, 2014 at 4:11 PM, Esteban Lorenzano <estebanlm@gmail.com <mailto:estebanlm@gmail.com>> wrote: look in
ThemeIcons around âprivate - utilitiesâ protocol.
Esteban
On 24 Nov 2014, at 14:55, kilon alios <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>> wrote:
Hey guys any idea how to import a icon inside pharo and how to use it ? I have seen that pharo uses a sort of string representation of the icon image . Anyone has experience with this ?