2 Copyright © 1995-2005, The AROS Development Team. All rights reserved.
10 #include <proto/exec.h>
11 #include <proto/dos.h>
12 #include <proto/utility.h>
13 #include <proto/intuition.h>
14 #include <proto/graphics.h>
15 #include <proto/cybergraphics.h>
16 #include <exec/memory.h>
17 #include <intuition/screens.h>
18 #include <intuition/icclass.h>
19 #include <intuition/cghooks.h>
20 #include <intuition/imageclass.h>
21 #include <intuition/gadgetclass.h>
22 #include <graphics/gfx.h>
23 #include <cybergraphx/cybergraphics.h>
27 #include "asl_intern.h"
33 #include <aros/debug.h>
35 #define CLASS_ASLBASE ((struct AslBase_intern *)cl->cl_UserData)
36 #define HOOK_ASLBASE ((struct AslBase_intern *)hook->h_Data)
38 #define AslBase CLASS_ASLBASE
40 /********************** ASL ARROW CLASS **************************************************/
42 IPTR
AslArrow__OM_NOTIFY(Class
* cl
, Object
* o
, struct opUpdate
*msg
)
44 struct AslArrowData
*data
;
47 data
= INST_DATA(cl
, o
);
49 if (!data
->scrollticker
|| (data
->scrollticker
== SCROLLTICKER
))
51 retval
= DoSuperMethodA(cl
, o
, (Msg
)msg
);
54 if (data
->scrollticker
) data
->scrollticker
--;
59 /***********************************************************************************/
61 IPTR
AslArrow__GM_GOACTIVE(Class
* cl
, Object
* o
, struct gpInput
*msg
)
63 struct AslArrowData
*data
;
66 data
= INST_DATA(cl
, o
);
67 data
->scrollticker
= SCROLLTICKER
;
69 retval
= DoSuperMethodA(cl
, o
, (Msg
)msg
);
74 /***********************************************************************************/