summaryrefslogtreecommitdiffstats
path: root/src/app/insertAspectRatioMenuItems.cpp
blob: f0438a7754028d403713f1bdbe93eb3da6b98659 (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 ([email protected])
// See COPYING file for licensing information

#include <tdeactionclasses.h>
#include <tqpopupmenu.h>


TQString i18n( const char *text );


namespace Codeine
{
   void
   insertAspectRatioMenuItems(TDESelectAction *action)
   {
      TQStringList items(i18n("Determine &Automatically"));
      items.append(i18n("&Square (1:1)"));
      items.append(i18n("&4:3"));
      items.append(i18n("Ana&morphic (16:9)"));
      items.append(i18n("&DVB (2.11:1)"));

      action->setItems(items);
      action->popupMenu()->insertSeparator(1);
   }
}