Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

paragui.h File Reference


Detailed Description

The main include file.

This include file sets up the basic configuration for a ParaGUI enabled application. It includes all dependend headers (SDL,...) and defines some macros used by many other files.

Author:
Alexander Pipelka


Defines

#define PG_VERSIONNUM(X, Y, Z)   ((X)*10000 + (Y)*100 + (Z))
#define HASH_MAP_INC   <ext/hash_map>
#define MAP_INC   <ext/hash_map>
#define STL_MAP   std::hash_map
#define PG_TRY
#define PG_CATCH_ALL   if (false)
#define PG_THROW(_ex_)
#define PG_RETHROW
#define PG_NOTHROW
#define PG_UNWIND
#define PG_CATCH(_ex_, _name_)   if (false)
#define PG_WIDGETID_INTERNAL   10000
 Internal widget ID.

#define PG_MAX(a, b)   ((a<b) ? b : a)
 calculate the minimum of 2 values

#define PG_MIN(a, b)   ((a<b) ? a : b)
 calculate the maximum of 2 values


Define Documentation

#define HASH_MAP_INC   <ext/hash_map>
 

#define MAP_INC   <ext/hash_map>
 

#define PG_CATCH _ex_,
_name_   )     if (false)
 

#define PG_CATCH_ALL   if (false)
 

#define PG_MAX a,
 )     ((a<b) ? b : a)
 

calculate the minimum of 2 values

#define PG_MIN a,
 )     ((a<b) ? a : b)
 

calculate the maximum of 2 values

#define PG_NOTHROW
 

#define PG_RETHROW
 

#define PG_THROW _ex_   ) 
 

#define PG_TRY
 

#define PG_UNWIND
 

#define PG_VERSIONNUM X,
Y,
 )     ((X)*10000 + (Y)*100 + (Z))
 

#define PG_WIDGETID_INTERNAL   10000
 

Internal widget ID.

All internal widget ID's start at this value.

#define STL_MAP   std::hash_map
 



The ParaGUI Project - Alexander Pipelka