Unify the Rotation type, so that SetRotation can be used in interfaces.
Add Rotation() method to these displays, so that the current rotation can be read.
Change SetRotation() so that it can return an error (if the given rotation isn't supported).
I believe this should be entirely backwards compatible.
The goal of this change is so that Rotation and SetRotation can be used in interfaces, so that code using those interfaces can get and set the screen rotation.
I believe this should be entirely backwards compatible.
The goal of this change is so that
Rotation
andSetRotation
can be used in interfaces, so that code using those interfaces can get and set the screen rotation.