goat3d

view exporters/maxgoat/src/minwin.h @ 64:99715321ad6d

merged
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 17 Apr 2014 08:53:42 +0300
parents 0c3576325480
children
line source
1 #ifndef MINWIN_H_
2 #define MINWIN_H_
4 struct MinWidget;
5 typedef void (*MWCallback)(MinWidget*, void*);
7 void mw_set_callback(MinWidget *w, MWCallback func, void *cls);
9 MinWidget *mw_create_window(MinWidget *parent, const char *name, int x, int y, int xsz, int ysz);
10 MinWidget *mw_create_button(MinWidget *parent, const char *text, int x, int y, int xsz, int ysz);
11 MinWidget *mw_create_checkbox(MinWidget *parent, const char *text, int x, int y, int xsz, int ysz, bool checked);
13 void mw_test();
15 #endif // MINWIN_H_