Added source code functionality for floatingui sample.