Add "transparent" to html color list

develop
Nimetu 3 years ago
parent 5d4a04169b
commit 2e816ddf6e

@ -628,6 +628,12 @@ namespace NLGUI
return false;
}
if (nlstricmp(src, "transparent") == 0)
{
dest = CRGBA::Transparent;
return true;
}
{
// slow but should suffice for now
for(uint k = 0; k < sizeofarray(htmlColorNameToRGBA); ++k)

Loading…
Cancel
Save