Metatarget for copying of testfile fixed.
[AROS.git] / workbench / libs / reqtools / gadstub.asm
blob3d214fe14374bf8f7f86988f4cc5773ab5c03e5e
2 INCLUDE "exec/types.i"
3 INCLUDE "intuition/intuition.i"
4 INCLUDE "utility/tagitem.i"
5 INCLUDE "libraries/gadtools.i"
7 SECTION "text",CODE
9 XDEF _myGT_SetGadgetAttrs
10 XDEF _myCreateGadget
12 XREF _GadToolsBase
14 _LVOGT_SetGadgetAttrs equ -$2a
15 _LVOCreateGadget equ -$1e
17 _myGT_SetGadgetAttrs:
18 movem.l d2/d3/a2/a3/a6,-(a7)
19 movem.l 4+4*5(a7),a0/a1/a2
20 lea 16+4*5(a7),a3
21 move.l _GadToolsBase(a4),a6
22 jsr _LVOGT_SetGadgetAttrs(a6)
23 bra.b endstub
25 _myCreateGadget:
26 movem.l d2/d3/a2/a3/a6,-(a7)
27 movem.l 4+4*5(a7),d0/a0/a1
28 lea 16+4*5(a7),a2
29 move.l _GadToolsBase(a4),a6
30 jsr _LVOCreateGadget(a6)
31 endstub:
32 movem.l (a7)+,d2/d3/a2/a3/a6
33 rts
35 END