gui: fixed undefined setMaxDepth and getDepth issue due to project file
lost some header and source files