a light direct ui by c++