diff --git a/OutGaugeInterpreter.py b/OutGaugeInterpreter.py index d6afc13..234e73b 100644 --- a/OutGaugeInterpreter.py +++ b/OutGaugeInterpreter.py @@ -33,6 +33,11 @@ class GameType(Enum): BEAMNG = "BEAMNG" FORZA = "FORZA" +class ProgramState(Enum): + PUSHING_DATA = 1 + WAITNG = 2 + ERROR = 3 + connectedArduino = False connectedWebSocket = False gameSelected = False @@ -119,6 +124,9 @@ loggingLocationEntry.insert(0,loggingLocationText.get()) loggingLocationEntry.pack(side="bottom") startStopButton= tkinter.Button(bottomBarFrameGui,text= "start",command= startStopButtonFunc) startStopButton.pack(side="right",fill="x") +statusTextVar = tkinter.StringVar(value="waiting...") +statusLable = tkinter.Label(bottomBarFrameGui,textvariable= statusTextVar) +statusLable.pack(anchor="w") rootFrameGui.mainloop() exit() #### exit for testing