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

Sources/API/ui.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*/
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/property_hash.h"
68#include "UI/Style/style.h"
69#include "UI/Style/style_cascade.h"
70#include "UI/Style/style_dimension.h"
71#include "UI/Style/style_get_value.h"
72#include "UI/Style/style_property_parser.h"
73#include "UI/Style/style_set_image.h"
74#include "UI/Style/style_set_value.h"
75#include "UI/Style/style_token.h"
76#include "UI/Style/style_tokenizer.h"
77#include "UI/Style/style_value_type.h"
78#include "UI/SystemDialogs/open_file_dialog.h"
79#include "UI/SystemDialogs/save_file_dialog.h"
80#include "UI/SystemDialogs/folder_browse_dialog.h"
81#include "UI/TopLevel/top_level_window.h"
82#include "UI/TopLevel/texture_window.h"
83#include "UI/TopLevel/view_tree.h"
84#include "UI/View/focus_policy.h"
85#include "UI/View/view.h"
86#include "UI/View/view_geometry.h"
87#include "UI/View/view_action.h"
88#include "UI/UIThread/ui_thread.h"
89
90#ifdef __cplusplus_cli
91#pragma managed(pop)
92#endif
93
94#if defined(_MSC_VER)
95 #if !defined(_MT)
96 #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.
97 #endif
98 #if !defined(_DEBUG)
99 #if defined(DLL)
100 #pragma comment(lib, "clanUI-dll.lib")
101 #elif defined(_DLL)
102 #pragma comment(lib, "clanUI-static-mtdll.lib")
103 #else
104 #pragma comment(lib, "clanUI-static-mt.lib")
105 #endif
106 #else
107 #if defined(DLL)
108 #pragma comment(lib, "clanUI-dll-debug.lib")
109 #elif defined(_DLL)
110 #pragma comment(lib, "clanUI-static-mtdll-debug.lib")
111 #else
112 #pragma comment(lib, "clanUI-static-mt-debug.lib")
113 #endif
114 #endif
115#endif