a C++ version of CCPanZoomController