Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions lcd4linux/src/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5531,6 +5531,7 @@ def __init__(self, session, args=0):
"cancel": self.cancel,
"menu": self.SetupMenu,
"displayHelp": self.Exchange,
"ok": self.keyOK,
"info": self.ResetInfos
}, -1)
self.mode = _("On")
Expand Down Expand Up @@ -8260,6 +8261,18 @@ def cancel(self):
isMediaPlayer = self.SaveisMediaPlayer
TFTCheck(False)

def keyLeft(self):
L4logE("key L")
self.LastSelect = str(self["config"].getCurrentIndex()) + self.getCurrentValue()[:3]
ConfigListScreen.keyLeft(self)
self.SetList()

def keyRight(self):
L4logE("key R")
self.LastSelect = str(self["config"].getCurrentIndex()) + self.getCurrentValue()[:3]
ConfigListScreen.keyRight(self)
self.SetList()

def restartGUI(self, answer):
if answer:
L4log("GUI Restart")
Expand Down Expand Up @@ -12489,6 +12502,8 @@ def putProgress(workaround, draw, im):
self.draw[draw].rectangle((POSX + 10, ConfigPos + 1, POSX + ProgressBar + 10, ConfigPos + ConfigSize - 1), outline=ConfigColor)
else:
self.draw[draw].rectangle((POSX + 10, ConfigPos + 1, POSX + ProgressBar + 10, ConfigPos + ConfigSize - 1), outline=ConfigColor, fill=ConfigColorBG)
elif ConfigBorder.startswith("false"):
self.draw[draw].rectangle((POSX + 9, ConfigPos, POSX + ProgressBar + 11, ConfigPos + ConfigSize), fill=ConfigColorBG)
elif ConfigBorder == "line":
self.draw[draw].rectangle((POSX + 10, ConfigPos + int(ConfigSize / 2) - 1, POSX + ProgressBar + 10, ConfigPos + int(ConfigSize / 2) + 1), outline=ConfigColor, fill=ConfigColor)
self.draw[draw].rectangle((POSX + 10, ConfigPos, POSX + event_run + 10, ConfigPos + ConfigSize), fill=ConfigColor)
Expand Down
Loading