BASIC

Author Topic: Request for Mac/Linux enhancement  (Read 2589 times)

MrTAToad

  • Guest
Request for Mac/Linux enhancement
« on: 2009-Mar-28 »
Would it be possible to call GetVideoInfo before SDL is initialised, and then putting current_w and current_h in, say, reserved variables.

This is so the current desktop size can be retrieved.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10656
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Request for Mac/Linux enhancement
« Reply #1 on: 2009-Mar-28 »
Oh! Is it not properly restored when fullscreen shuts down?

MrTAToad

  • Guest
Re: Request for Mac/Linux enhancement
« Reply #2 on: 2009-Mar-28 »
Yes, it is :) 

I need the desktop size to centre windows on Linux (and Mac come to that).  Plus, I can also check to make sure that a window resolution isn't bigger than the screen.