AGlass0fMilk/mbed-lvgl

Make VDBWriter a Decorator

Opened this issue · 0 comments

Propose to make a new DisplayDriver subclass that acts as a decorator. It simply passes all other calls to the underlying display driver, but embellishes it by adding a custom VDB write function.

This way, common display memory layouts can be written and reused by multiple displays that use them without copy-pasting the same code.