aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/Volume.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Screens/Volume.py')
-rw-r--r--lib/python/Screens/Volume.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/python/Screens/Volume.py b/lib/python/Screens/Volume.py
new file mode 100644
index 00000000..0c1d4cea
--- /dev/null
+++ b/lib/python/Screens/Volume.py
@@ -0,0 +1,13 @@
+from Screen import Screen
+from Components.VolumeBar import VolumeBar
+
+class Volume(Screen):
+ def __init__(self, session):
+ Screen.__init__(self, session)
+
+ self.volumeBar = VolumeBar()
+
+ self["Volume"] = self.volumeBar
+
+ def setValue(self, vol):
+ self.volumeBar.setValue(vol)