extract color to Lcd named tuple
Closed this issue · 0 comments
emcek commented
Check if it is good idea to extract code into LcdSize (NamedTuple)
todo extract color to Logitech
https://github.com/emcek/dcspy/blob/master/dcspy/aircrafts.py#L178
https://github.com/emcek/dcspy/blob/master/dcspy/logitech.py#L205
img = Image.new(mode='RGBA', size=(self.lcd.width, self.lcd.height), color=(0, 0, 0, 0))
- rename LcdSize? Not valid anymore
change to dataclass (remove py36 or use backported version)