Monochrome: Richard Dawkins Blind Watchmaker |
Unit User_Interface
Description
(v1.1 Sept 1993. Added Suspend/Resume events Added command key handling Split activate/deactivate event handling New menu item -> hide windows in background Save screen if hiding windows, otherwise don't - speed up context switching Enabled desk accessories Added bad disk handling Split up HandleMenu proc into several procedures - one per menu Added named constants for menu items (so ordinary mortals like me can read this!) All file operations converted to Mac file manager calls DLOGs for DireMessages changed to Alerts, conforming to Apple's HIG Removed Repeat/Until loops around save changes alerts Removed many unused variables, and restricted USE of other units Added auto positioning of dialogs and alerts under System 6 (urgh). Added auto position to resources for System 7 Saving files in same folder as file with same name now removes old file, even if open (not sure of the wisdom of this, though) ——————————————————————————————- TO DO Check out other dialogs, some of them should be alerts (done) Offscreen bitmaps: 1. Save only rect of dialog or alert 2. Don't save screen before switching out (makes response sluggish - Apple says don't do it 3. Change DoUpdate so that it draws normally if no offscreen saved 4. Remove spurious calls to StoreOffScreen 5. Disentangle activate and update event handling Restrict window size, and allow users to change size. Option: leave space for disk icons Add support for a least the required set of Apple Events ) UsesOverviewFunctions and Procedures
DescriptionFunctions and Procedures
Generated by PasDoc 0.14.0. |