home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / desklib / !DeskLib / h / DragASpr < prev    next >
Encoding:
Text File  |  1993-07-09  |  1.4 KB  |  41 lines

  1. /*
  2.     ####             #    #     # #
  3.     #   #            #    #       #          The FreeWare C library for 
  4.     #   #  ##   ###  #  # #     # ###             RISC OS machines
  5.     #   # #  # #     # #  #     # #  #   ___________________________________
  6.     #   # ####  ###  ##   #     # #  #                                      
  7.     #   # #        # # #  #     # #  #    Please refer to the accompanying
  8.     ####   ### ####  #  # ##### # ###    documentation for conditions of use
  9.     ________________________________________________________________________
  10.  
  11.     File:    DragASpr.h
  12.     Author:  Copyright © 1992 Shaun Blackmore and Jason Williams
  13.     Version: 1.01 (30 Apr 1992)
  14.     Purpose: Function veneers for DragASpr SWIs
  15. */
  16.  
  17. #ifndef __dl_dragaspr_h
  18. #define __dl_dragaspr_h
  19.  
  20. #ifndef __dl_wimp_h
  21. #include "wimp.h"
  22. #endif
  23.  
  24.  
  25. extern os_error *DragASprite_Start(int flags, void *spritearea, char *name,
  26.                                    wimp_rect *bound, wimp_rect *parent);
  27.  
  28. extern os_error *DragASprite_Stop(void);
  29.  
  30. /*
  31.  *  DragASprite_DragIcon(window, icon)
  32.  *
  33.  *  This is a simple interface for DragASpr. Simply call it when you want
  34.  *  to start a drag operation of a sprite icon, and it starts a dragasprite
  35.  *  drag IF POSSIBLE, or a normal Wimp_DragBox if not (i.e. this is a
  36.  *  RISC OS 2 compatible call)
  37.  */
  38. extern os_error *DragASprite_DragIcon(window_handle window, icon_handle icon);
  39.  
  40. #endif
  41.