Hi Timothy,
here are some pointers:
MenuIcons perform: (aSymbol, #Icon) asSymbol.
ToolIcons iconNamed: aSymbol.
And of course:
Form >> #scaleIconToDisplay
:-)
Best,
Marcel
Am 26.10.2020 14:51:58 schrieb gettimothy via Squeak-dev <[hidden email]>:
Hi folks
In the Roassal3, I am working through the RSSVGAnimationExamples and several of them get bitmaps via something named Smalltalk ui....
icons := Smalltalk ui icons icons associations sorted: [:a :b | a key < b key].
Another example is in RSSVGAnimatioinExamples new example03Boat open.
pharo := RSBitmap new
form: (self iconNamed: #pharo); <---HERE
yourself.
which is a method in Object that does this:
Object>>iconNamed: aSymbol
^ Smalltalk ui icons iconNamed: aSymbol
Workarounds and hacks greatly appreciated.
thx