ClanLib  2.3.7
display.h
Go to the documentation of this file.
1 /*
2 ** ClanLib SDK
3 ** Copyright (c) 1997-2011 The ClanLib Team
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 ** 2. Altered source versions must be plainly marked as such, and must not be
18 ** misrepresented as being the original software.
19 ** 3. This notice may not be removed or altered from any source distribution.
20 **
21 ** Note: Some of the libraries ClanLib may link to may have additional
22 ** requirements or restrictions.
23 **
24 ** File Author(s):
25 **
26 ** Magnus Norddahl
27 ** Kenneth Gangstoe
28 ** Harry Storbacka
29 */
30 
33 
34 #pragma once
35 
36 #ifdef __cplusplus_cli
37 #pragma managed(push, off)
38 #endif
39 
40 #include "Display/display.h"
41 #include "Display/display_target.h"
42 #include "Display/setup_display.h"
43 #include "Display/screen_info.h"
44 #include "Display/2D/color.h"
45 #include "Display/2D/color_hsv.h"
46 #include "Display/2D/color_hsv2.h"
47 #include "Display/2D/color_hsl.h"
48 #include "Display/2D/color_hsl2.h"
49 #include "Display/2D/draw.h"
50 #include "Display/2D/gradient.h"
51 #include "Display/2D/image.h"
53 #include "Display/2D/sprite.h"
55 #include "Display/2D/subtexture.h"
57 #include "Display/2D/span_layout.h"
67 #include "Display/Font/font.h"
74 #include "Display/Image/palette.h"
78 #include "Display/Image/icon_set.h"
97 #include "Display/Render/pen.h"
108 #include "Display/Render/texture.h"
126 #include "Display/Window/cursor.h"
133 #include "Display/Window/keys.h"
134 
135 #ifdef __cplusplus_cli
136 #pragma managed(pop)
137 #endif
138 
139 #if defined(_MSC_VER)
140  #if !defined(_MT)
141  #error Your application is set to link with the single-threaded version of the run-time library. Go to project settings, in the C++ section, and change it to multi-threaded.
142  #endif
143  #if !defined(_DEBUG)
144  #if defined(CL_DLL)
145  #pragma comment(lib, "clanDisplay-dll.lib")
146  #pragma comment(lib, "libjpeg-dll.lib")
147  #pragma comment(lib, "libpng-dll.lib")
148  #pragma comment(lib, "freetype-dll.lib")
149  #elif defined(_DLL)
150  #pragma comment(lib, "clanDisplay-static-mtdll.lib")
151  #pragma comment(lib, "libjpeg-static-mtdll.lib")
152  #pragma comment(lib, "libpng-static-mtdll.lib")
153  #pragma comment(lib, "freetype-static-mtdll.lib")
154  #else
155  #pragma comment(lib, "clanDisplay-static-mt.lib")
156  #pragma comment(lib, "libjpeg-static-mt.lib")
157  #pragma comment(lib, "libpng-static-mt.lib")
158  #pragma comment(lib, "freetype-static-mt.lib")
159  #endif
160  #else
161  #if defined(CL_DLL)
162  #pragma comment(lib, "clanDisplay-dll-debug.lib")
163  #pragma comment(lib, "libjpeg-dll-debug.lib")
164  #pragma comment(lib, "libpng-dll-debug.lib")
165  #pragma comment(lib, "freetype-dll-debug.lib")
166  #elif defined(_DLL)
167  #pragma comment(lib, "clanDisplay-static-mtdll-debug.lib")
168  #pragma comment(lib, "libjpeg-static-mtdll-debug.lib")
169  #pragma comment(lib, "libpng-static-mtdll-debug.lib")
170  #pragma comment(lib, "freetype-static-mtdll-debug.lib")
171  #else
172  #pragma comment(lib, "clanDisplay-static-mt-debug.lib")
173  #pragma comment(lib, "libjpeg-static-mt-debug.lib")
174  #pragma comment(lib, "libpng-static-mt-debug.lib")
175  #pragma comment(lib, "freetype-static-mt-debug.lib")
176  #endif
177  #endif
178  #pragma comment(lib, "winmm.lib")
179  #pragma comment(lib, "dinput8.lib")
180  #pragma comment(lib, "dxguid.lib")
181  #pragma comment(lib, "gdi32.lib")
182 #endif