Library providing a graphical user interface using OpenGL