Sources/API/ui.h
1 /*
2 ** ClanLib SDK
3 ** Copyright (c) 1997-2016 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/Controller/window_controller.h"
43 #include "UI/Controller/window_manager.h"
44 #include "UI/Events/activation_change_event.h"
45 #include "UI/Events/close_event.h"
46 #include "UI/Events/event.h"
47 #include "UI/Events/focus_change_event.h"
48 #include "UI/Events/key_event.h"
49 #include "UI/Events/pointer_event.h"
50 #include "UI/Events/resize_event.h"
51 #include "UI/StandardViews/button_view.h"
52 #include "UI/StandardViews/image_view.h"
53 #include "UI/StandardViews/label_view.h"
54 #include "UI/StandardViews/progress_view.h"
55 #include "UI/StandardViews/scroll_view.h"
56 #include "UI/StandardViews/scrollbar_view.h"
57 #include "UI/StandardViews/slider_view.h"
58 #include "UI/StandardViews/span_layout_view.h"
59 #include "UI/StandardViews/text_field_view.h"
60 #include "UI/StandardViews/text_view.h"
61 #include "UI/StandardViews/checkbox_view.h"
62 #include "UI/StandardViews/radiobutton_view.h"
63 #include "UI/StandardViews/spin_view.h"
64 #include "UI/StandardViews/listbox_view.h"
65 #include "UI/StandardViews/layout_views.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/TopLevel/top_level_window.h"
81 #include "UI/TopLevel/texture_window.h"
82 #include "UI/TopLevel/view_tree.h"
83 #include "UI/View/focus_policy.h"
84 #include "UI/View/view.h"
85 #include "UI/View/view_geometry.h"
86 #include "UI/View/view_action.h"
87 #include "UI/UIThread/ui_thread.h"
88 
89 #ifdef __cplusplus_cli
90 #pragma managed(pop)
91 #endif
92 
93 #if defined(_MSC_VER)
94  #if !defined(_MT)
95  #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.
96  #endif
97  #if !defined(_DEBUG)
98  #if defined(DLL)
99  #pragma comment(lib, "clanUI-dll.lib")
100  #elif defined(_DLL)
101  #pragma comment(lib, "clanUI-static-mtdll.lib")
102  #else
103  #pragma comment(lib, "clanUI-static-mt.lib")
104  #endif
105  #else
106  #if defined(DLL)
107  #pragma comment(lib, "clanUI-dll-debug.lib")
108  #elif defined(_DLL)
109  #pragma comment(lib, "clanUI-static-mtdll-debug.lib")
110  #else
111  #pragma comment(lib, "clanUI-static-mt-debug.lib")
112  #endif
113  #endif
114 #endif