home *** CD-ROM | disk | FTP | other *** search
- /*
- #### # # # #
- # # # # # The FreeWare C library for
- # # ## ### # # # # ### RISC OS machines
- # # # # # # # # # # # ___________________________________
- # # #### ### ## # # # #
- # # # # # # # # # # Please refer to the accompanying
- #### ### #### # # ##### # ### documentation for conditions of use
- ________________________________________________________________________
-
- File: DragASpr.h
- Author: Copyright © 1992 Shaun Blackmore and Jason Williams
- Version: 1.01 (30 Apr 1992)
- Purpose: Function veneers for DragASpr SWIs
- */
-
- #ifndef __dl_dragaspr_h
- #define __dl_dragaspr_h
-
- #ifndef __dl_wimp_h
- #include "wimp.h"
- #endif
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- extern os_error *DragASprite_Start(int flags, void *spritearea, char *name,
- wimp_rect *bound, wimp_rect *parent);
-
- extern os_error *DragASprite_Stop(void);
-
- /*
- * DragASprite_DragIcon(window, icon)
- *
- * This is a simple interface for DragASpr. Simply call it when you want
- * to start a drag operation of a sprite icon, and it starts a dragasprite
- * drag IF POSSIBLE, or a normal Wimp_DragBox if not (i.e. this is a
- * RISC OS 2 compatible call)
- */
- extern os_error *DragASprite_DragIcon(window_handle window, icon_handle icon);
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-