Types and conversions exported by all modules of nim-csfml
BoolInt = distinct cint
-
CSFML uses cint as bool
RuneU32 = distinct uint32
-
CSFML uses uint32 for Unicode characters
StringU32 = ptr RuneU32
-
CSFML uses uint32* for Unicode strings
BitMaskU32 = distinct uint32
-
CSFML uses uint32 for bitmask enum arguments
proc utf8to32(s: string): seq[RuneU32]
-
Converts a UTF-8 string to a zero-terminated sequence of Runes
proc `|`(a, b: BitMaskU32): BitMaskU32
-
Operator for combining two bitmask values
converter toBool(x: BoolInt): bool
-
Converts BoolInt to bool
converter toBoolInt(x: bool): BoolInt
-
Converts bool to BoolInt
converter toRuneU32(x: Rune): RuneU32
-
Converts Rune to RuneU32
converter toRune(x: RuneU32): Rune
-
Converts RuneU32 to Rune