aboutsummaryrefslogtreecommitdiff
path: root/fbwarn/src/warn.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fbwarn/src/warn.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/fbwarn/src/warn.c b/fbwarn/src/warn.c
index 1f946cc..1589e48 100644
--- a/fbwarn/src/warn.c
+++ b/fbwarn/src/warn.c
@@ -6,39 +6,39 @@
int main(void) {
char *rectA, *rectB, *rectC, *rectAFree, *rectBFree, *rectCFree, *singleA, *singleB, *singleC;
- rectAFree = rectA = strdup("rectangle (x=0,y=0,\nwidth=100,\nheight=100,\ncolor='#5BCEFA')\n");
+ rectAFree = rectA = strdup("rectangle (x=0,y=0,\nwidth=100,\nheight=100,\ncolor='#9787CFFF',\nfill=true,\nthickness=1.0)\n");
if (rectA == NULL)
return 1;
singleA = multiToSingle(rectA);
free(rectAFree);
- rectBFree = rectB = strdup("rectangle (x=0,y=20,\nwidth=100,\nheight=60,\ncolor='#F5A9B8')\n");
+ rectBFree = rectB = strdup("rectangle (x=0,y=20,\nwidth=100,\nheight=60,\ncolor='#88C2B1FF',\nfill=false,\nthickness=5.0)\n");
if (rectB == NULL)
return 1;
singleB = multiToSingle(rectB);
free(rectBFree);
- rectCFree = rectC = strdup("rectangle (x=0,y=40,\nwidth=100,\nheight=20,\ncolor='#FFFFFF')\n");
+ rectCFree = rectC = strdup("rectangle (x=0,y=40,\nwidth=100,\nheight=20,\ncolor='#BE79A7FF',\nfill=true,\nthickness=3.0)\n");
if (rectC == NULL)
return 1;
singleC = multiToSingle(rectC);
free(rectCFree);
-
+
InitWindow (100, 100, ":3");
while (!WindowShouldClose ()) {
+
BeginDrawing ();
ClearBackground (RAYWHITE);
-
char *parseA = strdup(singleA);
matchFunctionCall(parseA);
-
+
char *parseB = strdup(singleB);
matchFunctionCall(parseB);
-
+
char *parseC = strdup(singleC);
matchFunctionCall(parseC);
- DrawText ("tranmsgenmer", 15, 50, 10, MAROON);
+
EndDrawing ();
}