All pastes #291745 Raw Edit

man todisc excerpt: styles

public text v1 · immutable
#291745 ·published 2006-12-25 18:00 UTC
rendered paste body
At present there are 3 display arrangements or "templates":

1. The default style 2. showcase style   3. textmenu style

   1. No extra args needed. Thumbs will be centred, and as large as space restraints allow.

   2. -showcase IMAGE|VIDEO : will produce an arrangement with small buttons on
   the side and the showcase image/video in the centre.
   If no IMAGE or VIDEO argument is supplied, the central thumb will be omitted.

   3. -textmenu : no thumbs will be made, text will be used instead.  You can
   still make an animated menu however by using a video for the background.
   (-background VIDEO)

The  -titles  arguments  should  be  double-quoted, with special characters (like ", !, *, &, ?) back-
slash-escaped. These titles are used for labelling thumbnails on the main menu, and  for  the  submenu
title for that video.  ( see also -submenu-titles )

The -showcase and -textmenu styles can use longer titles that the default arrangement.  With -showcase
style, use: "-showcase-titles-align  west"  to  give  more  space  for  the  title,  or  use  ""-show-
case-titles-align east" to allow titles of more than one line.

The  default  style  can  only  show  about 16 characters (depending on the number of thumbs, and what
-thumb-font and -thumb-fontsize you use).  If your titles are too long to fit in the label  area,  you
may try using sub-menus, which can display longer titles, for example:

  $ todisc -submenus \
           -files file1.mpg file2.mpg ... \
           -titles "Short 1" "Short 2" \
           -submenu-titles "Long Title One" "Long Title Two" \
           -out foo

The  "-align" argument will position both titles and thumbs either south, north east, west, southwest,
northwest, southeast, northeast, subject to certain constraints of each arrangement.