CUGL
Cornell University Game Library
Main Page
Namespaces
Classes
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
base
platform
CUDisplay-impl.h
1
//
2
// CUDisplay-impl.h
3
// Cornell University Game Library (CUGL)
4
//
5
// The SDL display information tools fail on OS X and iOS. Therefore, we have
6
// factored this information out into platform specific files. This header
7
// is the uniform header for all platforms.
8
//
9
// CUGL zlib License:
10
// This software is provided 'as-is', without any express or implied
11
// warranty. In no event will the authors be held liable for any damages
12
// arising from the use of this software.
13
//
14
// Permission is granted to anyone to use this software for any purpose,
15
// including commercial applications, and to alter it and redistribute it
16
// freely, subject to the following restrictions:
17
//
18
// 1. The origin of this software must not be misrepresented; you must not
19
// claim that you wrote the original software. If you use this software
20
// in a product, an acknowledgment in the product documentation would be
21
// appreciated but is not required.
22
//
23
// 2. Altered source versions must be plainly marked as such, and must not
24
// be misrepresented as being the original software.
25
//
26
// 3. This notice may not be removed or altered from any source distribution.
27
//
28
// Author: Walker White
29
// Version: 7/12/16
30
31
#ifndef __CU_DISPLAY_IMPL_H__
32
#define __CU_DISPLAY_IMPL_H__
33
34
#include "../../math/CURect.h"
35
#include "../../math/CUVec2.h"
36
37
namespace
cugl
{
38
namespace
impl {
54
cugl::Rect
DisplayBounds();
55
75
cugl::Rect
DisplayUsableBounds();
76
94
cugl::Vec2
DisplayPixelDensity();
95
}
96
}
97
#endif
/* __CU_DISPLAY_IMPL_H__ */
cugl::Vec2
Definition:
CUVec2.h:61
cugl::Rect
Definition:
CURect.h:45
cugl
Definition:
CUAnimationNode.h:52
Generated by
1.8.10