summaryrefslogtreecommitdiffstats
path: root/src/app/insertAspectRatioMenuItems.cpp
blob: 2e2824c6d39193c12a17b677b9ab788dcafdde7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2005 Max Howell ([email protected])
// See COPYING file for licensing information

#include <ntqpopupmenu.h>
#include <xine.h>

TQString i18n( const char *text );


namespace Codeine
{
   void
   insertAspectRatioMenuItems( TQPopupMenu *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 );
   }
}