[visionegg] mirror displays and screen size
- From: Russ Poldrack <poldrack@xxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Sun, 12 Feb 2006 19:36:48 -0800
hi - This is really more of a pygame question than a visionegg
question but I thought I'd ask here since others may have dealt with
this issue. I'm trying to use mirrored displays and create a
fullscreen window; this is on a powerbook g4 aluminum, hooking it to
my plasma TV as the second monitor for testing. I first determine
the maximum screen size:
m=max(pygame.display.list_modes())
I then create a new screen using this size:
screen=Screen
(size=m,fullscreen=False,red_bits=8,green_bits=8,blue_bits=8,alpha_bits=
8)
this works just fine with a single monitor. The problem is that,
when I attach to a second monitor, the screen size that pygame
determines is based on the maximum potential size of the external
monitor (1900X1200) rather than the resolution of the mirrored
screens (in this case 1024X768).
Any ideas on how to determine the actual resolution?
cheers,
russ
---
Russell A. Poldrack, Ph.d.
Associate Professor
UCLA Department of Psychology
Franz Hall, Box 951563
Los Angeles, CA 90095-1563
phone: 310-794-1224
fax: 310-206-5895
email: poldrack@xxxxxxxx
web: www.poldracklab.org
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
- Follow-Ups:
- [visionegg] Re: mirror displays and screen size
- From: Simeon Fitch
Other related posts:
- » [visionegg] mirror displays and screen size
- » [visionegg] Re: mirror displays and screen size
- » [visionegg] Re: mirror displays and screen size
- » [visionegg] Re: mirror displays and screen size
- [visionegg] Re: mirror displays and screen size
- From: Simeon Fitch