summaryrefslogtreecommitdiffstats
path: root/src/app/insertAspectRatioMenuItems.cpp
blob: d2baafcb32c0999240fd2a5696249dc3189c0eee (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
25
// Copyright 2005 Max Howell (max.howell@methylblue.com)
// See COPYING file for licensing information

#include <tqpopupmenu.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 );
   }
}