Derive CameraWidget helper class from C struct.