annotate 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 |
|
rev |
line source |
nuclear@60
|
1 #ifndef MINWIN_H_
|
nuclear@60
|
2 #define MINWIN_H_
|
nuclear@60
|
3
|
nuclear@60
|
4 struct MinWidget;
|
nuclear@60
|
5 typedef void (*MWCallback)(MinWidget*, void*);
|
nuclear@60
|
6
|
nuclear@60
|
7 void mw_set_callback(MinWidget *w, MWCallback func, void *cls);
|
nuclear@60
|
8
|
nuclear@61
|
9 MinWidget *mw_create_window(MinWidget *parent, const char *name, int x, int y, int xsz, int ysz);
|
nuclear@61
|
10 MinWidget *mw_create_button(MinWidget *parent, const char *text, int x, int y, int xsz, int ysz);
|
nuclear@61
|
11 MinWidget *mw_create_checkbox(MinWidget *parent, const char *text, int x, int y, int xsz, int ysz, bool checked);
|
nuclear@60
|
12
|
nuclear@60
|
13 void mw_test();
|
nuclear@60
|
14
|
nuclear@60
|
15 #endif // MINWIN_H_ |