I'd like to interact with Quartz and/or Core Image libraries on the Mac. Does anybody have experience with this from VisualWorks?
I only need to interact with the file system, showing thumbnails of image files (possibly many of them, so I guess this would be performant only using the native Mac image handling libraries), being able to select them and know the selected file in VW.
Any pointers are appreciated.
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Am 01.10.2009 um 12:37 schrieb Rob Vens:
> I'd like to interact with Quartz and/or Core Image libraries on the > Mac. Does anybody have experience with this from VisualWorks? > I only need to interact with the file system, showing thumbnails of > image files (possibly many of them, so I guess this would be > performant only using the native Mac image handling libraries), > being able to select them and know the selected file in VW. You could simply use a native file dialog. This even offers cover flow, filtering and sorting at no extra cost. Use OjectiveCConnect to connect to class NSFileOpenPanel. Andre _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
sounds like an interesting approach. I do not want a modal dialog however, but a constantly open view of the filesystem, and knowing in Smalltalk which file(s) are selected, and from within Smalltalk modify the file names or copy and move files.
The most ideal would be (I guess) to embed the NSFileOpenPanel in a Smalltalk window. Don't know if that will work and how to achieve it. I have done this extensively on Windows but never on Mac. I will try to find out how this might work, but if anyone has a bit more examples or information I will be much obliged.
2009/10/1 Andre Schnoor <[hidden email]> Am 01.10.2009 um 12:37 schrieb Rob Vens: _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Am 01.10.2009 um 15:09 schrieb Rob Vens:
> sounds like an interesting approach. I do not want a modal dialog > however, but a constantly open view of the filesystem, and knowing > in Smalltalk which file(s) are selected, and from within Smalltalk > modify the file names or copy and move files. Ah, I see. I do similar things with a customized NSFileOpenPanel implemented with Cocoa (XCode). You may want to compile a framework and link that to Smalltalk via DLLCC. The code isn't cross-platform anyway. In my case the panel notifies Smalltalk about selection changes, then Smalltalk opens the file and displays its properties in the customized accessory view of the panel (the panel stays open all the time). This way I have a native file dialog that allows for browsing files by their content details before opening. However, the native panels are always modal. I don't think you can change that easily. Andre _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |