display.h Source File - ClanLib SDK
Description: display.h Source File

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