InterfaceStyle.preference is a bundle for Preferences.app, on RDR1.
It adds the possibility to set the default look of the applications on RDR1 by using the NSInterfaceStyle API. It allows you to use some hidden features like NeXTStep window miniaturizing scheme, instead of MacOS shaded windows.
Note: this version can be used only with RDR1, and will probably fail to work as-is with future versions of Rhapsody. The NeXTStep style will disappear in future releases (snif!).
Installation
------------
- Login as root.
- Quit Preferences.app
- Unarchive InterfaceStyle.1.0.PI.b.tgz using the excellent OpenUp.app, or type gnutar -xzf InterfaceStyle.1.0.PI.b.tgz in a terminal.
- Copy InterfaceStyle.preference into /NextLibrary/Preferences/ (or make a link). This is the only place searched by Preferences.app.
- start Preferences.app
Features
--------
Once started, Preferences.app will display a new tile in its scrollview, titled GUI Style. Pressing the tile will display a panel showing:
- a popup which allows you to choose which GUI element you want to modify (Global Interface Style, Window miniaturizing, ...)
- a matrix which allows you to set the style for the chosen GUI element: default, MacOS, NeXTStep or Windows style.
- a textfield displaying a description of the available features for the selected GUI element (when I found any difference...).
- a Reset All button: pressing it will reset all modifications and use the default schemes.
- a Revert button to revert all unsaved modifications.
- a Apply button to save all modifications.
Changes you make cannot apply to running applications, and for some styles, you will probably need to logout/login for them to be applied.
Note that not all styles do work correctly, nor do they have any different effect than the default style.
How it works?
-------------
It simply works by modifying the NSGlobalDomain userDefault domain. It reads/writes some key/value pairs defined by the AppKit. Have a look at the file InterfaceStyles.plist.
Stephane Corthesy
stephane@lysis.ch
****************************
* COPYRIGHT and DISCLAIMER *
****************************
InterfaceStyle is copyright 1998 Stephane Corthesy. I reserve all rights to this piece of software. I take no responsibility for any damage this software, through omission or error, causes. This software is provided as is and with no warranty.