3 * Copyright (C) 2009 Tomas 'ZeXx86' Jedrzejek (zexx86@zexos.org)
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
23 #define APPCL_STATE_REDRAW 0x1
24 #define APPCL_STATE_RECVOK 0x2
25 #define APPCL_STATE_EXIT 0x4
26 #define APPCL_STATE_RESIZE 0x8
27 #define APPCL_STATE_LBUTTON 0x10
28 #define APPCL_STATE_RBUTTON 0x20
29 #define APPCL_STATE_MBUTTON 0x40
40 } __attribute__ ((__packed__
)) appcl_t
;
56 extern appcl_t
*zgui_window ();
57 extern void zgui_puts (unsigned short x
, unsigned short y
, char *str
, unsigned color
);
58 extern int zgui_button (unsigned short x
, unsigned short y
, char *str
);
59 extern int zgui_resize (unsigned short x
, unsigned short y
);
60 extern unsigned zgui_event ();
61 extern int zgui_init ();
62 extern int zgui_exit ();