Repository navigation
SkinKit 0.6.0
Everything merged since 0.5.0.
New
- Built-in TVs lay out for the screen's shape.
TVBezelCanvas.size(display:seat:)gives a canvas with the display's proportions (4:3 to 2.4:1) for aTVBezelSeat(Back, Middle, Front), andTVBezelArtwork,TVBezelSceneandTVBezelShadertake it, so a TV fills an iPad or a phone with no bars and no cropped cabinet (#158). - The plain-image path does the same:
TVBezelLayout,TVBezelPlainArtwork,TVBezelArtworkViewandTVBezelStagetake a seat or canvas (#159). - All seven bundled TVs are re-laid out for it. Living Room TV and Flat Tube TV drop their speakers, and Dorm TV its posters, where the screen is too narrow for them.
Compatibility
- Every new parameter is optional and defaults to the fixed 1920x1080 scene, so existing callers build and look as before. From the back seat at 16:9 each TV's artwork is identical to 0.5.0.
TVBezelShader.geometryValues(tubeAspect:tubeHeightFraction:)still assumes a 16:9 scene; use thetubeHeightOverSceneWidthform for any other canvas.