sokol/letterbox

sokol_letterbox

Types

4

Anchor

Anchor :: enum i32 { CENTER = 0, TOP = 1, BOTTOM = 2, LEFT = 3, RIGHT = 4, }Source

Anchor the content to a side. The default is to center the content. Used in slbx_letterbox_desc.

Border

Border :: struct { left: c.int, right: c.int, top: c.int, bottom: c.int, }Source

Defines a 'safe border' in pixels. Used as nested struct in slbx_letterbox_desc.

Constants

4

Reference search

Find anything

Documentation preferences

Settings

System theme variants

Used only while Theme is set to System.