X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=instimg;a=blobdiff_plain;f=src%2Fwidgets.h;fp=src%2Fwidgets.h;h=caf4a4ef4f4f1c3fe65f953c4dccbeb09a94c349;hp=33cd4904c75fbb5cd4b0320d95d2abd96f7675e6;hb=9f8f8c6cde6f5d9174aa8bc88f530436aecb70d9;hpb=5ac430128e1fa0e70e1cb232bd5d756b7e8c6abf diff --git a/src/widgets.h b/src/widgets.h index 33cd490..caf4a4e 100644 --- a/src/widgets.h +++ b/src/widgets.h @@ -37,6 +37,11 @@ struct wgt_widget *wgt_checkbox(struct wgt_window *win, const char *text, int on struct wgt_widget *wgt_combo(struct wgt_window *win, const char **items, int num_items, int sel, int x, int y, int width, int height, wgt_callback modfunc); +void wgt_checkbox_check(struct wgt_widget *w); +void wgt_checkbox_uncheck(struct wgt_widget *w); +int wgt_checkbox_checked(struct wgt_widget *w); + +int wgt_combo_setitems(struct wgt_widget *w, const char **items, int num_items); int wgt_combo_selected(struct wgt_widget *w); const char *wgt_get_combo_item(struct wgt_widget *w, int idx);