def define_ui_buttons(self): self.ALC_BTN = UIButton("alca", "ALC", 0, "", 0) self.ACC_BTN = UIButton("acc", "ACC", 0, ACCMode.OFF, 1) self.PDL_BTN = UIButton("pedal", "PDL", 0, ACCMode.PEDAL_OFF, self.ACC_BTN.btn_index) self.STR_BTN = UIButton("steer", "STR", 0, "", 2) self.BRK_BTN = UIButton("brake", "BRK", 1, "", 3) self.MSG_BTN = UIButton("msg", "MSG", 1, "", 4) self.SND_BTN = UIButton("sound", "SND", 1, "", 5)
def init_ui_buttons(self): btns = [] btns.append(UIButton("alca", "ALC", 0, "", 0)) btns.append(UIButton("", "", 0, "", 1)) btns.append(UIButton("", "", 0, "", 2)) btns.append(UIButton("sound", "SND", 1, "", 3)) btns.append(UIButton("", "", 0, "", 4)) btns.append(UIButton("", "", 0, "", 5)) return btns
def init_ui_buttons(self): btns = [] btns.append(UIButton("sound", "SND", 0, "", 0)) btns.append(UIButton("alca", "ALC", 0, self.alcaLabels[self.alcaMode], 1)) btns.append(UIButton("stop","",1,"SNG",2)) btns.append(UIButton("","",0,"",3)) btns.append(UIButton("gas","GAS",1,self.gasLabels[self.gasMode],4)) btns.append(UIButton("lka","LKA",1,"",5)) return btns
def init_ui_buttons(self): btns = [] btns.append(UIButton("alca", "ALC", 1, self.alcaLabels[self.alcaMode], 0)) btns.append(UIButton("lka","LKA",1,"",1)) btns.append(UIButton("","",0,"",2)) btns.append(UIButton("sound","SND",0,"",3)) btns.append(UIButton("tr","TR",0,self.trLabels[self.trMode],4)) btns.append(UIButton("gas","Gas",1,"",5)) return btns
def init_ui_buttons(self): btns = [] btns.append(UIButton("", "", 0, "", 0)) btns.append(UIButton("", "", 0, "", 1)) btns.append(UIButton("", "", 0, "", 2)) btns.append(UIButton("", "", 0, "", 3)) btns.append(UIButton("gas", "GAS", 0, "", 4)) btns.append(UIButton("lka", "LKA", 1, "", 5)) return btns
def init_ui_buttons(self): btns = [] btns.append(UIButton("sound", "SND", 0, "", 0)) btns.append( UIButton("alca", "ALC", 0, self.alcaLabels[self.alcaMode], 1)) btns.append( UIButton("slow", "SLO", self.sloMode, self.sloLabels[self.sloMode], 2)) btns.append(UIButton("lka", "LKA", 1, "", 3)) btns.append(UIButton("tr", "TR", 0, "", 4)) btns.append(UIButton("gas", "GAS", 1, self.gasLabels[self.gasMode], 5)) return btns
def init_ui_buttons(self): btns = [] btns.append(UIButton("sound", "SND", 1, "", 0)) btns.append( UIButton("alca", "ALC", 1, self.alcaLabels[self.alcaMode], 1)) btns.append(UIButton("cam", "CAM", 1, "", 2)) btns.append( UIButton("alwon", "MAD", 1, self.madLabels[self.madMode], 3)) btns.append(UIButton("", "", 0, "", 4)) btns.append(UIButton("", "", 0, "", 5)) return btns