2
# __init__.py (template)
4
"""This module provides an interface to menu-generation templates.
6
libtovid.templates should provide an assortment of "plug-in" style templates
7
for menu generation, and perhaps one day also for disc layout or video encoding profiles).
16
"""Contains style attributes, including font, color, and alignment."""
17
def __init__(self, font='helvetica', fontsize=12, textcolor='white',
18
highlightcolor='green', selectcolor='red', align='center'):
20
self.fontsize = fontsize
21
self.textcolor = textcolor
22
self.highlightcolor = highlightcolor
23
self.selectcolor = selectcolor
33
-background IMAGE|VIDEO
43
-button-style rect|text|text-rect
46
-showcase-framestyle none|glass
58
-showcase-titles-align
88
-subtitles lang1 lang2 ...
89
-audio-lang chan1 chan2 ...