some fixes to accented characters
[tangerine.git] / rom / bootmenu / gadgets.h
blobccfa41fb88cee3eaa3800af16f56ca01faa764fd
1 #ifndef BOOTMENU_GADGETS_H
2 #define BOOTMENU_GADGETS_H
4 #include <intuition/classusr.h>
5 #include <intuition/intuition.h>
7 struct BootMenuBase;
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 BootMenuBase *);
34 void freeButtonGadget(struct ButtonGadget *, struct BootMenuBase *);
35 #endif