to add imgcapctrl.cpp