From 68e8c3bac0363a4a0dec1bf9c5b534283ea9dce7 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 11 Oct 2020 08:19:29 -0400 Subject: graphics: color: Remove 'color' procedure. Use 'make-color' instead. --- chickadee/graphics/color.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/chickadee/graphics/color.scm b/chickadee/graphics/color.scm index 1a0be6d..497ecd3 100644 --- a/chickadee/graphics/color.scm +++ b/chickadee/graphics/color.scm @@ -26,7 +26,7 @@ #:use-module (srfi srfi-9) #:use-module (srfi srfi-1) #:use-module (chickadee math) - #:export (color make-color + #:export (make-color color? color-r color-g color-b color-a rgba rgb transparency string->color @@ -68,9 +68,6 @@ (clamp 0.0 1.0 b) (clamp 0.0 1.0 a)))) -(define-inlinable (color r g b a) - (make-color r g b a)) - (define (color-component color-code offset) "Return the value of an 8-bit color channel in the range [0,1] for the integer COLOR-CODE, given an OFFSET in bits." -- cgit v1.2.3