From: Stefan Pluecken Date: Mon, 28 Nov 2005 00:11:25 +0000 (+0000) Subject: add ugly buttons with ugly text to the infobar X-Git-Tag: 2.6.0~4927 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/99e66edd91b058d8b5869f900cab9b2f40cd37d5 add ugly buttons with ugly text to the infobar --- diff --git a/data/button_blue.png b/data/button_blue.png new file mode 100644 index 00000000..e69de29b diff --git a/data/button_green.png b/data/button_green.png new file mode 100644 index 00000000..e69de29b diff --git a/data/button_red.png b/data/button_red.png new file mode 100644 index 00000000..e69de29b diff --git a/data/button_yellow.png b/data/button_yellow.png new file mode 100644 index 00000000..e69de29b diff --git a/data/skin.xml b/data/skin.xml index f93baf36..91219277 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -159,14 +159,33 @@ + + + + + + + - - - + + diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index e101cd25..5666fc8e 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -6,7 +6,7 @@ from Components.config import configfile, configsequencearg from Components.config import config, configElement, ConfigSubsection, configSequence from ChannelSelection import ChannelSelection -from Components.Pixmap import PixmapConditional +from Components.Pixmap import Pixmap, PixmapConditional from Components.BlinkingPixmap import BlinkingPixmapConditional from Components.ServiceName import ServiceName from Components.EventInfo import EventInfo @@ -512,4 +512,10 @@ class InfoBarAdditionalInfo: self["FormatActive"] = PixmapConditional() # TODO: get the info from c++ somehow - self["FormatActive"].setConnect(lambda: False) \ No newline at end of file + self["FormatActive"].setConnect(lambda: False) + + self["ButtonRed"] = Pixmap() + self["ButtonRedText"] = Label(_("Record")) + self["ButtonGreen"] = Pixmap() + self["ButtonYellow"] = Pixmap() + self["ButtonBlue"] = Pixmap() \ No newline at end of file