display.h

Go to the documentation of this file.
00001 /*
00002 **  ClanLib SDK
00003 **  Copyright (c) 1997-2011 The ClanLib Team
00004 **
00005 **  This software is provided 'as-is', without any express or implied
00006 **  warranty.  In no event will the authors be held liable for any damages
00007 **  arising from the use of this software.
00008 **
00009 **  Permission is granted to anyone to use this software for any purpose,
00010 **  including commercial applications, and to alter it and redistribute it
00011 **  freely, subject to the following restrictions:
00012 **
00013 **  1. The origin of this software must not be misrepresented; you must not
00014 **     claim that you wrote the original software. If you use this software
00015 **     in a product, an acknowledgment in the product documentation would be
00016 **     appreciated but is not required.
00017 **  2. Altered source versions must be plainly marked as such, and must not be
00018 **     misrepresented as being the original software.
00019 **  3. This notice may not be removed or altered from any source distribution.
00020 **
00021 **  Note: Some of the libraries ClanLib may link to may have additional
00022 **  requirements or restrictions.
00023 **
00024 **  File Author(s):
00025 **
00026 **    Magnus Norddahl
00027 **    Kenneth Gangstoe
00028 **    Harry Storbacka
00029 */
00030 
00033 
00034 #pragma once
00035 
00036 #ifdef __cplusplus_cli
00037 #pragma managed(push, off)
00038 #endif
00039 
00040 #include "Display/display.h"
00041 #include "Display/display_target.h"
00042 #include "Display/setup_display.h"
00043 #include "Display/screen_info.h"
00044 #include "Display/2D/color.h"
00045 #include "Display/2D/color_hsv.h"
00046 #include "Display/2D/color_hsv2.h"
00047 #include "Display/2D/color_hsl.h"
00048 #include "Display/2D/color_hsl2.h"
00049 #include "Display/2D/draw.h"
00050 #include "Display/2D/gradient.h"
00051 #include "Display/2D/image.h"
00052 #include "Display/2D/rounded_rect.h"
00053 #include "Display/2D/sprite.h"
00054 #include "Display/2D/sprite_description.h"
00055 #include "Display/2D/subtexture.h"
00056 #include "Display/2D/texture_group.h"
00057 #include "Display/2D/span_layout.h"
00058 #include "Display/2D/collidable_sprite.h"
00059 #include "Display/Collision/collision_outline.h"
00060 #include "Display/Collision/contour.h"
00061 #include "Display/Collision/outline_accuracy.h"
00062 #include "Display/Collision/outline_circle.h"
00063 #include "Display/Collision/outline_math.h"
00064 #include "Display/Collision/outline_provider.h"
00065 #include "Display/Collision/outline_provider_bitmap.h"
00066 #include "Display/Collision/outline_provider_file.h"
00067 #include "Display/Font/font.h"
00068 #include "Display/Font/font_description.h"
00069 #include "Display/Font/font_system.h"
00070 #include "Display/Font/font_sprite.h"
00071 #include "Display/Font/font_metrics.h"
00072 #include "Display/Font/font_freetype.h"
00073 #include "Display/Font/font_vector.h"
00074 #include "Display/Image/palette.h"
00075 #include "Display/Image/pixel_buffer.h"
00076 #include "Display/Image/pixel_buffer_help.h"
00077 #include "Display/Image/pixel_format.h"
00078 #include "Display/Image/icon_set.h"
00079 #include "Display/Image/perlin_noise.h"
00080 #include "Display/Image/image_import_description.h"
00081 #include "Display/ImageProviders/jpeg_compressor.h"
00082 #include "Display/ImageProviders/jpeg_decompressor.h"
00083 #include "Display/ImageProviders/jpeg_provider.h"
00084 #include "Display/ImageProviders/pcx_provider.h"
00085 #include "Display/ImageProviders/png_provider.h"
00086 #include "Display/ImageProviders/provider_factory.h"
00087 #include "Display/ImageProviders/provider_type.h"
00088 #include "Display/ImageProviders/provider_type_register.h"
00089 #include "Display/ImageProviders/targa_provider.h"
00090 #include "Display/Render/blend_mode.h"
00091 #include "Display/Render/buffer_control.h"
00092 #include "Display/Render/compare_function.h"
00093 #include "Display/Render/element_array_buffer.h"
00094 #include "Display/Render/frame_buffer.h"
00095 #include "Display/Render/graphic_context.h"
00096 #include "Display/Render/occlusion_query.h"
00097 #include "Display/Render/pen.h"
00098 #include "Display/Render/polygon_rasterizer.h"
00099 #include "Display/Render/primitives_array.h"
00100 #include "Display/Render/primitives_array_builder.h"
00101 #include "Display/Render/program_attribute.h"
00102 #include "Display/Render/program_object.h"
00103 #include "Display/Render/program_uniform.h"
00104 #include "Display/Render/render_batcher.h"
00105 #include "Display/Render/render_buffer.h"
00106 #include "Display/Render/shader_object.h"
00107 #include "Display/Render/shared_gc_data.h"
00108 #include "Display/Render/texture.h"
00109 #include "Display/Render/vertex_array_buffer.h"
00110 #include "Display/TargetProviders/cursor_provider.h"
00111 #include "Display/TargetProviders/display_target_provider.h"
00112 #include "Display/TargetProviders/display_window_provider.h"
00113 #include "Display/TargetProviders/element_array_buffer_provider.h"
00114 #include "Display/TargetProviders/pixel_buffer_provider.h"
00115 #include "Display/TargetProviders/font_provider.h"
00116 #include "Display/TargetProviders/frame_buffer_provider.h"
00117 #include "Display/TargetProviders/graphic_context_provider.h"
00118 #include "Display/TargetProviders/input_device_provider.h"
00119 #include "Display/TargetProviders/occlusion_query_provider.h"
00120 #include "Display/TargetProviders/program_object_provider.h"
00121 #include "Display/TargetProviders/render_buffer_provider.h"
00122 #include "Display/TargetProviders/render_window_provider.h"
00123 #include "Display/TargetProviders/shader_object_provider.h"
00124 #include "Display/TargetProviders/texture_provider.h"
00125 #include "Display/TargetProviders/vertex_array_buffer_provider.h"
00126 #include "Display/Window/cursor.h"
00127 #include "Display/Window/display_window.h"
00128 #include "Display/Window/display_window_description.h"
00129 #include "Display/Window/input_context.h"
00130 #include "Display/Window/input_device.h"
00131 #include "Display/Window/input_event.h"
00132 #include "Display/Window/input_state.h"
00133 #include "Display/Window/keys.h"
00134 
00135 #ifdef __cplusplus_cli
00136 #pragma managed(pop)
00137 #endif
00138 
00139 #if defined(_MSC_VER)
00140         #if !defined(_MT)
00141                 #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.
00142         #endif
00143         #if !defined(_DEBUG)
00144                 #if defined(CL_DLL)
00145                         #pragma comment(lib, "clanDisplay-dll.lib")
00146                         #pragma comment(lib, "libjpeg-dll.lib")
00147                         #pragma comment(lib, "libpng-dll.lib")
00148                         #pragma comment(lib, "freetype-dll.lib")
00149                 #elif defined(_DLL)
00150                         #pragma comment(lib, "clanDisplay-static-mtdll.lib")
00151                         #pragma comment(lib, "libjpeg-static-mtdll.lib")
00152                         #pragma comment(lib, "libpng-static-mtdll.lib")
00153                         #pragma comment(lib, "freetype-static-mtdll.lib")
00154                 #else
00155                         #pragma comment(lib, "clanDisplay-static-mt.lib")
00156                         #pragma comment(lib, "libjpeg-static-mt.lib")
00157                         #pragma comment(lib, "libpng-static-mt.lib")
00158                         #pragma comment(lib, "freetype-static-mt.lib")
00159                 #endif
00160         #else
00161                 #if defined(CL_DLL)
00162                         #pragma comment(lib, "clanDisplay-dll-debug.lib")
00163                         #pragma comment(lib, "libjpeg-dll-debug.lib")
00164                         #pragma comment(lib, "libpng-dll-debug.lib")
00165                         #pragma comment(lib, "freetype-dll-debug.lib")
00166                 #elif defined(_DLL)
00167                         #pragma comment(lib, "clanDisplay-static-mtdll-debug.lib")
00168                         #pragma comment(lib, "libjpeg-static-mtdll-debug.lib")
00169                         #pragma comment(lib, "libpng-static-mtdll-debug.lib")
00170                         #pragma comment(lib, "freetype-static-mtdll-debug.lib")
00171                 #else
00172                         #pragma comment(lib, "clanDisplay-static-mt-debug.lib")
00173                         #pragma comment(lib, "libjpeg-static-mt-debug.lib")
00174                         #pragma comment(lib, "libpng-static-mt-debug.lib")
00175                         #pragma comment(lib, "freetype-static-mt-debug.lib")
00176                 #endif
00177         #endif
00178         #pragma comment(lib, "winmm.lib")
00179         #pragma comment(lib, "dinput8.lib")
00180         #pragma comment(lib, "dxguid.lib")
00181 #endif