#include <fxdefs.h>
/********************************* Typedefs **********************************/
338
339 // Forward declarations
340 class FXObject;
341 class FXStream;
342 class FXString;
343
344
345 // Streamable types; these are fixed size!
346 typedef char FXchar;
347 typedef unsigned char FXuchar;
348 typedef FXuchar FXbool;
349 typedef unsigned short FXushort;
350 typedef short FXshort;
351 typedef unsigned int FXuint;
352 typedef int FXint;
353 typedef float FXfloat;
354 typedef double FXdouble;
355 typedef FXObject *FXObjectPtr;
31 #ifndef TRUE-
32 #define TRUE 1-
33 #endif-
34 #ifndef FALSE-
35 #define FALSE 0-
36 #endif-
40 #ifndef NULL-
41 #define NULL 0-
42 #endif
#define FXMAX(a,b) (((a)>(b))?(a):(b))
#define FXMIN(a,b) (((a)>(b))?(b):(a))
#define FXABS(val) (((val)>=0)?(val):-(val))
/// Clamp value x to range [lo..hi]-
#define FXCLAMP(lo,x,hi) ((x)<(lo)?(lo):((x)>(hi)?(hi):(x)))