/***************************************************************************
                            qt_QCanvasSprite.h -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QCANVASSPRITE
#define QT_QCANVASSPRITE

#include <qtc/qtc_types.h>

#define QCANVASSPRITE_Cycle	0
#define QCANVASSPRITE_Oscillate	1
qt_QCanvasSprite * qt_new_QCanvasSprite(qt_QCanvasPixmapArray* array, qt_QCanvas* canvas);
void qt_QCanvasSprite_setSequence(qt_QCanvasSprite* instPointer,qt_QCanvasPixmapArray* seq);
void qt_del_QCanvasSprite( qt_QCanvasSprite* p );
void qt_QCanvasSprite_move(qt_QCanvasSprite* instPointer,double x, double y);
void qt_QCanvasSprite_move1(qt_QCanvasSprite* instPointer,double x, double y, int frame);
void qt_QCanvasSprite_setFrame(qt_QCanvasSprite* instPointer,int arg1);
void qt_QCanvasSprite_setFrameAnimation(qt_QCanvasSprite* instPointer,int arg1, int step, int state);
int qt_QCanvasSprite_frame(qt_QCanvasSprite* instPointer);
int qt_QCanvasSprite_frameCount(qt_QCanvasSprite* instPointer);
int qt_QCanvasSprite_rtti(qt_QCanvasSprite* instPointer);
int qt_QCanvasSprite_collidesWith(qt_QCanvasSprite* instPointer,qt_QCanvasItem* arg1);
qt_QRect* qt_QCanvasSprite_boundingRect(qt_QCanvasSprite* instPointer);
int qt_QCanvasSprite_width(qt_QCanvasSprite* instPointer);
int qt_QCanvasSprite_height(qt_QCanvasSprite* instPointer);
int qt_QCanvasSprite_leftEdge(qt_QCanvasSprite* instPointer);
int qt_QCanvasSprite_topEdge(qt_QCanvasSprite* instPointer);
int qt_QCanvasSprite_rightEdge(qt_QCanvasSprite* instPointer);
int qt_QCanvasSprite_bottomEdge(qt_QCanvasSprite* instPointer);
int qt_QCanvasSprite_leftEdge1(qt_QCanvasSprite* instPointer,int nx);
int qt_QCanvasSprite_topEdge1(qt_QCanvasSprite* instPointer,int ny);
int qt_QCanvasSprite_rightEdge1(qt_QCanvasSprite* instPointer,int nx);
int qt_QCanvasSprite_bottomEdge1(qt_QCanvasSprite* instPointer,int ny);
qt_QCanvasPixmap* qt_QCanvasSprite_image(qt_QCanvasSprite* instPointer);
qt_QCanvasPixmap* qt_QCanvasSprite_imageAdvanced(qt_QCanvasSprite* instPointer);
qt_QCanvasPixmap* qt_QCanvasSprite_image1(qt_QCanvasSprite* instPointer,int f);
void qt_QCanvasSprite_advance(qt_QCanvasSprite* instPointer,int stage);
void qt_QCanvasSprite_draw(qt_QCanvasSprite* instPointer,qt_QPainter* painter);

#endif
