GLBasic forum

Main forum => Bug Reports => Topic started by: MrTAToad on 2011-Apr-13

Title: ISFULLSCREEN on webOS
Post by: MrTAToad on 2011-Apr-13
Whilst not an actual bug, it would be nice if ISFULLSCREEN on webOS returns TRUE when a program runs.  Would also be nice if it toggles between TRUE and FALSE depending on whether the program is actually running in fullscreen or when in card view mode.
Title: Re: ISFULLSCREEN on webOS
Post by: backslider on 2011-Apr-14
Hi MrTAToad!

You could try this:
Code (glbasic) Select

GLOBAL _ISFULLSCREEN = TRUE

//if the app is in "card" mode
SUB GLB_ON_PAUSE
    _ISFULLSCREEN = FALSE
ENDSUB

//if the game is running
SUB GLB_ON_RESUME
    _ISFULLSCREEN = TRUE
ENDSUB


cheers
Title: Re: ISFULLSCREEN on webOS
Post by: MrTAToad on 2011-Apr-15
Quite true!