adjust lesbian flag colors

This commit is contained in:
Valerie Wolfe 2024-03-23 11:48:09 -04:00
parent 67a1f48f2f
commit 0211e2df20
4 changed files with 19 additions and 19 deletions

16
basic.c
View file

@ -5,7 +5,7 @@
#include "draw.h"
void rainbow_8() {
color colors [] = {
const color colors [] = {
RED,
L_RED,
L_YELLOW,
@ -17,7 +17,7 @@ void rainbow_8() {
}
void aroace_8() {
color colors [] = {
const color colors [] = {
YELLOW,
L_YELLOW,
WHITE,
@ -28,7 +28,7 @@ void aroace_8() {
}
void bisexual_8() {
color colors [] = {
const color colors [] = {
RED,
RED,
MAGENTA,
@ -39,7 +39,7 @@ void bisexual_8() {
}
void gay_8() {
color colors [] = {
const color colors [] = {
CYAN,
L_CYAN,
WHITE,
@ -50,7 +50,7 @@ void gay_8() {
}
void lesbian_8() {
color colors [] = {
const color colors [] = {
RED,
L_RED,
WHITE,
@ -61,7 +61,7 @@ void lesbian_8() {
}
void nonbinary_8() {
color colors [] = {
const color colors [] = {
L_YELLOW,
WHITE,
MAGENTA,
@ -71,7 +71,7 @@ void nonbinary_8() {
}
void pansexual_8() {
color colors [] = {
const color colors [] = {
MAGENTA,
MAGENTA,
L_YELLOW,
@ -83,7 +83,7 @@ void pansexual_8() {
}
void transgender_8() {
color colors [] = {
const color colors [] = {
L_CYAN,
L_MAGENTA,
WHITE,

2
draw.c
View file

@ -2,7 +2,7 @@
#include <stdio.h>
void draw(unsigned short int len, color colors []) {
void draw(const unsigned short int len, const color colors []) {
for(int i = 0; i < len; i++) {
printf(ANSI "%dm" STRIPE, colors[i]);
}

2
draw.h
View file

@ -6,5 +6,5 @@
typedef unsigned short int color;
void draw(unsigned short int len, color colors[]);
void draw(const unsigned short int len, const color colors[]);

18
full.c
View file

@ -5,7 +5,7 @@
#include "draw.h"
void rainbow_256() {
color colors [] = {
const color colors [] = {
196, // red
208, // orange
220, // yellow
@ -17,7 +17,7 @@ void rainbow_256() {
}
void aroace_256() {
color colors [] = {
const color colors [] = {
172, // orange
184, // yellow
255, // white
@ -28,7 +28,7 @@ void aroace_256() {
}
void bisexual_256() {
color colors [] = {
const color colors [] = {
161, // magenta
161,
91, // purple
@ -39,7 +39,7 @@ void bisexual_256() {
}
void gay_256() {
color colors [] = {
const color colors [] = {
29,
49, // greens
123,
@ -52,18 +52,18 @@ void gay_256() {
}
void lesbian_256() {
color colors [] = {
const color colors [] = {
202, // orange
209, // tangerine
255, // white
134, // pink
205, // pink
161 // magenta
};
draw(5, colors);
}
void nonbinary_256() {
color colors [] = {
const color colors [] = {
226, // yellow
255, // white
134, // purple
@ -73,7 +73,7 @@ void nonbinary_256() {
}
void pansexual_256() {
color colors [] = {
const color colors [] = {
161, 161, // magenta
220, 220, // yellow
45, 45 // cyan
@ -82,7 +82,7 @@ void pansexual_256() {
}
void transgender_256() {
color colors [] = {
const color colors [] = {
45, // blue
213, // pink
255, // white