The Inbox: MorphicExtras-ct.359.mcz
[email protected] Sun, 21 Jun 2026 15:17:16 0000
| Newsgroups | gmane.comp.lang.smalltalk.squeak.general |
|---|---|
| Message-ID | <[email protected]> |
Christoph Thiede uploaded a new version of MorphicExtras to project The Inbox: http://source.squeak.org/inbox/MorphicExtras-ct.359.mcz ==================== Summary ==================== Name: MorphicExtras-ct.359 Author: ct Time: 21 June 2026, 5:17:17.238957 pm UUID: d75a3d53-e9d7-4876-ac99-d6712973ab16 Ancestors: MorphicExtras-ct.358 Revises MorphicExtras-ct.358: Fixes UI glitch in WebCamMorph when no cameras are found. =============== Diff against MorphicExtras-ct.358 =============== Item was changed: ----- Method: WebCamMorph>>addCustomMenuItems:hand: (in category 'menu') ----- addCustomMenuItems: aMenu hand: aHandMorph super addCustomMenuItems: aMenu hand: aHandMorph. aMenu addLine; addUpdating: #cameraToggleString action: #toggleCameraOnOff; add: 'choose device' translated subMenu: ([:menu | CameraInterface cameraDevices withIndexDo: [:name :number | name ~= #'<unavailable>' ifTrue: [menu add: (number = self cameraNumber ifTrue: ['<on>'] ifFalse: ['<off>']), name selector: #cameraNumber: argument: number]]. + menu items ifEmpty: + [menu add: '(no devices found)' translated action: nil]. menu] value: (aMenu class new defaultTarget: aMenu defaultTarget)); addLine; add: 'resolution' translated subMenu: ([:menu | WebCamResolution resolutions do: [:res | menu add: (resolution == res ifTrue: ['<on>'] ifFalse: ['<off>']), res translated selector: #setWebCamResolution: argument: res]. menu] value: (aMenu class new defaultTarget: aMenu defaultTarget)); add: 'orientation' translated subMenu: ([:menu | WebCamOrientation orientations do: [:ori | menu add: (orientation == ori ifTrue: ['<on>'] ifFalse: ['<off>']), ori translated selector: #setWebCamOrientation: argument: ori]. menu] value: (aMenu class new defaultTarget: aMenu defaultTarget)); addUpdating: #frameSizeToggleString action: #toggleUseFrameSize; addUpdating: #showFPSToggleString action: #toggleShowFPS; yourself ! Squeak-dev mailing list -- [email protected] To unsubscribe send an email to [email protected]