4 ms·
This article includes nice tours of SunView and OpenWindows. Note that all screenshots are in monochrome. SunView on color monitors looks the same except for
by neilv 4y ago
This article includes nice tours of SunView and OpenWindows.
Note that all screenshots are in monochrome. SunView on color monitors looks the same except for spot colors. But Open Look on color monitors switched from the crisp monochome line art here, to using shades of gray for more of a 3D bevel look.
It might bear mention that most of the OpenWindows tools seem to be done using the XView toolkit for the GUI controls, which was pixel-based, and crisp. PostScript of course could do vector drawing, but the vector-rendered Open Look controls didn't match that. When you only have a million pixels to play with, and and it also has to work on a monochrome monitor, pixel control is important for some things. So you might have the pixel-based usual GUI controls, but a subwindow in which you did vector rendering.
One noteworthy OpenWindows thing not mentioned here is that it started to support drag&drop. Tools (programs) had explicit visual drop targets, to indicate that they could receive a drag&drop.
The pinnable menus were an Open Look thing. The idea is that you'd have something like a Mac or Windows menu bar, and user could pin a pull-down/pop-up menu, and drag it to anywhere on their screen, to be like a flexible what later became called a toolbar. (We later saw things like that evolve into dockable toolbars, sometimes including in a return of MDI interfaces (one big window for an application program on the host desktop, and that program manages multiple "document" windows within it and dockable and customizable toolbars and persistent property sheets).)
It's sad that NeWS didn't become bigger. I heard a rumor in the early/mid '90s that Frame had invested in a NeWS-based implementation of FrameMaker, and got the rug pulled out from under them. But at least, as Sun was later dying, Linux and the open source around it (a different beast, but good) arose in its place.
- mhalle 4y agoOne interesting thing about the XView toolkit: it built the entire UI out of fonts (bitmap fonts at the time). It supposedly allowed faster rendering because the fonts were loaded and were server side. I actually used the low layer display layer under XView for some UI projects. Worked great! While I'm here, the other nice thing about programming in SunView (and later XView) was the use of varargs call patterns to build UI elements. Early X development, as I recall, was significantly more verbose than the Sun equivalent, though probably more type safe. The *View APIs felt a little more like today's high level languages.
- neilv 4y agoI loved the SunView and XView elegant use of varargs for properties. GTK+ seemed a bit like that, but got more complicated. Sun also had a nice add-on graphics library for XView called Slingshot. It might have my first-ever open source contribution (just a bug fix).
- jhbadger 4y agoI really liked the XView toolkit. For a while it had a second life on Linux after Sun dropped it as it later was released as open source. But it had a lot of things in it that assumed a 32-bit system and so basically died when everyone went to 64-bit. In theory it could be patched, but I don't think anyone cares enough about it to do that these days.
- kragen 4y agoI think a few people claim to have done it, for example https://github.com/ggodd/xview-64bit https://github.com/ggodd/xview-64bit.