[Rawstudio-commit] r2736 - trunk/src

Anders Kvist anders at kvistmail.dk
Mon Nov 9 01:03:25 CET 2009


Author: akv
Date: 2009-11-09 01:03:25 +0100 (Mon, 09 Nov 2009)
New Revision: 2736

Modified:
   trunk/src/rs-preview-widget.c
Log:
add 16:9 crop ratio - Patch by Edouard Gomez

Modified: trunk/src/rs-preview-widget.c
===================================================================
--- trunk/src/rs-preview-widget.c	2009-11-09 00:00:07 UTC (rev 2735)
+++ trunk/src/rs-preview-widget.c	2009-11-09 00:03:25 UTC (rev 2736)
@@ -947,6 +947,7 @@
 	const static gdouble aspect_43 = 4.0f/3.0f;
 	const static gdouble aspect_1008 = 10.0f/8.0f;
 	const static gdouble aspect_1610 = 16.0f/10.0f;
+	const static gdouble aspect_169 = 16.0f/9.0f;
 	const static gdouble aspect_83 = 8.0f/3.0f;
 	const static gdouble aspect_11 = 1.0f;
 	static gdouble aspect_iso216;
@@ -1001,6 +1002,7 @@
 	gui_confbox_add_entry(aspect_confbox, "4:3", _("4:3"), (gpointer) &aspect_43);
 	gui_confbox_add_entry(aspect_confbox, "10:8", _("10:8 (SXGA)"), (gpointer) &aspect_1008);
 	gui_confbox_add_entry(aspect_confbox, "16:10", _("16:10 (Wide XGA)"), (gpointer) &aspect_1610);
+	gui_confbox_add_entry(aspect_confbox, "16:9", _("16:9 (HDTV)"), (gpointer) &aspect_169);
 	gui_confbox_add_entry(aspect_confbox, "8:3", _("8:3 (Dualhead XGA)"), (gpointer) &aspect_83);
 	gui_confbox_add_entry(aspect_confbox, "1:1", _("1:1"), (gpointer) &aspect_11);
 	gui_confbox_add_entry(aspect_confbox, "goldenrectangle", _("Golden rectangle"), (gpointer) &aspect_golden);




More information about the Rawstudio-commit mailing list