-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzgui.h
65 lines (48 loc) · 1.01 KB
/
zgui.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#ifndef ZGUI_H
#define ZGUI_H
#ifdef __cplusplus
extern "C" {
#endif
#include <proto/exec.h>
#include <proto/dos.h>
#include <proto/intuition.h>
#include <proto/utility.h>
#include <proto/icon.h>
#include <proto/chooser.h>
//#include <proto/layout.h>
#include <workbench/icon.h>
#include <classes/window.h>
#include <gadgets/layout.h>
#include <gadgets/button.h>
#include <gadgets/chooser.h>
//#include <images/label.h>
#include <images/bitmap.h>
//#include <gadgets/space.h>
/*
#define VERSION 0
#define REVISION 2
#define DATE "("__AMIGADATE__")"
#define VERS "ZGUI 0.2"
#define VSTRING VERS" "DATE"\r\n"
#define VERSTAG "\0$VER: "VERS" "DATE
*/
enum {
OID_MAIN = 0,
OID_ZGLOOM_CHOOSER,
OID_ZGLOOM,
OID_ZGLOOM_BTN,
OID_ZGLOOM_IMG,
LAST_NUM
};
struct ZGloomGUI {
struct Window *win;
uint32 game; // 0:Gloom, 1:G_Deluxe; 2:Zombie_Ed; 3:Z_Massacre; 4:none/null/quit
};
BOOL OpenLibs(void);
void CloseLibs(void);
int32 launch_gui(void);
struct Screen *FrontMostScr(void);
#ifdef __cplusplus
}
#endif
#endif