grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / intuition / intuition_customize.h
blobe2589ecc33eede243bbb122b78a201e9bf9b9a92
1 #include <intuition/extensions.h>
2 #include <intuition/windecorclass.h>
3 #include <intuition/scrdecorclass.h>
5 struct IntuitionCustomize
7 struct Image *submenu;
8 /* TODO: Move more decoration-specific data here */
9 };
11 BOOL int_LoadDecorator(const char *name, struct IntScreen *screen, struct IntuitionBase *IntuitionBase);
12 void int_UnloadDecorator(struct NewDecorator *tnd, struct IntuitionBase *IntuitionBase);
13 BOOL int_InitDecorator(struct Screen *screen);
14 void int_CalcSkinInfo(struct Screen *screen, struct IntuitionBase *IntuitionBase);
16 /* Push ExitScreen Message to the Screensdecoration Class */
17 static inline void int_ExitDecorator(struct Screen *screen)
19 struct sdpExitScreen semsg;
21 semsg.MethodID = SDM_EXITSCREEN;
22 semsg.sdp_UserBuffer = ((struct IntScreen *)screen)->DecorUserBuffer;
23 semsg.sdp_TrueColor = (((struct IntScreen *)screen)->DInfo.dri_Flags & DRIF_DIRECTCOLOR) ? TRUE : FALSE;
25 DoMethodA(((struct IntScreen *)screen)->ScrDecorObj, &semsg.MethodID);