diff options
Diffstat (limited to 'tiger.h')
-rw-r--r-- | tiger.h | 48 |
1 files changed, 48 insertions, 0 deletions
@@ -0,0 +1,48 @@ +/**************************************************************************** +** Authors: Matteo Muratori, Michele Fabbri. +** +** Official website: http://www.amanithvg.com +** +** Copyright (C) 2004-2009 Mazatech S.r.l. All rights reserved. +** +** This file is part of AmanithVG library. +** Khronos and OpenVG are trademarks of The Khronos Group Inc. +** OpenGL is a registered trademark and OpenGL ES is a trademark of +** Silicon Graphics, Inc. +** +** This file is distributed under the terms of Mazatech End-User License +** Agreement for Evaluation Purposes only as defined by Mazatech S.r.l. of +** Italy and appearing in the file LICENSE.TXT included in the packaging +** of this file. +** +** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +** +** For any informations, please contact info@mazatech.com +** +****************************************************************************/ +#ifndef _TIGER_H +#define _TIGER_H + +struct app { + void (*initApp)(int windowWidth, int windowHeight); + void (*killApp)(void); + void (*drawScene)(int windowWidth, int windowHeight); + + + void (*mouseLeftButtonDown)(int x, int y); + void (*mouseLeftButtonUp)(int x, int y); + void (*mouseRightButtonDown)(int x, int y); + void (*mouseRightButtonUp)(int x, int y); + void (*mouseMove)(int x, int y); + + + void (*changeQuality)(void); + void (*toggleAnimation)(void); + void (*resetParameters)(void); +}; + +extern struct app vg_tiger_app; +extern struct app cairo_tiger_app; + +#endif |