C++'ified ui/camera