aboutsummaryrefslogtreecommitdiff
path: root/color.h
diff options
context:
space:
mode:
authorfoswret <foswret@posteo.com>2025-12-11 20:22:55 -0600
committerfoswret <foswret@posteo.com>2025-12-11 20:22:55 -0600
commitde77826633fc128b915e999a9adf10f088b4d3f3 (patch)
tree65cbe77d7c04cc7fc3bb84a64e6b80889675a0d8 /color.h
parent0ea73247a8ba4036567a9dc28b6133d4b58507b3 (diff)
added src/, updated README.md
Diffstat (limited to 'color.h')
-rw-r--r--color.h18
1 files changed, 0 insertions, 18 deletions
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);
- }