Sets the width and the height of the display This method needs to be implemented in subclasses
@override void setDisplaySize(int width, int height) {}