From c2cf6b494d1e5535f3c0a4b7ec5c742cfc95ae5f Mon Sep 17 00:00:00 2001 From: CircleShift Date: Thu, 19 Jun 2025 21:04:03 -0400 Subject: Radio group --- scripts/gui-common/color.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/gui-common/color.js') diff --git a/scripts/gui-common/color.js b/scripts/gui-common/color.js index eae3971..489096a 100644 --- a/scripts/gui-common/color.js +++ b/scripts/gui-common/color.js @@ -1,3 +1,5 @@ +'use strict'; + class Color { /** @type {Array} */ @@ -227,6 +229,8 @@ const BLUE = new Color(0, 0, 1, 1); const MAGENTA = new Color(1, 0, 1, 1); const WHITE = new Color(1, 1, 1, 1); const BLACK = new Color(0, 0, 0, 1); +const TRANSPARENT_WHITE = new Color(1,1,1,0); +const TRANSPARENT_BLACK = new Color(0,0,0,0); const PI_THIRDS = Math.PI / 3; const TWO_PI = Math.PI * 2; -- cgit v1.2.3