39 #include "CEGUIConfig.h"
42 #include "CEGUIVersion.h"
48 #if (defined( __WIN32__ ) || defined( _WIN32 )) && !defined(CEGUI_STATIC)
49 # ifdef CEGUIBASE_EXPORTS
50 # define CEGUIEXPORT __declspec(dllexport)
52 # define CEGUIEXPORT __declspec(dllimport)
62 #if defined(_MSC_VER) && (_MSC_VER <= 1200)
63 # pragma warning(disable : 4786)
69 # if defined(_MSC_VER)
70 # pragma message("Macro definition of max detected - undefining")
71 # elif defined (__GNUC__)
72 # warning ("Macro definition of max detected - undefining")
77 # if defined(_MSC_VER)
78 # pragma message("Macro definition of min detected - undefining")
79 # elif defined (__GNUC__)
80 # warning ("Macro definition of min detected - undefining")
91 #if defined(_STLP_DEBUG) && defined(_MSC_VER) && (_MSC_VER >= 1200)
92 # if !defined(_STLPORT_VERSION)
100 #if defined(_MSC_VER) && (_MSC_VER <= 1200) && !defined(_STLPORT_VERSION)
101 # define ceguimin std::_cpp_min
102 # define ceguimax std::_cpp_max
104 # define ceguimin std::min
105 # define ceguimax std::max
117 # define CEGUI_TRY try
120 # define CEGUI_CATCH(e) catch (e)
123 # define CEGUI_THROW(e) throw e
125 #ifndef CEGUI_RETHROW
126 # define CEGUI_RETHROW throw
145 typedef unsigned long ulong;
146 typedef unsigned short ushort;
147 typedef unsigned int uint;
148 typedef unsigned char uchar;
150 typedef unsigned int uint32;
151 typedef unsigned short uint16;
152 typedef unsigned char uint8;
174 #define CEGUI_ALIGN_ELEMENTS_TO_PIXELS 1
189 #if defined(CEGUI_ALIGN_ELEMENTS_TO_PIXELS)
190 # define PixelAligned(x) ( (float)(int)(( x ) + (( x ) > 0.0f ? 0.5f : -0.5f)) )
192 # define PixelAligned(x) ( x )
199 #include "CEGUIForwardRefs.h"
202 #endif // end of guard _CEGUIBase_h_
std::ostream OutStream
Output stream class.
Definition: CEGUIBase.h:165
static const float DefaultNativeHorzRes
Default native horizontal resolution (for fonts and imagesets)
Definition: CEGUIBase.h:158
static const float DefaultNativeVertRes
Default native vertical resolution (for fonts and imagesets)
Definition: CEGUIBase.h:159