User interface library for C++ applications