Gooey GUI Library
Loading...
Searching...
No Matches
gooey_label.h
Go to the documentation of this file.
1
12 #ifndef GOOEY_LABEL_H
13 #define GOOEY_LABEL_H
14
15 #include "common/gooey_common.h"
16
28 GooeyLabel *GooeyLabel_Create(const char *text, float font_size, int x, int y);
29
38 void GooeyLabel_SetText(GooeyLabel *label, const char *text);
39
48 void GooeyLabel_SetColor(GooeyLabel *label, unsigned long color);
49
50 #endif // GOOEY_LABEL_H
51
void GooeyLabel_SetText(GooeyLabel *label, const char *text)
Sets the text of an existing label.
void GooeyLabel_SetColor(GooeyLabel *label, unsigned long color)
Sets the text color of a label.
GooeyLabel * GooeyLabel_Create(const char *text, float font_size, int x, int y)
Creates a Label.