use simpliest little endian macros
[AROS.git] / rom / intuition / inputhandler_actions.h
bloba152d857bedaa74e144d8b8a2903d24ee016ffcd
1 #ifndef INPUTHANDLER_ACTIONS_H
2 #define INPUTHANDLER_ACTIONS_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 struct IIHData;
12 #define LOCK_REFRESH(x) LockLayerInfo(&(x)->LayerInfo)
13 #define UNLOCK_REFRESH(x) UnlockLayerInfo(&(x)->LayerInfo)
15 struct IntuiActionMsg
17 struct MinNode node;
18 struct Task *task;
19 void (*handler)(struct IntuiActionMsg *, struct IntuitionBase *);
20 LONG done;
23 void HandleIntuiActions(struct IIHData *iihdata, struct IntuitionBase *IntuitionBase);
25 void DoSyncAction(void (*)(struct IntuiActionMsg *, struct IntuitionBase *),
26 struct IntuiActionMsg *,
27 struct IntuitionBase *IntuitionBase);
28 BOOL DoASyncAction(void (*)(struct IntuiActionMsg *, struct IntuitionBase *),
29 struct IntuiActionMsg *, ULONG size,
30 struct IntuitionBase *IntuitionBase);
32 void CheckLayers(struct Screen *screen, struct IntuitionBase *IntuitionBase);
34 void DoMoveSizeWindow(struct Window *targetwindow, LONG NewLeftEdge, LONG NewTopEdge,
35 LONG NewWidth, LONG NewHeight, BOOL send_newsize,
36 struct IntuitionBase *IntuitionBase);
38 void WindowSizeHasChanged(struct Window *targetwindow, WORD dx, WORD dy,
39 BOOL is_sizewindow, struct IntuitionBase *IntuitionBase);
40 void WindowSizeWillChange(struct Window *targetwindow, WORD dx, WORD dy,
41 struct IntuitionBase *IntuitionBase);
44 #endif /* INPUTHANDLER_ACTIONS_H */