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