Skip to content

Add the guest's control record, checked against Mac OS 9.2.2 - #76

Merged
colemancda merged 7 commits into
masterfrom
feature/control-record
Dec 3, 2026
Merged

colemancda merged 7 commits into
masterfrom
feature/control-record

Conversation

@colemancda

Copy link
Copy Markdown
Member

Programs read control records themselves, so a host needs them laid out as Mac OS laid them out. BBEdit Lite 6.1 makes two scroll bars for its text window.

  • ReferenceTests/Retro68/ControlRecordCapture.c and its capture from Mac OS 9.2.2 record a scroll bar's record, the window's control list, and how the show, highlight, value, range, move, size, title and dispose calls change them; the Retro68 README describes it.
  • GuestControlRecord is the record's bytes: 40 bytes of fields and the title.
  • A scroll bar's value now moves into a changed minimum or maximum, and to a maximum below the minimum, as captured. Other kinds of control are unchanged.

On the capture machine both scroll arrows sat at the bottom of the bar, which is a user setting; StandardControlDefinition still keeps one at each end. Parts and drawing are not replayed by the tests.

swift test passed locally on macOS. swift-pef's bluebox uses these; its change follows once this is merged.

@colemancda
colemancda merged commit a993418 into master Dec 3, 2026
3 checks passed
@colemancda
colemancda deleted the feature/control-record branch December 3, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant