|
@@ -1,17 +0,0 @@
|
|
|
-import pyglet
|
|
|
-from pyglet.gl import *
|
|
|
-from pyglet.window import key
|
|
|
-
|
|
|
-class EditorWindow(pyglet.window.Window):
|
|
|
- def __init__(self):
|
|
|
- super(EditorWindow, self).__init__()
|
|
|
-
|
|
|
- self.label = pyglet.text.Label('Hi!')
|
|
|
-
|
|
|
- def on_draw(self):
|
|
|
- self.clear()
|
|
|
- self.label.draw()
|
|
|
-
|
|
|
-if __name__ == '__main__':
|
|
|
- window = EditorWindow()
|
|
|
- pyglet.app.run()
|