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
17
GooeyCheckbox *
GooeyCheckbox_Add
(GooeyWindow *win,
int
x,
int
y,
char
*label,
18
void
(*callback)(
bool
checked));
19
28
bool
GooeyCheckbox_HandleClick
(GooeyWindow *win,
int
x,
int
y);
29
30
31
void
GooeyCheckbox_Draw
(GooeyWindow *win);
32
33
34
#endif
GooeyCheckbox_Add
GooeyCheckbox * GooeyCheckbox_Add(GooeyWindow *win, int x, int y, char *label, void(*callback)(bool checked))
Adds a checkbox to the window.
GooeyCheckbox_HandleClick
bool GooeyCheckbox_HandleClick(GooeyWindow *win, int x, int y)
Handles checkbox click events.
GooeyCheckbox_Draw
void GooeyCheckbox_Draw(GooeyWindow *win)
include
widgets
gooey_checkbox.h
Generated by
1.9.8