From 99e66edd91b058d8b5869f900cab9b2f40cd37d5 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Mon, 28 Nov 2005 00:11:25 +0000 Subject: [PATCH] add ugly buttons with ugly text to the infobar --- data/button_blue.png | 0 data/button_green.png | 0 data/button_red.png | 0 data/button_yellow.png | 0 data/skin.xml | 25 ++++++++++++++++++++++--- lib/python/Screens/InfoBarGenerics.py | 10 ++++++++-- 6 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 data/button_blue.png create mode 100644 data/button_green.png create mode 100644 data/button_red.png create mode 100644 data/button_yellow.png 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 -- 2.30.2