Skip to content

SkinKit 0.6.0

Choose a tag to compare

@JoeMatt JoeMatt released this 23 Nov 10:40
85d7a9d

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 a TVBezelSeat (Back, Middle, Front), and TVBezelArtwork, TVBezelScene and TVBezelShader take 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, TVBezelArtworkView and TVBezelStage take 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 the tubeHeightOverSceneWidth form for any other canvas.