home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 23 / AACD 23.iso / AACD / Programming / tek / kn / elate / visual / scroll.asm < prev    next >
Encoding:
Assembly Source File  |  2001-05-12  |  1.0 KB  |  40 lines

  1.  
  2.     .include 'taort'
  3.     .include 'ave/toolkit/toolkit.inc'
  4.     .include 'lib/tek/kn/elate/visual.inc'
  5.  
  6. ;=============================================================================
  7. ;-----------------------------------------------------------------------------
  8. ;    TEKlib
  9. ;    (C) 1999-2001 TEK neoscientists
  10. ;    all rights reserved.
  11. ;
  12. ;    void kn_scroll(TAPTR v, TINT x, TINT y, TINT w, TINT h, TINT dx, TINT dy)
  13. ;
  14. ;-----------------------------------------------------------------------------
  15. ;=============================================================================
  16.  
  17.     tool 'lib/tek/kn/visual/scroll',VP,TF_EMBED
  18.  
  19. ;-----------------------------------------------------------------------------
  20.  
  21.     ent p0 i0 i1 i2 i3 i4 i5 : -
  22.  
  23.     defbegin
  24.     defp visual
  25.     defi x,y,w,h,dx,dy
  26.     defp pixmap
  27.  
  28.         cpy.p    [visual+vis_pixmap],pixmap
  29.         ncall    pixmap,copy,(pixmap,pixmap,x,y,w-dx,h-dy,x+dx,y+dy:-)
  30.  
  31.         ret
  32.         
  33.     defend
  34.  
  35.     toolend
  36.  
  37. ;-----------------------------------------------------------------------------
  38. ;=============================================================================
  39.