2019-02-19 20:51:10 +01:00
|
|
|
class DisplayAdapter (object):
|
2019-02-20 20:00:08 +01:00
|
|
|
"""Interface for CalendarDesign output channels."""
|
2019-07-13 08:05:35 +02:00
|
|
|
|
2019-02-20 20:00:08 +01:00
|
|
|
def __init__(self, width, height):
|
|
|
|
self.width = width
|
|
|
|
self.height = height
|
2019-02-19 20:51:10 +01:00
|
|
|
|
2019-07-13 08:05:35 +02:00
|
|
|
def render(self, design):
|
2019-02-20 20:00:08 +01:00
|
|
|
raise NotImplementedError("Functions needs to be implemented")
|
|
|
|
|
2019-07-13 08:05:35 +02:00
|
|
|
def calibrate(self):
|
|
|
|
raise NotImplementedError("Functions needs to be implemented")
|