summaryrefslogtreecommitdiff
path: root/recordmydesktop
diff options
context:
space:
mode:
authorenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-11 17:43:36 +0000
committerenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-11 17:43:36 +0000
commit7c62e22ee05a1651faf1244a7144f4690d587929 (patch)
tree7f2886b21f2214bfb0ff39a5d622cd97b704f637 /recordmydesktop
parente6cacc0c9e00c58c0921f4c093d0f184f4b324dc (diff)
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
Diffstat (limited to 'recordmydesktop')
-rw-r--r--recordmydesktop/include/rmdtypes.h5
1 files changed, 5 insertions, 0 deletions
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
© All Rights Reserved