36 #include "CEGUI/Config.h"
39 #include "CEGUI/Version.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)
99 #if defined(_MSC_VER) && (_MSC_VER <= 1200) && !defined(_STLPORT_VERSION)
100 # define ceguimin std::_cpp_min
101 # define ceguimax std::_cpp_max
103 # define ceguimin std::min
104 # define ceguimax std::max
116 # define CEGUI_TRY try
119 # define CEGUI_CATCH(e) catch (e)
122 # define CEGUI_THROW(e) throw e
124 #ifndef CEGUI_RETHROW
125 # define CEGUI_RETHROW throw
130 #if defined(_MSC_VER)
131 # define CEGUI_FUNCTION_NAME CEGUI::String(__FUNCSIG__)
132 #elif defined(__GNUC__)
133 # define CEGUI_FUNCTION_NAME CEGUI::String(__PRETTY_FUNCTION__)
134 #elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
135 # define CEGUI_FUNCTION_NAME CEGUI::String(__func__)
137 # define CEGUI_FUNCTION_NAME CEGUI::String("[Function name unavailable]")
141 #define CEGUI_UNUSED(var) (static_cast<void>(var))
159 typedef unsigned long ulong;
160 typedef unsigned short ushort;
161 typedef unsigned int uint;
162 typedef unsigned char uchar;
164 typedef long long int64;
167 typedef signed char int8;
169 typedef unsigned long long uint64;
170 typedef unsigned int uint32;
171 typedef unsigned short uint16;
172 typedef unsigned char uint8;
189 #define CEGUI_CALL_MEMBER_FN(object, ptrToMember) ((object).*(ptrToMember))
194 #include "CEGUI/ForwardRefs.h"
195 #include "CEGUI/MemoryAllocation.h"
197 #endif // end of guard _CEGUIBase_h_
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
std::ostream OutStream
Output stream class.
Definition: Base.h:185
static const float DefaultNativeHorzRes
Default native horizontal resolution (for fonts and imagesets)
Definition: Base.h:178
static const float DefaultNativeVertRes
Default native vertical resolution (for fonts and imagesets)
Definition: Base.h:179