discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: icon previews?


From: Sebastian Reitenbach
Subject: Re: icon previews?
Date: Sun, 05 Jun 2011 14:41:44 +0200
User-agent: SOGoMail 1.3.7

 
On Sunday, June 5, 2011 13:42 CEST, Riccardo Mottola <address@hidden> wrote: 
 
> Hi,
> > not only for images. everything. can the gworkspace preview be
> > extended so external preview generator/thumbnailer can provide the
> > icon? im kinda tired of looking at filenames and icons that all look
> > the same. and even tired of waiting for applications to load the
> > document only to close it when its not what im looking for.
> I have no intention to extend the previewer in that direction, I explain 
> below the difference. To have a quick preview of a document, I consider 
> the contents inspector enough. The contents inspector is extensible and 
> already supports the preview of RTF files, PDF files, addresses, sound 
> files. Other previews are possible and some are "work in progress".
> > on the other hand im writing a clone of the mac os 7 finder and i just
> > want to look for ideas how to add previews as quickly as possible
> You could use the contents inspector plugins, however there is a 
> fundamental difference in the concept: the icon preview can only show 
> images, the content preview can show everything since it embeds a small 
> user interface.
> Thus for example you could not preview a sound in an icon preview (well, 
> you could draw its wave envelope). To preview a RTF text you need to 
> render it. A PDF could show the first page (while the contents inspector 
> allows you to browse it).
If its just that the icons of files shown in the FileViewer of GWorkspace 
should differ, then you can create AppWrappers for your preferred applications.
Take a look in the Apps_wrappers directory to get an idea.

Sebastian



> 
> In other words, one is a NSImage, the other a NSView.
> 
> Riccardo
> 
> _______________________________________________
> Discuss-gnustep mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
 
 
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]