New bitmap method SetRGBConversionFunction which can be used to
[tangerine.git] / rom / bootmenu / gadgets.h
bloba7873c33e59fe7da0bcaff1f587c99bcbc75a0e8
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 Object *button;
12 WORD XY1[6];
13 WORD XY2[6];
14 struct Border uborder1;
15 struct Border uborder2;
16 struct Border sborder1;
17 struct Border sborder2;
20 struct MainGadgets {
21 struct ButtonGadget *boot;
22 struct ButtonGadget *bootnss;
23 struct ButtonGadget *bootopt;
24 struct ButtonGadget *displayopt;
25 struct ButtonGadget *expboarddiag;
28 #define BUTTON_BOOT 1
29 #define BUTTON_BOOT_WNSS 2
30 #define BUTTON_BOOT_OPTIONS 3
31 #define BUTTON_DISPLAY_OPTIONS 4
32 #define BUTTON_EXPBOARDDIAG 5
34 struct ButtonGadget *createButton(ULONG, ULONG, ULONG, ULONG, struct Gadget *, STRPTR, UWORD, struct BootMenuBase *);
35 void freeButtonGadget(struct ButtonGadget *, struct BootMenuBase *);
36 #endif