Page 1 of 1

fool screen

Posted: Sun May 27, 2018 3:48 pm
by sashapont
How I can make foolscreen? I write^ but it is not work

Code: Select all

if fullscreeenint=0
ChangeDisplayMode(#DISPMODE_FULLSCREEN)
fullscreeenint=1
else
ChangeDisplayMode(#DISPMODE_WINDOWED)
fullscreeenint=0
endif

Re: fool screen

Posted: Mon May 28, 2018 8:37 pm
by ArtBlink
Try :

Code: Select all

if fullscreeenint=0
ChangeDisplayMode(#DISPMODE_FULLSCREEN,800,600)
fullscreeenint=1
else
ChangeDisplayMode(#DISPMODE_WINDOWED)
fullscreeenint=0
endif
Your fullscreeenint variable is local or global?

If it is local try to transform it in global, just delete "local" in the declaration of this variable

Re: fool screen

Posted: Mon May 28, 2018 9:04 pm
by sashapont
I try this, but now I have error
Wrong usage/parameters for this command!
Read the documentation!
File: Dialogs.hws (current line: 1150 - In function: ChangeDisplayMode)

Re: fool screen

Posted: Mon May 28, 2018 10:19 pm
by airsoftsoftwair
I see you're using RapaGUI. Going full screen isn't supported with RapaGUI. This is only supported with Hollywood's default display adapter or plugins like GL Galore and RebelSDL. Going full screen in a GUI application doesn't really make sense.

Re: fool screen

Posted: Fri Aug 14, 2020 9:25 pm
by NubeCheCorre
Maybe it could be handy, I don't know, but if you set the screen size in the xml declaration you can have a window at the full size of the hosted screen using this syntax:

<window id="win" menubar="mymenubar" title="CMS" width="Screen:100%" height="Screen:100%">