[gegl] crop: give ui ranges to properties
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] crop: give ui ranges to properties
- Date: Sat, 26 Jul 2014 17:52:25 +0000 (UTC)
commit c62ccec3e207c7b5781c1aad9de7a3bddda2878a
Author: Øyvind Kolås <pippin gimp org>
Date: Sat Jul 26 12:33:54 2014 +0200
crop: give ui ranges to properties
operations/core/crop.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/operations/core/crop.c b/operations/core/crop.c
index 72b125f..c1afb08 100644
--- a/operations/core/crop.c
+++ b/operations/core/crop.c
@@ -23,18 +23,22 @@
#ifdef GEGL_PROPERTIES
property_double (x, _("X"), 0.0)
+ ui_range (0.0, 1024.0)
ui_meta ("unit", "pixel-coordinate")
ui_meta ("axis", "x")
property_double (y, _("Y"), 0.0)
+ ui_range (0.0, 1024.0)
ui_meta ("unit", "pixel-coordinate")
ui_meta ("axis", "y")
property_double (width, _("Width"), 10.0 )
+ ui_range (0.0, 1024.0)
ui_meta ("unit", "pixel-distance")
ui_meta ("axis", "x")
property_double (height, _("Height"), 10.0 )
+ ui_range (0.0, 1024.0)
ui_meta ("unit", "pixel-distance")
ui_meta ("axis", "y")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]