From 4a5e2f9337cfd1c4710fd86a79dcfd650b47bfa6 Mon Sep 17 00:00:00 2001 From: stan Date: Sat, 25 Sep 2004 18:26:09 +0000 Subject: [PATCH] Made brightness etc signed. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1115 e3e1d417-86f3-4887-817a-d78f3d33393f --- src/zm_camera.h | 8 ++++---- src/zm_monitor.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/zm_camera.h b/src/zm_camera.h index 199b17d55..dce07d8d4 100644 --- a/src/zm_camera.h +++ b/src/zm_camera.h @@ -40,10 +40,10 @@ protected: unsigned int height; unsigned int palette; unsigned int colours; - unsigned int brightness; - unsigned int hue; - unsigned int colour; - unsigned int contrast; + int brightness; + int hue; + int colour; + int contrast; bool capture; public: diff --git a/src/zm_monitor.h b/src/zm_monitor.h index 205879078..3ab823d80 100644 --- a/src/zm_monitor.h +++ b/src/zm_monitor.h @@ -81,10 +81,10 @@ protected: unsigned int height; // Normally the same as the camera, but not if partly rotated RunMode run_mode; // Whether the monitor is running continuously or is triggered Orientation orientation; // Whether the image has to be rotated at all - unsigned int brightness; // The statically saved brightness of the camera - unsigned int contrast; // The statically saved contrast of the camera - unsigned int hue; // The statically saved hue of the camera - unsigned int colour; // The statically saved colour of the camera + int brightness; // The statically saved brightness of the camera + int contrast; // The statically saved contrast of the camera + int hue; // The statically saved hue of the camera + int colour; // The statically saved colour of the camera char event_prefix[64]; // The prefix applied to event names as they are created char label_format[64]; // The format of the timestamp on the images Coord label_coord; // The coordinates of the timestamp on the images