If you want to have own icons in OB Browser then
you can easily use:
| image stream |
image := ColorForm fromFileNamed: '/path/to/icon.gif'.
stream := WriteStream with: String new.
image storeOn: stream.
stream contents inspect
to get the form and put the generated code as an extension method on
class OBMorphicIcons to implement #browserIcon returning the selector
in your own class. Typical icon size in OB is 12x12 (*).
See Exception class>browserIcon and OBMorphicIcons>>exception
for an example in a dev-image.
* I dont like the small 12x12 size since typical icons size
on Win for small icons is 16x16 - but one can use the free
IconFX tool to smoothly shrink them
Bye
T.
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter
http://portal.gmx.net/de/go/maxdome01_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project