Debug.constructWinColor

Constructs an integer that can be used for getting the desired color in windows' terminals (cmd.exe). As there is no mean to underline, we simply ignore this attribute.

This function returns 0 on non-windows machines.

struct Debug
static
int
constructWinColor
()

Parameters

colorinfo uint

the color info

Return Value

Type: int

an integer containing the color definition