4#include "core/gooey_backend_internal.h"
5#include "gooey_widgets_internal.h"
17GooeyList *
GooeyList_Add(GooeyWindow *window,
int x,
int y,
int width,
int height,
void (*callback)(
int index));
GooeyList * GooeyList_Add(GooeyWindow *window, int x, int y, int width, int height, void(*callback)(int index))
Adds a list widget to the window specified.
bool GooeyList_HandleScroll(GooeyWindow *window, GooeyEvent *event)
Handles scroll events.
void GooeyList_Draw(GooeyWindow *window)
Draws All attached list widgets onto window.
bool GooeyList_HandleThumbScroll(GooeyWindow *window, GooeyEvent *scroll_event)
void GooeyList_AddItem(GooeyList *list, const char *title, const char *description)
Adds a list widget to the window specified.
bool GooeyList_HandleClick(GooeyWindow *window, int mouse_x, int mouse_y)