summaryrefslogtreecommitdiffstats
path: root/src/app/insertAspectRatioMenuItems.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/insertAspectRatioMenuItems.cpp')
-rw-r--r--src/app/insertAspectRatioMenuItems.cpp24
1 files changed, 24 insertions, 0 deletions
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 ([email protected])
+// See COPYING file for licensing information
+
+#include <qpopupmenu.h>
+#include <xine.h>
+
+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 );
+ }
+}