Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main Page
Community Portal
Village Pump
Recent Changes
Upload File
Help
Help Contents
Editing Guide
Repair Guide Template
Sandbox
Browse Wiki
๐ Service Manuals
๐ Schematics
๐ Apple
๐ฎ Nintendo
๐ Sega
โก Troubleshooting
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Macintosh Toolbox
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Window Manager === The Window Manager handles the window layer abstraction, maintaining a linked list of WindowRecords in front-to-back order: '''WindowRecord Structure (156 bytes):''' <pre> TYPE WindowRecord = RECORD port: GrafPort; {QuickDraw port (108 bytes)} windowKind: INTEGER; {Application or system window} visible: BOOLEAN; {Window visibility flag} hilited: BOOLEAN; {Title bar highlight state} goAwayFlag: BOOLEAN; {Close box present} spareFlag: BOOLEAN; {Reserved} strucRgn: RgnHandle; {Structure region} contRgn: RgnHandle; {Content region} updateRgn: RgnHandle; {Invalid region needing redraw} windowDefProc: Handle; {WDEF resource handle} dataHandle: Handle; {WDEF-specific data} titleHandle: StringHandle; {Window title} titleWidth: INTEGER; {Pixel width of title} controlList: ControlHandle; {Linked list of controls} nextWindow: WindowPeek; {Next window in list} windowPic: PicHandle; {Window picture for updates} refCon: LONGINT; {Application reference} END; </pre> '''Window Definition Procedures (WDEFs):''' System-supplied WDEFs include: * '''WDEF 0''': Document window with title bar and optional close/zoom boxes * '''WDEF 1''': Alert/dialog box with double border * '''WDEF 2''': Plain box without title bar * '''WDEF 4''': Floating window (System 7+) * '''WDEF 16''': Round-cornered window
Summary:
Please note that all contributions to RetroTechCollection may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
RetroTechCollection:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Macintosh Toolbox
(section)
Add topic