From 7c62e22ee05a1651faf1244a7144f4690d587929 Mon Sep 17 00:00:00 2001 From: enselic Date: Thu, 11 Sep 2008 17:43:36 +0000 Subject: Added a boolean type for use until potentially introduced from elsewhere. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@506 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/include/rmdtypes.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'recordmydesktop') diff --git a/recordmydesktop/include/rmdtypes.h b/recordmydesktop/include/rmdtypes.h index 83dd0d9..db1e430 100644 --- a/recordmydesktop/include/rmdtypes.h +++ b/recordmydesktop/include/rmdtypes.h @@ -99,6 +99,11 @@ enum{ __PXL_AVERAGE //calculate the average of all four pixels }; +// Boolean type +typedef int boolean; +#define FALSE (0) +#define TRUE (!FALSE) + typedef struct _DisplaySpecs{ //this struct holds some basic information int screen; //about the display,needed mostly for unsigned int width; //validity checks at startup -- cgit v1.2.3