From cfdeec6fc8fabca7682c4c6fd2111b75fdfb527a Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 29 May 2012 16:27:41 +0200 Subject: Use ROI with (0,0) as starting coordinate --- src/uca-camera.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/uca-camera.c') diff --git a/src/uca-camera.c b/src/uca-camera.c index ba7d912..dc7d8d7 100644 --- a/src/uca-camera.c +++ b/src/uca-camera.c @@ -254,29 +254,29 @@ static void uca_camera_class_init(UcaCameraClass *klass) g_param_spec_uint(uca_camera_props[PROP_ROI_X], "Horizontal coordinate", "Horizontal coordinate", - 1, G_MAXUINT, 1, - G_PARAM_READABLE); + 0, G_MAXUINT, 1, + G_PARAM_READWRITE); camera_properties[PROP_ROI_Y] = g_param_spec_uint(uca_camera_props[PROP_ROI_Y], "Vertical coordinate", "Vertical coordinate", - 1, G_MAXUINT, 1, - G_PARAM_READABLE); + 0, G_MAXUINT, 1, + G_PARAM_READWRITE); camera_properties[PROP_ROI_WIDTH] = g_param_spec_uint(uca_camera_props[PROP_ROI_WIDTH], "Width", "Width of the region of interest", 1, G_MAXUINT, 1, - G_PARAM_READABLE); + G_PARAM_READWRITE); camera_properties[PROP_ROI_HEIGHT] = g_param_spec_uint(uca_camera_props[PROP_ROI_HEIGHT], "Height", "Height of the region of interest", 1, G_MAXUINT, 1, - G_PARAM_READABLE); + G_PARAM_READWRITE); camera_properties[PROP_EXPOSURE_TIME] = g_param_spec_double(uca_camera_props[PROP_EXPOSURE_TIME], -- cgit v1.2.3