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.
Defines | |
| #define | PG_VERSIONNUM(X, Y, Z) ((X)*10000 + (Y)*100 + (Z)) |
| #define | define DLLLOCAL |
| #define | MAP_INC <map> |
| #define | STL_MAP std::map |
| #define | PG_TRY try |
| #define | PG_CATCH_ALL catch(...) |
| #define | PG_THROW(_ex_) throw _ex_ |
| #define | PG_RETHROW throw |
| #define | PG_NOTHROW throw() |
| #define | PG_UNWIND(action) catch(...) {action; throw;} |
| #define | PG_CATCH(_ex_, _name_) catch(_ex_& _name_) |
| #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 | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
calculate the minimum of 2 values
|
|
|
calculate the maximum of 2 values
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Internal widget ID. All internal widget ID's start at this value. |
|
|
|
1.4.2