goat3d
diff exporters/maxgoat/src/minwin.h @ 60:0c3576325480
moving the exporter along slowly
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 30 Mar 2014 08:53:33 +0300 |
parents | |
children | fdece14403ff |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/exporters/maxgoat/src/minwin.h Sun Mar 30 08:53:33 2014 +0300 1.3 @@ -0,0 +1,15 @@ 1.4 +#ifndef MINWIN_H_ 1.5 +#define MINWIN_H_ 1.6 + 1.7 +struct MinWidget; 1.8 +typedef void (*MWCallback)(MinWidget*, void*); 1.9 + 1.10 +void mw_set_callback(MinWidget *w, MWCallback func, void *cls); 1.11 + 1.12 +MinWidget *mw_create_window(MinWidget *parent, const char *name); 1.13 +MinWidget *mw_create_button(MinWidget *parent, const char *text, int x, int y, int w, int h); 1.14 +MinWidget *mw_create_checkbox(MinWidget *parent, const char *text, int x, int y, int w, int h, bool checked); 1.15 + 1.16 +void mw_test(); 1.17 + 1.18 +#endif // MINWIN_H_ 1.19 \ No newline at end of file