def config_clear(): pdata.configuration.clear() pdata.config_ids.clear() pdata.config_use.clear() pdata.config_devices.clear() pdata.config_orient.clear() for d, t in device_data.get_devices(): pdata.config_devices[d] = 0
def config_clear(): pdata.configuration.clear() pdata.config_ids.clear() pdata.config_use.clear() pdata.config_devices.clear() pdata.config_orient.clear() for d,t in device_data.get_devices(): pdata.config_devices[d] = 0
def init_pallete(self): groups = device_data.get_groups() for name, expbmap, colbmap in groups: self.add_group(name, expbmap, colbmap) devices = device_data.get_devices() for name, group in devices: bmap = device_data.get_device_bmap(name) sel_bmap = device_data.get_device_bmap(name, True) self.add_item_bmap(group, name, bmap, sel_bmap)