Permalink
Browse files

Add a popup for metadata lookup.

  • Loading branch information...
managementboy committed Jul 19, 2011
1 parent 0d0c584 commit 5d3120988e49749fafe97469298725268b836ce4
Showing with 2,250 additions and 1,928 deletions.
  1. +64 −7 base.xml
  2. +167 −1 osd.xml
  3. +3 −31 recordings-ui.xml
  4. +2,016 −1,889 schedule-ui.xml
View
@@ -567,9 +567,7 @@
<statetype name="buttonstate">
<loadondemand>true</loadondemand>
<state name="active">
<imagetype name="background">
<area>0,0,380,30</area>
<filename>buttonbackground-380x30.png</filename>
<alpha>150</alpha>
@@ -617,7 +615,68 @@
</state>
</statetype>
</button>
<button name="basemenubutton">
<area>0,0,580,40</area>
<layout>horizontal</layout>
<position>0,0</position>
<statetype name="buttonstate">
<loadondemand>true</loadondemand>
<state name="active">
<imagetype name="background">
<area>30,0,520,40</area>
<filename>spinbox-520x40.png</filename>
<alpha>150</alpha>
</imagetype>
<textarea name="text">
<area>30,0,520,40</area>
<align>allcenter</align>
<font>basesmall</font>
<cutdown>yes</cutdown>
</textarea>
</state>
<state name="selected" from="active">
<imagetype name="background">
<alpha>200</alpha>
</imagetype>
<textarea name="text">
<font>basebuttontitle</font>
</textarea>
</state>
<state name="inactive" from="active">
<imagetype name="buttonbackground">
<alpha>127</alpha>
</imagetype>
<textarea name="text">
<alpha>127</alpha>
</textarea>
</state>
<state name="disabled" from="active">
<imagetype name="background">
<alpha>30</alpha>
</imagetype>
<textarea name="text">
<alpha>30</alpha>
</textarea>
</state>
<state name="pushed" from="active">
<imagetype name="background">
<alpha>255</alpha>
</imagetype>
</state>
</statetype>
</button>
<!-- Base definition of a search button -->
<button name="basesearchbutton">
@@ -1924,11 +1983,10 @@
<area>5,0,55,55</area>
<preserveaspect>true</preserveaspect>
</imagetype>
<textarea name="buttontext">
<textarea name="resolution">
<area>60,0,430,55</area>
<align>allcenter</align>
<font>basesmall</font>
<template>%RESOLUTION% %HEIGHT%x%WIDTH%</template>
<cutdown>yes</cutdown>
</textarea>
</state>
@@ -1941,12 +1999,11 @@
<area>5,0,140,140</area>
<preserveaspect>true</preserveaspect>
</imagetype>
<textarea name="buttontext">
<textarea name="resolution">
<area>150,0,430,140</area>
<font>basebuttontitle</font>
<align>allcenter</align>
<multiline>yes</multiline>
<template>%RESOLUTION% %HEIGHT%x%WIDTH%</template>
<cutdown>yes</cutdown>
</textarea>
</state>
View
168 osd.xml
@@ -391,7 +391,6 @@
<alpha>255</alpha>
</textarea>
<imagetype name="1640x140">
<area>20,890,1640,140</area>
<filename>OSD/1640x140.png</filename>
@@ -666,4 +665,171 @@
</statetype>
</buttonlist>
</window>
<window name="osd_debug">
<area>0,0,1680,1050</area>
<imagetype name="statusbar" from="basestatusbar" />
<clock name="clock" from="baseclock" />
<fontdef name="medium" face="DejaVu Sans">
<pixelsize>16</pixelsize>
<color>#FFFFFF</color>
</fontdef>
<fontdef name="file" from="medium">
<color>#CCCCFF</color>
</fontdef>
<textarea name="file">
<font>file</font>
<area>5,5,180,25</area>
<align>right,vcenter</align>
<value>Filename :</value>
</textarea>
<textarea name="filename">
<font>file</font>
<area>190,5,980,25</area>
<align>left,vcenter</align>
</textarea>
<textarea name="storage">
<font>medium</font>
<area>5,30,180,25</area>
<align>right,vcenter</align>
<value>Storage to Buffer :</value>
</textarea>
<textarea name="storagerate">
<font>medium</font>
<area>190,30,200,25</area>
<align>left,vcenter</align>
</textarea>
<textarea name="decoder">
<font>medium</font>
<area>5,55,180,25</area>
<align>right,vcenter</align>
<value>Buffer to Decoder :</value>
</textarea>
<textarea name="decoderrate">
<font>medium</font>
<area>190,55,605,25</area>
<align>left,vcenter</align>
</textarea>
<textarea name="buffer">
<font>medium</font>
<area>5,80,180,25</area>
<align>right,vcenter</align>
<value>Available Buffer :</value>
</textarea>
<textarea name="bufferavail">
<font>medium</font>
<area>190,80,605,25</area>
<align>left,vcenter</align>
<template>%BUFFERAVAIL% of %BUFFERSIZE%Mb</template>
</textarea>
<textarea name="video">
<font>medium</font>
<area>260,30,150,25</area>
<align>right,vcenter</align>
<value>Video :</value>
</textarea>
<textarea name="videowidth">
<font>medium</font>
<area>415,30,250,25</area>
<align>left,vcenter</align>
<template>%VIDEOWIDTH%x%VIDEOHEIGHT%@%VIDEOFRAMERATE%fps</template>
</textarea>
<textarea name="vidcodec">
<font>medium</font>
<area>260,55,150,25</area>
<align>right,vcenter</align>
<value>Codec/Dec :</value>
</textarea>
<textarea name="videocodec">
<font>medium</font>
<area>415,55,150,25</area>
<align>left,vcenter</align>
<template>%VIDEOCODEC% %VIDEODECODER%</template>
</textarea>
<textarea name="cpuload">
<font>medium</font>
<area>260,80,150,25</area>
<align>right,vcenter</align>
<value>CPUs :</value>
</textarea>
<textarea name="load">
<font>medium</font>
<area>415,80,200,25</area>
<align>left,vcenter</align>
</textarea>
<textarea name="fps">
<font>medium</font>
<area>600,30,200,25</area>
<align>right,vcenter</align>
<value>FPS :</value>
</textarea>
<textarea name="framerate">
<font>medium</font>
<area>805,30,250,25</area>
<align>left,vcenter</align>
</textarea>
<textarea name="sync">
<font>medium</font>
<area>650,55,150,25</area>
<align>right,vcenter</align>
<value>A/V Sync :</value>
</textarea>
<textarea name="avsync">
<font>medium</font>
<area>805,55,150,25</area>
<align>left,vcenter</align>
</textarea>
<textarea name="frames">
<font>medium</font>
<area>600,80,200,25</area>
<align>right,vcenter</align>
<value>Frames decoded/free :</value>
</textarea>
<textarea name="videoframes">
<font>medium</font>
<area>805,80,250,25</area>
<align>left,vcenter</align>
</textarea>
<textarea name="audio">
<font>medium</font>
<area>865,30,150,25</area>
<align>right,vcenter</align>
<value>Audio :</value>
</textarea>
<textarea name="audiocodec">
<font>medium</font>
<area>1020,30,250,25</area>
<align>left,vcenter</align>
</textarea>
<textarea name="channels">
<font>medium</font>
<area>865,55,150,25</area>
<align>right,vcenter</align>
<value>Channels :</value>
</textarea>
<textarea name="audiochannels">
<font>medium</font>
<area>1020,55,150,25</area>
<align>left,vcenter</align>
</textarea>
<textarea name="audiorate">
<font>medium</font>
<area>865,80,150,25</area>
<align>right,vcenter</align>
<value>Sample rate :</value>
</textarea>
<textarea name="samplerate">
<font>medium</font>
<area>1020,80,150,25</area>
<align>left,vcenter</align>
</textarea>
</window>
</mythuitheme>
View
@@ -702,35 +702,7 @@
<value>OK</value>
</button>
</window>
<!-- <window name="editmetadata">
<area>-1,-1,600,800</area>
<imagetype name="backimg">
<filename>MythPopupBox-background.png</filename>
</imagetype>
<textarea name="label" from="basemessagearea">
<value>Edit Recording Metadata</value>
</textarea>
<textarea name="titlelabel" from="basetextarea">
<area>20,260,550,30</area>
<value>Title:</value>
</textarea>
<textedit name="title" from="basetexteditwide">
<position>20,300</position>
</textedit>
<textarea name="subtitlelabel" from="basetextarea">
<area>20,360,550,30</area>
<value>Subtitle:</value>
</textarea>
<textedit name="subtitle" from="basetexteditwide">
<position>20,400</position>
</textedit>
<button name="ok" from="basepopupbuttonok">
<position>5,705</position>
<value>OK</value>
</button>
</window>-->
<window name="editmetadata">
<area>-1,-1,600,800</area>
@@ -739,7 +711,7 @@
</imagetype>
<textarea name="header">
<value>Edit Video Information</value>
<value>Edit Metadata Information</value>
<font>base</font>
<area>5,5,590,100</area>
<multiline>yes</multiline>
@@ -805,7 +777,7 @@
</textedit>
<button name="ok" from="basepopupbuttonok">
<position>10,730</position>
<position>10,735</position>
<value>OK</value>
</button>
Oops, something went wrong.

0 comments on commit 5d31209

Please sign in to comment.