Closed jhanarato closed 1 year ago
How about Sized
with size()
returning a Size
dataclass object?
Continue with ScreenLayout
. Convert to iterate over coordinates and remove draw()
. Introduce Area
protocol.
TDD this.
Done now. Area
resides in layout
module, Drawable
in components
.
ImageComponent
can probably be split in two:Area
with height and widthDrawable
with drawThe layout module only knows
Area
.countdown.Icons
only knowsDrawable