/*
    ####             #    #     # #
    #   #            #    #       #          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 __Desk_DragASpr_h
#define __Desk_DragASpr_h

#ifdef __cplusplus
extern "C" {
#endif


#ifndef __Desk_Wimp_h
#include "Desk.Wimp.h"
#endif


extern void	Desk_DragASprite_Start(int flags, void *spritearea, char *name,
                                   Desk_wimp_rect *bound, Desk_wimp_rect *parent);


extern void	Desk_DragASprite_Stop(void);


extern void	Desk_DragASprite_DragIcon(Desk_window_handle window, Desk_icon_handle 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 Desk_Wimp_DragBox if not (i.e. this is a RISC
OS 2 compatible call)
*/

#ifdef __cplusplus
}
#endif


#endif
