grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / intuition / propgadgets.h
blob4e0fd0c26dd79bc51d0ddd1a046766e681999816
1 #ifndef _PROPGADGETS_H_
2 #define _PROPGADGETS_H_
4 /*
5 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
6 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
7 $Id$
8 */
10 #ifndef INTUITION_INTUITION_H
11 # include <intuition/intuition.h>
12 #endif
13 #ifndef INTUITION_INTUITIONBASE_H
14 # include <intuition/intuitionbase.h>
15 #endif
16 #ifndef _GADGETS_H_
17 # include "gadgets.h"
18 #endif
20 #define PSIG_REFRESHALL SIGF_INTUITION
21 #define PSIG_DIE SIGF_ABORT
23 int CalcKnobSize (struct Gadget * propGadget, struct BBox * knobbox);
24 void RefreshPropGadget (struct Gadget * gadget, struct Window * window,
25 struct Requester * requester, struct IntuitionBase * IntuitionBase);
26 void RefreshPropGadgetKnob (struct Gadget * gadget, struct BBox * clear,
27 struct BBox * knob, struct Window * window, struct Requester * requester,
28 struct IntuitionBase * IntuitionBase);
30 VOID HandlePropSelectDown (struct Gadget *gadget, struct Window *win,
31 struct Requester *req, UWORD mouse_x, UWORD mouse_y,
32 struct IntuitionBase *IntuitionBase);
34 VOID HandlePropSelectUp (struct Gadget *gadget, struct Window *w,
35 struct Requester *req, struct IntuitionBase *IntuitionBase);
37 VOID HandlePropMouseMove (struct Gadget *gadget, struct Window *w,
38 struct Requester *req, LONG dx, LONG dy,
39 struct IntuitionBase *IntuitionBase);
40 #endif /* _PROPGADGETS_H_ */