C++ application framework for touch UI