From 5f44f7b187093ef290315b7f8766b540a31de35f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jun 2020 22:45:28 +0900 Subject: Initial code import from debian snapshot https://snapshot.debian.org/package/codeine/1.0.1-3.dfsg-3.1/ Signed-off-by: Michele Calgaro --- src/app/insertAspectRatioMenuItems.cpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/app/insertAspectRatioMenuItems.cpp (limited to 'src/app/insertAspectRatioMenuItems.cpp') diff --git a/src/app/insertAspectRatioMenuItems.cpp b/src/app/insertAspectRatioMenuItems.cpp new file mode 100644 index 0000000..353fe43 --- /dev/null +++ b/src/app/insertAspectRatioMenuItems.cpp @@ -0,0 +1,24 @@ +// Copyright 2005 Max Howell (max.howell@methylblue.com) +// See COPYING file for licensing information + +#include +#include + +QString i18n( const char *text ); + + +namespace Codeine +{ + void + insertAspectRatioMenuItems( QPopupMenu *menu ) + { + menu->insertItem( i18n( "Determine &Automatically" ), XINE_VO_ASPECT_AUTO ); + menu->insertSeparator(); + menu->insertItem( i18n( "&Square (1:1)" ), XINE_VO_ASPECT_SQUARE ); + menu->insertItem( i18n( "&4:3" ), XINE_VO_ASPECT_4_3 ); + menu->insertItem( i18n( "Ana&morphic (16:9)" ), XINE_VO_ASPECT_ANAMORPHIC ); + menu->insertItem( i18n( "&DVB (2.11:1)" ), XINE_VO_ASPECT_DVB ); + + menu->setItemChecked( XINE_VO_ASPECT_AUTO, true ); + } +} -- cgit v1.2.1