def __init__(self, c_instance): self.__c_instance = c_instance self.__components = [] self.__main_display = MainDisplay(self) self.__components.append(self.__main_display) self.__main_display_controller = MainDisplayController( self, self.__main_display) self.__components.append(self.__main_display_controller) self.__software_controller = SoftwareController(self) self.__components.append(self.__software_controller) self.__transport = Transport(self) self.__components.append(self.__transport) self.__channel_strips = [ ChannelStrip(self, i) for i in range(NUM_CHANNEL_STRIPS) ] for s in self.__channel_strips: self.__components.append(s) self.__master_strip = MasterChannelStrip(self) self.__components.append(self.__master_strip) self.__channel_strip_controller = ChannelStripController( self, self.__channel_strips, self.__master_strip, self.__main_display_controller) self.__components.append(self.__channel_strip_controller) self.__shift_is_pressed = False self.__option_is_pressed = False self.__ctrl_is_pressed = False self.__alt_is_pressed = False self.is_pro_version = False
def __init__(self, c_instance): self.__c_instance = c_instance self.__components = [] self.__main_display = MainDisplay(self) self.__components.append(self.__main_display) self.__channel_strips = [ ChannelStrip(self, i) for i in range(NUM_CHANNEL_STRIPS) ] for s in self.__channel_strips: self.__components.append(s) self.__mackie_control_main = None
def __init__(self, c_instance): self.__c_instance = c_instance self.__components = [] self.__main_display = MainDisplay(self) self.__components.append(self.__main_display) self.__channel_strips = [ ChannelStrip(self, i) for i in range(NUM_CHANNEL_STRIPS) ] for s in self.__channel_strips: self.__components.append(s) self.__mackie_control_main = None self.is_pro_version = False self._received_firmware_version = False self._refresh_state_next_time = 0