ClanLib  2.3.7
gui.h
Go to the documentation of this file.
1 /*
2 ** ClanLib SDK
3 ** Copyright (c) 1997-2011 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"
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"
52 #include "GUI/gui_message_close.h"
54 #include "GUI/gui_manager.h"
55 #include "GUI/gui_window_manager.h"
60 #include "GUI/gui_theme.h"
61 #include "GUI/gui_theme_default.h"
62 #include "GUI/gui_theme_part.h"
67 #include "GUI/Components/frame.h"
70 #include "GUI/Components/label.h"
76 #include "GUI/Components/menubar.h"
85 #include "GUI/Components/spin.h"
87 #include "GUI/Components/tab.h"
90 #include "GUI/Components/toolbar.h"
92 #include "GUI/Components/tooltip.h"
93 #include "GUI/Components/slider.h"
94 #include "GUI/Components/window.h"
98 
99 #ifdef __cplusplus_cli
100 #pragma managed(pop)
101 #endif
102 
103 #if defined(_MSC_VER)
104  #if !defined(_MT)
105  #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.
106  #endif
107  #if !defined(_DEBUG)
108  #if defined(CL_DLL)
109  #pragma comment(lib, "clanGUI-dll.lib")
110  #pragma comment(lib, "clanCSSLayout-dll.lib")
111  #elif defined(_DLL)
112  #pragma comment(lib, "clanGUI-static-mtdll.lib")
113  #pragma comment(lib, "clanCSSLayout-static-mtdll.lib")
114  #else
115  #pragma comment(lib, "clanGUI-static-mt.lib")
116  #pragma comment(lib, "clanCSSLayout-static-mt.lib")
117  #endif
118  #else
119  #if defined(CL_DLL)
120  #pragma comment(lib, "clanGUI-dll-debug.lib")
121  #pragma comment(lib, "clanCSSLayout-dll-debug.lib")
122  #elif defined(_DLL)
123  #pragma comment(lib, "clanGUI-static-mtdll-debug.lib")
124  #pragma comment(lib, "clanCSSLayout-static-mtdll-debug.lib")
125  #else
126  #pragma comment(lib, "clanGUI-static-mt-debug.lib")
127  #pragma comment(lib, "clanCSSLayout-static-mt-debug.lib")
128  #endif
129  #endif
130 #endif