From de77826633fc128b915e999a9adf10f088b4d3f3 Mon Sep 17 00:00:00 2001 From: foswret Date: Thu, 11 Dec 2025 20:22:55 -0600 Subject: added src/, updated README.md --- color.h | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 color.h (limited to 'color.h') diff --git a/color.h b/color.h deleted file mode 100644 index e2b4cc0..0000000 --- a/color.h +++ /dev/null @@ -1,18 +0,0 @@ - int set_color(cairo_t *c, char *str) { - if (strcmp("BLACK", str) == 0) { - cairo_set_source_rgb (c, 0.0, 0.0, 0.0); - } - if (strcmp("RED", str) == 0) { - cairo_set_source_rgb (c, 255.0, 0.0, 0.0); - } - if (strcmp("GREEN", str) == 0) { - cairo_set_source_rgb (c, 0.0, 255.0, 0.0); - } - if (strcmp("BLUE", str) == 0) { - cairo_set_source_rgb (c, 0.0, 0.0, 255.0); - } - if (strcmp("GREY", str) == 0) { - cairo_set_source_rgb (c, 128.0, 128.0, 128.0); - } - return(0); - } -- cgit v1.2.3