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: an integer containing the color definition

Meta