Sources/API/gui.h
1 /*
2 ** ClanLib SDK
3 ** Copyright (c) 1997-2013 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 "GUI/setup_gui.h"
41 #include "GUI/accelerator_table.h"
42 #include "GUI/accelerator_key.h"
43 #include "GUI/gui_component.h"
44 #include "GUI/gui_theme_part.h"
45 #include "GUI/gui_layout.h"
46 #include "GUI/gui_layout_corners.h"
47 #include "GUI/gui_message.h"
48 #include "GUI/gui_message_input.h"
49 #include "GUI/gui_message_resize.h"
50 #include "GUI/gui_message_focus_change.h"
51 #include "GUI/gui_message_activation_change.h"
52 #include "GUI/gui_message_close.h"
53 #include "GUI/gui_message_pointer.h"
54 #include "GUI/gui_manager.h"
55 #include "GUI/gui_window_manager.h"
56 #include "GUI/gui_window_manager_system.h"
57 #include "GUI/gui_window_manager_texture.h"
58 #include "GUI/gui_window_manager_texture_window.h"
59 #include "GUI/gui_window_manager_direct.h"
60 #include "GUI/Components/checkbox.h"
61 #include "GUI/Components/combobox.h"
62 #include "GUI/Components/folderbrowsedialog.h"
63 #include "GUI/Components/frame.h"
64 #include "GUI/Components/groupbox.h"
65 #include "GUI/Components/imageview.h"
66 #include "GUI/Components/label.h"
67 #include "GUI/Components/lineedit.h"
68 #include "GUI/Components/listview.h"
69 #include "GUI/Components/listview_header.h"
70 #include "GUI/Components/listview_column_data.h"
71 #include "GUI/Components/menubar.h"
72 #include "GUI/Components/message_box.h"
73 #include "GUI/Components/openfiledialog.h"
74 #include "GUI/Components/popupmenu.h"
75 #include "GUI/Components/progressbar.h"
76 #include "GUI/Components/push_button.h"
77 #include "GUI/Components/radiobutton.h"
78 #include "GUI/Components/dragbox.h"
79 #include "GUI/Components/savefiledialog.h"
80 #include "GUI/Components/scrollbar.h"
81 #include "GUI/Components/spin.h"
82 #include "GUI/Components/statusbar.h"
83 #include "GUI/Components/tab.h"
84 #include "GUI/Components/tab_page.h"
85 #include "GUI/Components/textedit.h"
86 #include "GUI/Components/toolbar.h"
87 #include "GUI/Components/window.h"
88 #include "GUI/Components/toolbar_item.h"
89 #include "GUI/Components/tooltip.h"
90 #include "GUI/Components/slider.h"
91 #include "GUI/Components/ribbon.h"
92 #include "GUI/Components/ribbon_menu.h"
93 #include "GUI/Components/ribbon_page.h"
94 #include "GUI/Components/ribbon_section.h"
95 #include "GUI/Providers/gui_layout_provider.h"
96 #include "GUI/Providers/gui_window_manager_provider.h"
97 
98 #ifdef __cplusplus_cli
99 #pragma managed(pop)
100 #endif
101 
102 #if defined(_MSC_VER)
103  #if !defined(_MT)
104  #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.
105  #endif
106  #if !defined(_DEBUG)
107  #if defined(DLL)
108  #pragma comment(lib, "clanGUI-dll.lib")
109  #pragma comment(lib, "clanCSSLayout-dll.lib")
110  #elif defined(_DLL)
111  #pragma comment(lib, "clanGUI-static-mtdll.lib")
112  #pragma comment(lib, "clanCSSLayout-static-mtdll.lib")
113  #else
114  #pragma comment(lib, "clanGUI-static-mt.lib")
115  #pragma comment(lib, "clanCSSLayout-static-mt.lib")
116  #endif
117  #else
118  #if defined(DLL)
119  #pragma comment(lib, "clanGUI-dll-debug.lib")
120  #pragma comment(lib, "clanCSSLayout-dll-debug.lib")
121  #elif defined(_DLL)
122  #pragma comment(lib, "clanGUI-static-mtdll-debug.lib")
123  #pragma comment(lib, "clanCSSLayout-static-mtdll-debug.lib")
124  #else
125  #pragma comment(lib, "clanGUI-static-mt-debug.lib")
126  #pragma comment(lib, "clanCSSLayout-static-mt-debug.lib")
127  #endif
128  #endif
129 #endif