Sources/API/display.h
1 /*
2 ** ClanLib SDK
3 ** Copyright (c) 1997-2015 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/screen_info.h"
43 #include "Display/Resources/display_cache.h"
44 #include "Display/2D/canvas.h"
45 #include "Display/2D/color.h"
46 #include "Display/2D/color_hsv.h"
47 #include "Display/2D/color_hsl.h"
48 #include "Display/2D/gradient.h"
49 #include "Display/2D/image.h"
50 #include "Display/2D/sprite.h"
51 #include "Display/2D/path.h"
52 #include "Display/2D/pen.h"
53 #include "Display/2D/brush.h"
54 #include "Display/2D/subtexture.h"
55 #include "Display/2D/texture_group.h"
56 #include "Display/2D/span_layout.h"
57 #include "Display/System/run_loop.h"
58 #include "Display/System/timer.h"
59 #include "Display/System/detect_hang.h"
60 #include "Display/Font/font_family.h"
61 #include "Display/Font/font.h"
62 #include "Display/Font/font_description.h"
63 #include "Display/Font/font_metrics.h"
64 #include "Display/Font/glyph_metrics.h"
65 #include "Display/Image/pixel_buffer.h"
66 #include "Display/Image/pixel_buffer_lock.h"
67 #include "Display/Image/pixel_buffer_help.h"
68 #include "Display/Image/pixel_buffer_set.h"
69 #include "Display/Image/icon_set.h"
70 #include "Display/Image/perlin_noise.h"
71 #include "Display/Image/image_import_description.h"
72 #include "Display/Image/pixel_converter.h"
73 #include "Display/ImageProviders/jpeg_provider.h"
74 #include "Display/ImageProviders/png_provider.h"
75 #include "Display/ImageProviders/provider_factory.h"
76 #include "Display/ImageProviders/provider_type.h"
77 #include "Display/ImageProviders/provider_type_register.h"
78 #include "Display/ImageProviders/targa_provider.h"
79 #include "Display/ImageProviders/dds_provider.h"
80 #include "Display/Render/blend_state.h"
81 #include "Display/Render/blend_state_description.h"
82 #include "Display/Render/depth_stencil_state.h"
83 #include "Display/Render/depth_stencil_state_description.h"
84 #include "Display/Render/rasterizer_state.h"
85 #include "Display/Render/rasterizer_state_description.h"
86 #include "Display/Render/element_array_buffer.h"
87 #include "Display/Render/element_array_vector.h"
88 #include "Display/Render/transfer_buffer.h"
89 #include "Display/Render/transfer_vector.h"
90 #include "Display/Render/frame_buffer.h"
91 #include "Display/Render/graphic_context.h"
92 #include "Display/Render/occlusion_query.h"
93 #include "Display/Render/primitives_array.h"
94 #include "Display/Render/program_object.h"
95 #include "Display/Render/uniform_buffer.h"
96 #include "Display/Render/uniform_vector.h"
97 #include "Display/Render/storage_buffer.h"
98 #include "Display/Render/storage_vector.h"
99 #include "Display/Render/render_batcher.h"
100 #include "Display/Render/render_buffer.h"
101 #include "Display/Render/shader_object.h"
102 #include "Display/Render/shared_gc_data.h"
103 #include "Display/Render/texture.h"
104 #include "Display/Render/transfer_texture.h"
105 #include "Display/Render/texture_1d.h"
106 #include "Display/Render/texture_1d_array.h"
107 #include "Display/Render/texture_2d.h"
108 #include "Display/Render/texture_2d_array.h"
109 #include "Display/Render/texture_3d.h"
110 #include "Display/Render/texture_cube.h"
111 #include "Display/Render/texture_cube_array.h"
112 #include "Display/Render/vertex_array_buffer.h"
113 #include "Display/Render/vertex_array_vector.h"
114 #include "Display/ShaderEffect/shader_effect.h"
115 #include "Display/ShaderEffect/shader_effect_description.h"
116 #include "Display/TargetProviders/cursor_provider.h"
117 #include "Display/TargetProviders/display_target_provider.h"
118 #include "Display/TargetProviders/display_window_provider.h"
119 #include "Display/TargetProviders/element_array_buffer_provider.h"
120 #include "Display/TargetProviders/transfer_buffer_provider.h"
121 #include "Display/TargetProviders/pixel_buffer_provider.h"
122 #include "Display/TargetProviders/frame_buffer_provider.h"
123 #include "Display/TargetProviders/graphic_context_provider.h"
124 #include "Display/TargetProviders/input_device_provider.h"
125 #include "Display/TargetProviders/occlusion_query_provider.h"
126 #include "Display/TargetProviders/program_object_provider.h"
127 #include "Display/TargetProviders/render_buffer_provider.h"
128 #include "Display/TargetProviders/shader_object_provider.h"
129 #include "Display/TargetProviders/texture_provider.h"
130 #include "Display/TargetProviders/uniform_buffer_provider.h"
131 #include "Display/TargetProviders/storage_buffer_provider.h"
132 #include "Display/TargetProviders/vertex_array_buffer_provider.h"
133 #include "Display/TargetProviders/primitives_array_provider.h"
134 #include "Display/Window/cursor.h"
135 #include "Display/Window/cursor_description.h"
136 #include "Display/Window/display_window.h"
137 #include "Display/Window/display_window_description.h"
138 #include "Display/Window/input_code.h"
139 #include "Display/Window/input_context.h"
140 #include "Display/Window/input_device.h"
141 #include "Display/Window/input_event.h"
142 #include "Display/Window/keys.h"
143
144 #ifdef __cplusplus_cli
145 #pragma managed(pop)
146 #endif
147
148 #if defined(_MSC_VER)
149 #if !defined(_MT)
150 #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.
151 #endif
152 #if !defined(_DEBUG)
153 #if defined(DLL)
154 #pragma comment(lib, "clanDisplay-dll.lib")
155 #elif defined(_DLL)
156 #pragma comment(lib, "clanDisplay-static-mtdll.lib")
157 #else
158 #pragma comment(lib, "clanDisplay-static-mt.lib")
159 #endif
160 #else
161 #if defined(DLL)
162 #pragma comment(lib, "clanDisplay-dll-debug.lib")
163 #elif defined(_DLL)
164 #pragma comment(lib, "clanDisplay-static-mtdll-debug.lib")
165 #else
166 #pragma comment(lib, "clanDisplay-static-mt-debug.lib")
167
168 #endif
169 #endif
170 #pragma comment(lib, "winmm.lib")
171 #pragma comment(lib, "gdi32.lib")
172 #endif