Quoting Quentin Mathé <[EMAIL PROTECTED]>: > Le 24 nov. 05 à 01:40, Nicolas Roard a écrit : > > > On 11/23/05, Sa�o Kiselkov <[EMAIL PROTECTED]> wrote: > > > >> Quoting Quentin Mathé <[EMAIL PROTECTED]>: > >> > >> What I think you could reuse is the OpenSpaceWidgets framework. It > >> contains > >> useful widgets such as: > >> - OSIcon (icon with an image and auto-sizing label) > >> - OSIconView (an icon container) > >> etc. They take care of much of the boring work in a file manager > >> (such as keep > >> correct layouts, keep the widgets in place when things change, > >> auto-layout, > >> dragging support, etc.)). > > > > yep. We have uli's view in svn though ? > > Yes, it is made of two classes UKDistributedView and > UKFinderIconCell, I may change these names later, but I'm planning to > favor these classes over OSIcon and OSIconView because they offer > more features and are mostly working on GNUstep (except drag and drop > which still needs to be fixed). > They are available in EtoileExtensionsKit : <http://svn.gna.org/ > viewcvs/etoile/trunk/Etoile/Frameworks/EtoileExtensionsKit/> > There is a demo example here : <http://svn.gna.org/viewcvs/etoile/ > trunk/Etoile/Developer/Examples/DistributedViewExample/> > > However I remember to have seen other interesting classes in > OpenSpace for Étoilé. > > Quentin. > > -- > Quentin Mathé > [EMAIL PROTECTED] >
There's three more interresting view classes in the OpenSpaceWidgets framework: - OSDateView - shows the typical NeXT-ish clock with a specified date in it. This can be used for consistency, since it was often used throughout NeXT apps (such as Workspace Manager, Mail, etc.) - OSShelfView - displays the typical Workspace Manager's shelf where the user can pin often used files as references. Perhaps having a tabbed shelf which can hold arbitrary contents, not just files, would be much more beneficial. - OSPathView - the view inside the workspace manager which displays icons like the scroll view just below the shelf in the following screenshot: http://www120.pair.com/mccarthy/nextstep/intro.htmld/fv1.gif They are all, however, quite relying on having all the rest of the framework available, so adapting them to use some other icon class and other layout mechanisms might be somewhat cumbersome. -- Saso
