Identation fixes, replace tabs with spaces, all '{' on new line.
[AROS.git] / rom / dosboot / gadgets.h
blob057532e6ac59de2311e1dd9ef33d89839313e669
1 #ifndef BOOTMENU_GADGETS_H
2 #define BOOTMENU_GADGETS_H
4 #include <intuition/classusr.h>
5 #include <intuition/intuition.h>
7 struct DOSBootBase;
9 struct ButtonGadget {
10 struct Gadget *gadget;
11 WORD XY1[6];
12 WORD XY2[6];
13 struct Border uborder1;
14 struct Border uborder2;
15 struct Border sborder1;
16 struct Border sborder2;
19 struct MainGadgets {
20 struct ButtonGadget *boot;
21 struct ButtonGadget *bootnss;
22 struct ButtonGadget *bootopt;
23 struct ButtonGadget *displayopt;
24 struct ButtonGadget *expboarddiag;
27 #define BUTTON_BOOT 1
28 #define BUTTON_BOOT_WNSS 2
29 #define BUTTON_BOOT_OPTIONS 3
30 #define BUTTON_DISPLAY_OPTIONS 4
31 #define BUTTON_EXPBOARDDIAG 5
33 struct ButtonGadget *createButton(ULONG, ULONG, ULONG, ULONG, struct Gadget *, STRPTR, UWORD, struct DOSBootBase *);
34 void freeButtonGadget(struct ButtonGadget *, struct DOSBootBase *);
35 #endif