From: Andreas Frisch Date: Fri, 4 Jul 2008 12:40:31 +0000 (+0000) Subject: an experimental gui for the DVDBurn X-Git-Tag: 2.6.0~1073 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/f7ba19535c38284fff0fcb4c218aaa5f5513dc57 an experimental gui for the DVDBurn --- diff --git a/lib/python/Plugins/Extensions/DVDBurn/TitleList.py b/lib/python/Plugins/Extensions/DVDBurn/TitleList.py index 2bc51722..efbab91a 100644 --- a/lib/python/Plugins/Extensions/DVDBurn/TitleList.py +++ b/lib/python/Plugins/Extensions/DVDBurn/TitleList.py @@ -3,15 +3,26 @@ import DVDProject, DVDTitle, TitleList, TitleCutter from Screens.Screen import Screen from Components.ActionMap import HelpableActionMap, ActionMap from Components.Sources.List import List +from Components.Sources.StaticText import StaticText from enigma import eListboxPythonMultiContent, gFont, RT_HALIGN_LEFT class TitleList(Screen): skin = """ - - - - + + + + + + + + + + + + + + """ def __init__(self, session, project = None): @@ -31,6 +42,14 @@ class TitleList(Screen): "burnProject": (self.burnProject, _("Burn DVD"), _("Burn")), }) + self["key_red"] = StaticText(_("Add title")) + self["key_green"] = StaticText(_("Edit title")) + self["key_yellow"] = StaticText(_("Remove title")) + self["key_blue"] = StaticText(_("Save")) + + self["title_label"] = StaticText(_("Table of content to be burned to DVD:")) + self["statusbar"] = StaticText(_("When complete, press Key 0 to burn the collection!")) + self["actions"] = ActionMap(["OkCancelActions"], { "cancel": self.leave @@ -38,7 +57,7 @@ class TitleList(Screen): #Action("addTitle", self.addTitle) - self["titles"] = List(list = [ ], enableWrapAround = True, item_height=50, fonts = [gFont("Regular", 20)]) + self["titles"] = List(list = [ ], enableWrapAround = True, item_height=30, fonts = [gFont("Regular", 20)]) self.updateTitleList() #self["addTitle"] = ActionButton("titleactions", "addTitle")