blob: dcfeb309b5641837cf09dcadb24bb2f9a7100fc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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
|