update tooltip.cpp, cancel the private head file dependence