Gooey GUI Library
Loading...
Searching...
No Matches
gooey_checkbox.h
Go to the documentation of this file.
1#ifndef GOOEY_CHECKBOX_H
2#define GOOEY_CHECKBOX_H
3
4#include "core/gooey_backend_internal.h"
5
6
17GooeyCheckbox *GooeyCheckbox_Add(GooeyWindow *win, int x, int y, char *label,
18 void (*callback)(bool checked));
19
28bool GooeyCheckbox_HandleClick(GooeyWindow *win, int x, int y);
29
30
31void GooeyCheckbox_Draw(GooeyWindow *win);
32
33
34#endif
GooeyCheckbox * GooeyCheckbox_Add(GooeyWindow *win, int x, int y, char *label, void(*callback)(bool checked))
Adds a checkbox to the window.
bool GooeyCheckbox_HandleClick(GooeyWindow *win, int x, int y)
Handles checkbox click events.
void GooeyCheckbox_Draw(GooeyWindow *win)