From 8623827d7cb71fd6f6337842ac5d3ccd8ffd6e5b Mon Sep 17 00:00:00 2001 From: Valerie Date: Sat, 23 Mar 2024 00:44:40 -0400 Subject: [PATCH] updated bigender and genderfluid flags to use new draw function --- basic.c | 30 ++++++++++++++++-------------- full.c | 30 ++++++++++++++++-------------- 2 files changed, 32 insertions(+), 28 deletions(-) diff --git a/basic.c b/basic.c index 88b0fc6..447169d 100644 --- a/basic.c +++ b/basic.c @@ -28,13 +28,14 @@ void aroace_8() { } void bigender_8() { - printf( - L_RED STRIPE - L_YELLOW STRIPE - WHITE STRIPE - MAGENTA STRIPE - L_BLUE STRIPE - ); + color colors [] = { + L_RED, + L_YELLOW, + WHITE, + MAGENTA, + L_BLUE + }; + draw(5, colors); } void bisexual_8() { @@ -60,13 +61,14 @@ void gay_8() { } void genderfluid_8() { - printf( - L_RED STRIPE - WHITE STRIPE - MAGENTA STRIPE - BLACK STRIPE - BLUE STRIPE - ); + color colors [] = { + L_RED, + WHITE, + MAGENTA, + BLACK, + BLUE + }; + draw(5, colors); } void lesbian_8() { diff --git a/full.c b/full.c index 446ac96..cbd19b1 100644 --- a/full.c +++ b/full.c @@ -28,13 +28,14 @@ void aroace_256() { } void bigender_256() { - printf( - COLOR(204) STRIPE - COLOR(227) STRIPE - COLOR(255) STRIPE - COLOR(134) STRIPE - COLOR(69) STRIPE - ); + color colors [] = { + 204, // pink + 227, // yellow + 255, // white + 134, // purple + 69 // blue + }; + draw(5, colors); } void bisexual_256() { @@ -62,13 +63,14 @@ void gay_256() { } void genderfluid_256() { - printf( - COLOR(204) STRIPE - COLOR(255) STRIPE - COLOR(164) STRIPE - COLOR(16) STRIPE - COLOR(63) STRIPE - ); + color colors[] = { + 204, // pink + 255, // white + 164, // purple + 16, // black + 63, // blue + }; + draw(5, colors); } void lesbian_256() {