skin- patch to make 3 and 4 digit negative delays (<=-100ms) readable
[enigma2-plugins.git] / ac3lipsync / src / AC3utils.py
1 AC3 = "AC3"
2 PCM = "PCM"
3 AC3GLOB = "AC3GLOB"
4 PCMGLOB = "PCMGLOB"
5 AC3PCM = (AC3,PCM,AC3GLOB,PCMGLOB)
6
7 PLUGIN_BASE = "AudioSync"
8 PLUGIN_VERSION = "1.1"
9
10 MOVEPOSITIONSTEP = 10
11        
12 SKIN = """
13         <screen flags="wfNoBorder" position="30,30" size="600,460" title="Audio Sync" zPosition="1" backgroundColor="#ff000000">
14             <ePixmap pixmap="~/img/AudioSyncBG.png" zPosition="1" position="0,0" size="600,460" alphatest="on" transparent="1" />
15             <widget name="ChannelLabel" zPosition="2" position="33,40" size="130,20" font="Regular;14" halign="center" valign="center" transparent="1" backgroundColor="#232323" foregroundColors="#ffffff,#fe6b1b"/>
16             <widget name="ChannelImg" pixmaps="~/img/OptionButtonOff.png,~/img/OptionButtonOn.png" position="20,43" zPosition="2" size="11,11" transparent="1" alphatest="on"/>
17             <widget name="GlobalLabel" zPosition="2" position="178,40" size="110,20" font="Regular;14" halign="center" valign="center" transparent="1" backgroundColor="#232323" foregroundColors="#ffffff,#fe6b1b"/>
18             <widget name="GlobalImg" pixmaps="~/img/OptionButtonOff.png,~/img/OptionButtonOn.png" position="165,43" zPosition="2" size="11,11" transparent="1" alphatest="on"/>
19             <ePixmap pixmap="~/img/AudioSyncBarBGVert.png" zPosition="2" position="30,70" size="21,370" alphatest="on" transparent="1" />
20             <widget name="AudioSliderBar" pixmap="~/img/AudioSyncBarVert.png" zPosition="3" position="30,70" size="21,370" transparent="1" orientation="orBottomToTop"/>
21             <widget name="AudioSlider" zPosition="4" position="5,245" size="70,20" font="Regular;14" halign="center" valign="center" backgroundColor="#232323" foregroundColor="#eeeeee" transparent="1"/>
22             <widget name="ServiceInfoLabel" zPosition="4" position="20,15" size="65,20" font="Regular;14" backgroundColor="#232323" foregroundColor="#dddddd" transparent="1" />
23             <widget name="ServiceInfo" zPosition="4" position="90,15" size="200,20" font="Regular;14" backgroundColor="#232323" foregroundColor="#ffffff" transparent="1" />
24             <ePixmap pixmap="~/img/key-green.png" position="290,15" zPosition="5" size="20,20" transparent="1" alphatest="on" />
25             <ePixmap pixmap="~/img/key-red.png" position="290,40" zPosition="5" size="20,20" transparent="1" alphatest="on" />
26             <ePixmap pixmap="~/img/key-yellow.png" position="400,15" zPosition="5" size="20,20" transparent="1" alphatest="on" />
27             <ePixmap pixmap="~/img/key-blue.png" position="400,40" zPosition="5" size="20,20" transparent="1" alphatest="on" />
28             <widget name="key_green" position="315,15" zPosition="4" size="85,20"
29                 font="Regular;14" valign="center" halign="left" backgroundColor="#232323" foregroundColor="#ffffff" transparent="1"/>
30             <widget name="key_red" position="315,40" zPosition="4" size="85,20"
31                 font="Regular;14" valign="center" halign="left" backgroundColor="#232323" foregroundColor="#ffffff" transparent="1"/>
32             <widget name="key_yellow" position="425,15" zPosition="4" size="160,20"
33                 font="Regular;14" valign="center" halign="left" backgroundColor="#232323" foregroundColor="#ffffff" transparent="1" />
34             <widget name="key_blue" position="425,40" zPosition="4" size="160,20"
35                 font="Regular;14" valign="center" halign="left" backgroundColor="#232323" foregroundColor="#ffffff" transparent="1" />
36         </screen>"""