Basic form interface for opengl