diff --git a/glbackground.py b/glbackground.py index 951c9b1..1e64e9d 100644 --- a/glbackground.py +++ b/glbackground.py @@ -23,6 +23,7 @@ from OpenGL.GL import glEnable, glColor, glVertexPointer, glDrawArrays, glDisabl from numpy import array from pygame import mouse + class GLBackground(GLOrtho): margin = 8 bg_color = (0.0, 0.0, 0.0, 0.6) @@ -40,5 +41,6 @@ class GLBackground(GLOrtho): glDrawArrays(GL_QUADS, 0, 4) glDisable(GL_BLEND) + class Panel(GLBackground): pass