SAMPLE CODE: USER INTERFACE
All samples are credited to: Bruce Thompson,
Apple.
This sample provides user prototypes for buttons
that will automatically adjust themselves to obey the user interface guidelines on button
spacing. 2 protos are provided, one for a standalone button (protoAdjustoButton) and one
for clusters of buttons (protoAdjustoClusterButton). The buttons also readjust when their
text values are set using SetValue.
This sample shows how to do application
preferences that follow the Newton 2.0 OS user interface. It provides user proto templates
to help you out. It also shows how to add formulas to the system Formulas application. |