00001
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef __MYGUI_PREREQUEST_H__
00026 #define __MYGUI_PREREQUEST_H__
00027
00028 #include "MyGUI_Platform.h"
00029
00030 #if MYGUI_COMPILER == MYGUI_COMPILER_MSVC
00031 # ifndef _CRT_SECURE_NO_WARNINGS
00032 # define _CRT_SECURE_NO_WARNINGS
00033 # endif
00034 # ifdef MYGUI_CHECK_MEMORY_LEAKS
00035 # define _CRTDBG_MAP_ALLOC
00036 # include <stdlib.h>
00037 # include <crtdbg.h>
00038 # endif
00039 #endif
00040
00041 #define MYGUI_DEFINE_VERSION(major, minor, patch) ((major << 16) | (minor << 8) | patch)
00042
00043 #ifndef MYGUI_DONT_REPLACE_NULLPTR
00044 #if MYGUI_COMPILER == MYGUI_COMPILER_MSVC
00045 #ifndef _MANAGED
00046 #define nullptr 0
00047 #endif
00048 #else
00049 #define nullptr 0
00050 #endif
00051 #endif
00052
00053 namespace MyGUI
00054 {
00055
00056 class Gui;
00057 class IWidgetCreator;
00058
00059
00060 class LogManager;
00061 class InputManager;
00062 class SubWidgetManager;
00063 class LayerManager;
00064 class SkinManager;
00065 class WidgetManager;
00066 class FontManager;
00067 class ControllerManager;
00068 class PointerManager;
00069 class ClipboardManager;
00070 class LayoutManager;
00071 class PluginManager;
00072 class DynLibManager;
00073 class LanguageManager;
00074 class ResourceManager;
00075 class RenderManager;
00076 class FactoryManager;
00077 class TextureManager;
00078
00079 class IWidgetFactory;
00080
00081 class DynLib;
00082
00083 namespace factory
00084 {
00085 template <typename T>
00086 class BaseWidgetFactory;
00087 }
00088
00089 class Widget;
00090 class Button;
00091 class Window;
00092 class List;
00093 class HScroll;
00094 class VScroll;
00095 class Edit;
00096 class ComboBox;
00097 class StaticText;
00098 class Tab;
00099 class TabItem;
00100 class Progress;
00101 class ItemBox;
00102 class MultiList;
00103 class StaticImage;
00104 class Message;
00105 class MenuCtrl;
00106 class MenuItem;
00107 class PopupMenu;
00108 class MenuBar;
00109 class ScrollView;
00110 class DDContainer;
00111 class Canvas;
00112 class ListCtrl;
00113 class ListBox;
00114
00115 typedef Widget* WidgetPtr;
00116 typedef Button* ButtonPtr;
00117 typedef Window* WindowPtr;
00118 typedef List* ListPtr;
00119 typedef HScroll* HScrollPtr;
00120 typedef VScroll* VScrollPtr;
00121 typedef Edit* EditPtr;
00122 typedef ComboBox* ComboBoxPtr;
00123 typedef StaticText* StaticTextPtr;
00124 typedef Tab* TabPtr;
00125 typedef TabItem* TabItemPtr;
00126 typedef Progress* ProgressPtr;
00127 typedef ItemBox* ItemBoxPtr;
00128 typedef MultiList* MultiListPtr;
00129 typedef StaticImage* StaticImagePtr;
00130 typedef Message* MessagePtr;
00131 typedef MenuCtrl* MenuCtrlPtr;
00132 typedef MenuItem* MenuItemPtr;
00133 typedef PopupMenu* PopupMenuPtr;
00134 typedef MenuBar* MenuBarPtr;
00135 typedef ScrollView* ScrollViewPtr;
00136 typedef DDContainer* DDContainerPtr;
00137 typedef Canvas* CanvasPtr;
00138 typedef ListCtrl* ListCtrlPtr;
00139 typedef ListBox* ListBoxPtr;
00140
00141 #ifndef MYGUI_DONT_USE_OBSOLETE
00142
00143 typedef TabItem Sheet;
00144 typedef TabItem* SheetPtr;
00145 typedef Canvas RenderBox;
00146 typedef Canvas* RenderBoxPtr;
00147
00148 #endif // MYGUI_DONT_USE_OBSOLETE
00149
00150
00151 #define MYGUI_VERSION_MAJOR 3
00152 #define MYGUI_VERSION_MINOR 0
00153 #define MYGUI_VERSION_PATCH 3
00154
00155 #define MYGUI_VERSION MYGUI_DEFINE_VERSION(MYGUI_VERSION_MAJOR, MYGUI_VERSION_MINOR, MYGUI_VERSION_PATCH)
00156
00157
00158 #if MYGUI_COMPILER == MYGUI_COMPILER_MSVC
00159
00160
00161
00162 # pragma warning (disable : 4786)
00163
00164
00165
00166 # pragma warning (disable : 4503)
00167
00168
00169 # pragma warning (disable : 4244)
00170
00171
00172 # pragma warning (disable : 4305)
00173
00174
00175
00176 # pragma warning (disable : 4251)
00177
00178
00179
00180
00181 # pragma warning (disable : 4275)
00182
00183
00184
00185
00186 # pragma warning( disable : 4290 )
00187
00188
00189
00190
00191 # pragma warning( disable: 4661)
00192
00193 #endif
00194
00195 }
00196
00197 #endif // __MYGUI_PREREQUEST_H__