orx 1.16
Portable Game Engine
Loading...
Searching...
No Matches
orxScreenshot.h
Go to the documentation of this file.
1/* Orx - Portable Game Engine
2 *
3 * Copyright (c) 2008- Orx-Project
4 *
5 * This software is provided 'as-is', without any express or implied
6 * warranty. In no event will the authors be held liable for any damages
7 * arising from the use of this software.
8 *
9 * Permission is granted to anyone to use this software for any purpose,
10 * including commercial applications, and to alter it and redistribute it
11 * freely, subject to the following restrictions:
12 *
13 * 1. The origin of this software must not be misrepresented; you must not
14 * claim that you wrote the original software. If you use this software
15 * in a product, an acknowledgment in the product documentation would be
16 * appreciated but is not required.
17 *
18 * 2. Altered source versions must be plainly marked as such, and must not be
19 * misrepresented as being the original software.
20 *
21 * 3. This notice may not be removed or altered from any source
22 * distribution.
23 */
24
32
41
42
43#ifndef _orxSCREENSHOT_H_
44#define _orxSCREENSHOT_H_
45
46#include "orxInclude.h"
47
48
51
52#if defined(__orxIOS__)
53
54 #define orxSCREENSHOT_KZ_DEFAULT_DIRECTORY_NAME "../Documents"
55 #define orxSCREENSHOT_KZ_DEFAULT_BASE_NAME "screenshot-"
56 #define orxSCREENSHOT_KZ_DEFAULT_EXTENSION "png"
57 #define orxSCREENSHOT_KU32_DEFAULT_DIGITS 4
58
59#elif defined(__orxANDROID__)
60
61 #define orxSCREENSHOT_KZ_DEFAULT_DIRECTORY_NAME "."
62 #define orxSCREENSHOT_KZ_DEFAULT_BASE_NAME "screenshot-"
63 #define orxSCREENSHOT_KZ_DEFAULT_EXTENSION "png"
64 #define orxSCREENSHOT_KU32_DEFAULT_DIGITS 4
65
66#else
67
68 #define orxSCREENSHOT_KZ_DEFAULT_DIRECTORY_NAME "."
69 #define orxSCREENSHOT_KZ_DEFAULT_BASE_NAME "screenshot-"
70 #define orxSCREENSHOT_KZ_DEFAULT_EXTENSION "tga"
71 #define orxSCREENSHOT_KU32_DEFAULT_DIGITS 4
72
73#endif
74
75
78extern orxDLLAPI void orxFASTCALL orxScreenshot_Setup();
79
84
87extern orxDLLAPI void orxFASTCALL orxScreenshot_Exit();
88
93
94#endif /* _orxSCREENSHOT_H_ */
95
#define orxDLLAPI
Definition orxDecl.h:381
orxDLLAPI orxSTATUS orxFASTCALL orxScreenshot_Capture()
orxDLLAPI void orxFASTCALL orxScreenshot_Setup()
orxDLLAPI void orxFASTCALL orxScreenshot_Exit()
orxDLLAPI orxSTATUS orxFASTCALL orxScreenshot_Init()
orxSTATUS
Definition orxType.h:270

Generated for orx by doxygen 1.8.11