[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] SDL_VIDEO_CENTERED and Python 2.5
- To: pygame-users@xxxxxxxx
- Subject: [pygame] SDL_VIDEO_CENTERED and Python 2.5
- From: PyMike <pymike93@xxxxxxxxx>
- Date: Sun, 24 Feb 2008 16:02:53 -0600
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sun, 24 Feb 2008 17:02:58 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=qVhC8iw0nRl76FzpcQKA5cqGRn/T/mo2gHBHQw2RPlE=; b=ccL3q7F0A1t49eYIkim8iPtCZAXbFlV8IJeKQimJcwIoE6rvq2mDH+fmdiy7c6YV7AqPwGq3rZ558gqWz+w9GbWFSkwWP/ZXoircgFuNUnLQi1UFP1WrqAO7PLrM9RoexwbvIJBTyaFvD4iaz8Fi+Y2bYLAVZHIF4zfkO7rD0jo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=lanjX9v/BSIQsPRV5zBFjmWnH7qWCr+Fnbrq5wwA8B8qFGVR6cuYdoW54At78HNcOLDUL2FcjsTDEPt4JbsR3GbgIvq2hgwv/TmSY/ON7JekG2MAYYwPDQf75NZgVRd47r0JEiwkOz3GjfiyNMpELD5c0r61cW2z8RyeYh3Mdd4=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi!
In my games I would frequently use:
os.environ["SDL_VIDEO_CENTERED"] = "1"
to center the window in the middle of the computer screen. However since I upgraded my python from version 2.4 to 2.5, it doesn't work. Can someone help me with?
Thanks!
--
- pymike