Sources/API/ui.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 */
28 
31 
32 #pragma once
33 
34 #ifdef WIN32
35 #pragma warning( disable : 4786)
36 #endif
37 
38 #ifdef __cplusplus_cli
39 #pragma managed(push, off)
40 #endif
41 
42 #include "UI/Events/activation_change_event.h"
43 #include "UI/Events/close_event.h"
44 #include "UI/Events/event.h"
45 #include "UI/Events/focus_change_event.h"
46 #include "UI/Events/key_event.h"
47 #include "UI/Events/pointer_event.h"
48 #include "UI/Events/resize_event.h"
49 #include "UI/StandardViews/button_view.h"
50 #include "UI/StandardViews/image_view.h"
51 #include "UI/StandardViews/label_view.h"
52 #include "UI/StandardViews/progress_view.h"
53 #include "UI/StandardViews/scroll_view.h"
54 #include "UI/StandardViews/scrollbar_view.h"
55 #include "UI/StandardViews/slider_view.h"
56 #include "UI/StandardViews/span_layout_view.h"
57 #include "UI/StandardViews/text_field_view.h"
58 #include "UI/StandardViews/text_view.h"
59 #include "UI/StandardViews/window_view.h"
60 #include "UI/StandardViews/texture_view.h"
61 #include "UI/StandardViews/popup_view.h"
62 #include "UI/StandardViews/checkbox_view.h"
63 #include "UI/StandardViews/radiobutton_view.h"
64 #include "UI/StandardViews/spin_view.h"
65 #include "UI/StandardViews/listbox_view.h"
66 #include "UI/Image/image_source.h"
67 #include "UI/Style/style.h"
68 #include "UI/Style/style_cascade.h"
69 #include "UI/Style/style_dimension.h"
70 #include "UI/Style/style_get_value.h"
71 #include "UI/Style/style_property_parser.h"
72 #include "UI/Style/style_set_image.h"
73 #include "UI/Style/style_set_value.h"
74 #include "UI/Style/style_token.h"
75 #include "UI/Style/style_tokenizer.h"
76 #include "UI/Style/style_value_type.h"
77 #include "UI/SystemDialogs/open_file_dialog.h"
78 #include "UI/SystemDialogs/save_file_dialog.h"
79 #include "UI/SystemDialogs/folder_browse_dialog.h"
80 #include "UI/View/focus_policy.h"
81 #include "UI/View/root_view.h"
82 #include "UI/View/view.h"
83 #include "UI/View/view_geometry.h"
84 #include "UI/ViewController/view_controller.h"
85 #include "UI/UIThread/ui_thread.h"
86 
87 #ifdef __cplusplus_cli
88 #pragma managed(pop)
89 #endif
90 
91 #if defined(_MSC_VER)
92  #if !defined(_MT)
93  #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.
94  #endif
95  #if !defined(_DEBUG)
96  #if defined(DLL)
97  #pragma comment(lib, "clanUI-dll.lib")
98  #elif defined(_DLL)
99  #pragma comment(lib, "clanUI-static-mtdll.lib")
100  #else
101  #pragma comment(lib, "clanUI-static-mt.lib")
102  #endif
103  #else
104  #if defined(DLL)
105  #pragma comment(lib, "clanUI-dll-debug.lib")
106  #elif defined(_DLL)
107  #pragma comment(lib, "clanUI-static-mtdll-debug.lib")
108  #else
109  #pragma comment(lib, "clanUI-static-mt-debug.lib")
110  #endif
111  #endif
112 #endif