Pass by value is fine for the window / no need for pointers.
Adds setPos,setSize, hide, unhide on the window implementation.