summaryrefslogtreecommitdiffstats
path: root/src/uca-camera.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-05-29 16:27:41 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-05-29 16:27:41 +0200
commitcfdeec6fc8fabca7682c4c6fd2111b75fdfb527a (patch)
tree4e01d44c1ecd04f2bd2975a498d6c8840c1a33f3 /src/uca-camera.c
parent1dde4920bfb1a257f2d2ea3b087124cf3cad6540 (diff)
downloaduca-cfdeec6fc8fabca7682c4c6fd2111b75fdfb527a.tar.gz
uca-cfdeec6fc8fabca7682c4c6fd2111b75fdfb527a.tar.bz2
uca-cfdeec6fc8fabca7682c4c6fd2111b75fdfb527a.tar.xz
uca-cfdeec6fc8fabca7682c4c6fd2111b75fdfb527a.zip
Use ROI with (0,0) as starting coordinate
Diffstat (limited to 'src/uca-camera.c')
-rw-r--r--src/uca-camera.c12
1 files changed, 6 insertions, 6 deletions
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],