Gooey GUI Library
Loading...
Searching...
No Matches
gooey_label.h
Go to the documentation of this file.
1#ifndef GOOEY_LABEL_H
2#define GOOEY_LABEL_H
3
4#include "core/gooey_backend_internal.h"
5#include "gooey_widgets_internal.h"
6
16GooeyLabel *GooeyLabel_Add(GooeyWindow *win, const char *text, float font_size, int x, int y);
17
24void GooeyLabel_SetText(GooeyLabel *label, const char *text);
25
31void GooeyLabel_Draw(GooeyWindow *win);
32
41void GooeyLabel_SetColor(GooeyLabel *label, const char *color);
42
43
44#endif
GooeyLabel * GooeyLabel_Add(GooeyWindow *win, const char *text, float font_size, int x, int y)
Adds a label to the window.
void GooeyLabel_Draw(GooeyWindow *win)
Draws the label on the window.
void GooeyLabel_SetText(GooeyLabel *label, const char *text)
Sets the text of the label.
void GooeyLabel_SetColor(GooeyLabel *label, const char *color)
Sets the color of a label.