Types - Garland-g/perl6-libui GitHub Wiki

Types

Libui::Types

A set of types used in Libui.

SSIZE_T

Equivalent to C's ssize_t. Can hold integers >= -1.

RGBA

Holds a Numeric between 0 and 1, inclusive.

Align

Holds an Int in the range of 0 to 3.

  • 0: Fill

  • 1: Start

  • 2: Center

  • 3: End

At

Holds an Int in the range of 0 to 3.

  • 0: Left

  • 1: Top

  • 2: Right

  • 3: Bottom