Hi everyone,
I'm working with some text and image display routines on Windows
XP and having an odd problem. When I try to display the text or image
in the default window style, everything goes as planned. When I use
excatly the same code with a borderless window, all I get is a black
screen. I can replicate the issue on multiple computers, so it's less
likely it's some funky driver. A simplified version of my code is
below:
window = pyglet.window.Window(width = 200, height = 200,
style=Window.WINDOW_STYLE_DIALOG)
window.set_location(400,400)
fontorama = pyglet.text.Label(text = "Testing")
@window.event
def on_draw():
window.clear()
fontorama.draw()
pyglet.app.run()
This works just fine. But when I replace DIALOG with BORDERLESS, I
just get a black screen. Is there something obvious I'm missing or is
this a more profound problem?
Thanks for your input.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---