[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] screen position in middle of desk / icon with alpha - using wx to load pygame



On 10/31/07, kschnee@xxxxxxxxxx <kschnee@xxxxxxxxxx> wrote:
> import os
> os.environ["SDL_VIDEO_CENTERED"] = "1"
> ## Then create the screen; it should be centered automatically.
I used that for a while, but on Vista with Python 2.5, it doesn't
work.  Anyone know why?  2.4 worked...
> But then, this is without testing and I forgot a line in that screenshot
> code!
> screenshot.blit(screen,(0,0))
If you're referring to my problem, one cannot blit to OpenGL surfaces,
so it's OK.