- Gui: take settings from settings file, show pictures of drinks

This commit is contained in:
Bernhard Stampfer
2016-03-26 21:01:47 +01:00
parent d7e2a0d29d
commit 8469f00884
7 changed files with 79 additions and 38 deletions

View File

@@ -15,12 +15,14 @@
#
################################################################
class Settings:
def __init__(self):
##User Interaction
#Gui
self.hideGuiList = False #Show the consumers in the gui
self.disableRFID = False #Disable RFID Reading
self.allowHiding = False #Allow a user to hide from the gui consumer list
self.onlyOneDrink = False #Hide selection for amount in the gui
self.drinkLimit = 20 #Max amount of consumptions in the gui (default 20)
@@ -39,4 +41,6 @@ class Settings:
self.annoyLimit = 100 #Money limit for autoAnnoy (default 100)
##Developer Settings
self.debug = False #Show debug output in console
self.debug = False #Show debug output in console
settings = Settings()