コード例 #1
0
    def __init__(self, c_instance):
        self._ProjectMixIO__c_instance = c_instance
        self._ProjectMixIO__components = []
        self._ProjectMixIO__main_display = MainDisplay(self)
        self._ProjectMixIO__components.append(self._ProjectMixIO__main_display)
        self._ProjectMixIO__main_display_controller = MainDisplayController(
            self, self._ProjectMixIO__main_display)
        self._ProjectMixIO__components.append(
            self._ProjectMixIO__main_display_controller)
        self._ProjectMixIO__software_controller = SoftwareController(self)
        self._ProjectMixIO__components.append(
            self._ProjectMixIO__software_controller)
        self._ProjectMixIO__transport = Transport(self)
        self._ProjectMixIO__components.append(self._ProjectMixIO__transport)
        self._ProjectMixIO__channel_strips = [
            ChannelStrip(self, i) for i in range(NUM_CHANNEL_STRIPS)
        ]
        for s in self._ProjectMixIO__channel_strips:
            self._ProjectMixIO__components.append(s)

        self._ProjectMixIO__master_strip = MasterChannelStrip(self)
        self._ProjectMixIO__components.append(self._ProjectMixIO__master_strip)
        self._ProjectMixIO__channel_strip_controller = ChannelStripController(
            self, self._ProjectMixIO__channel_strips,
            self._ProjectMixIO__master_strip,
            self._ProjectMixIO__main_display_controller)
        self._ProjectMixIO__components.append(
            self._ProjectMixIO__channel_strip_controller)
        self._ProjectMixIO__shift_is_pressed = False
        self._ProjectMixIO__option_is_pressed = False
        self._ProjectMixIO__ctrl_is_pressed = False
        self._ProjectMixIO__alt_is_pressed = False
        self.is_pro_version = False
コード例 #2
0
    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
コード例 #3
0
    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