nuclear@60: #ifndef MINWIN_H_ nuclear@60: #define MINWIN_H_ nuclear@60: nuclear@60: struct MinWidget; nuclear@60: typedef void (*MWCallback)(MinWidget*, void*); nuclear@60: nuclear@60: void mw_set_callback(MinWidget *w, MWCallback func, void *cls); nuclear@60: nuclear@61: MinWidget *mw_create_window(MinWidget *parent, const char *name, int x, int y, int xsz, int ysz); nuclear@61: MinWidget *mw_create_button(MinWidget *parent, const char *text, int x, int y, int xsz, int ysz); nuclear@61: MinWidget *mw_create_checkbox(MinWidget *parent, const char *text, int x, int y, int xsz, int ysz, bool checked); nuclear@60: nuclear@60: void mw_test(); nuclear@60: nuclear@60: #endif // MINWIN_H_