[visionegg] Re: mirror displays and screen size

Hi Russ (and Simeon and Doug),

I'm not using Mac OS X much these days, so I can't directly help. But, I think that a lot of these Mac-specific issues could probably be resolved using the direct Mac OS X calls to the appropriate library (probably "Framework" in Mac OS X-speak). I don't know which library that would be, but the PyObjC lets you do just about anything you could do directly in objective C, which is to say just about anything Apple deems possible. I would hope there are some hooks into the OS to do these kinds of things, even if SDL/pygame aren't up to speed yet.

I certainly have no objection to including platform specific features directly in the Vision Egg. Or, probably better, you could patches directly to SDL/pygame.

Cheers!
Andrew

Russ Poldrack wrote:
nope, nothing yet
cheers
russ

On Feb 16, 2006, at 4:16 AM, Simeon Fitch wrote:

Russ,

Did you figure out anything regarding this issue? I've too have been getting frustrated with the pygames lack of exposure to window manager/display features, and have done a little digging (but not much) to see what hooks or hacks are possible. I'm curious to know if you found any magic.

Thanks,

Simeon

On 2/12/06, *Russ Poldrack* <poldrack@xxxxxxxx <mailto:poldrack@xxxxxxxx>> wrote:

    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 <mailto:poldrack@xxxxxxxx>
    web: www.poldracklab.org <http://www.poldracklab.org>



    ======================================
    The Vision Egg mailing list
    Archives: http://www.freelists.org/archives/visionegg
    Website: http://www.visionegg.org/mailinglist.html




-- Simeon H.K. Fitch, Owner Mustard Seed Software 1634 Brandywine Drive Charlottesville, VA 22901 210.867.1616


---
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 <mailto:poldrack@xxxxxxxx>
web: www.poldracklab.org <http://www.poldracklab.org>




====================================== The Vision Egg mailing list Archives: http://www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html

Other related posts: