On 2003-06-22 23:45:55 +0000 Enrico Sersale <enrico@dtedu.net> wrote:
Two question: in the screenshot there is a file viewer that uses a browser >with icons in the
matrix cells; is it my browser with "styleMask |= >GWIconCellsMask" or something
else? And I see that you have icons of .jpg >files that show a preview of the image. How do you
get this?
Well that was a small hack on NSApplication, to return a cached thumbnail
(same principle as .xvpics) instead of the standard icon if it existed. I'm not
sure it was better to modify NSApplication instead of only GWorkspace icon
view...
there was an advantage though, the image was shown everywhere (i.e, dnd the
image on the panel show the image on the panel, which is quite cool).
The idea was to have a service to generate thoses cached thumbnails, or perhaps
modifying GWorkspace to do that automatically, but I didn't had the time...
so... :-)