[19 Feb 2009] Fullscreen mode

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
User avatar
Allanon
Posts: 742
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

[19 Feb 2009] Fullscreen mode

Post by Allanon »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 19 Feb 2009 17:41:21 -0000

Hello, here is a command to enter/exit fullscreen mode at runtime or the only available way is using @DISPLAY command? I've looked in the guide but seems there isn't...

Regards, Fabio
----------------------------
[Allanon] Fabio Falcucci | GitHub (leaving) | Gitea (my new house) | My Patreon page | All my links
PEB
Posts: 591
Joined: Sun Feb 21, 2010 1:28 am

[19 Feb 2009] Re: Fullscreen mode

Post by PEB »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 19 Feb 2009 12:25:41 -0800 (PST)

You can do it via hotkey (Amiga+Enter).
User avatar
Allanon
Posts: 742
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

[19 Feb 2009] Re: Fullscreen mode

Post by Allanon »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 19 Feb 2009 23:35:19 -0000

Unfortunatly that's not enough... I must have the ability to turn on and off the fullscreen at runtime :(
----------------------------
[Allanon] Fabio Falcucci | GitHub (leaving) | Gitea (my new house) | My Patreon page | All my links
PEB
Posts: 591
Joined: Sun Feb 21, 2010 1:28 am

[19 Feb 2009] Re: Re: Fullscreen mode

Post by PEB »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 19 Feb 2009 19:41:26 -0800 (PST)

Though certainly not as good as being able to change between window and fullscreen with an internal function, you could set up a function that would restart your program with an argument for fullscreen or window display, and then quit itself. Such as:

Code: Select all

Function p_ChangeDisplay(DisplayType$)
	If DisplayType$="window"
		Run("MyProgram -window")
		End
	ElseIf DisplayType$="screen"
		Run("MyProgram -fullscreen")
		End
	EndIf
EndFunction
If you don't want to have to start at the beginning of your program every time p_ChangeDisplay() is used, you could skip ahead to whatever function you want by passing additional arguments in the restart line, together with using GetCommandLine() at the start of your program to jump quickly to the desired point with something like:

Code: Select all

args, count=GetCommandLine()
If RawGet(args, 0)<>NIL and args[0].arg="???" Then ...
Again, I know that this is not as good as an internal function that would accomplish this without a restart, but it might help while we wait for Andreas to implement this functionality.
User avatar
Allanon
Posts: 742
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

[20 Feb 2009] Re: Fullscreen mode

Post by Allanon »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 20 Feb 2009 08:54:33 -0000

Thank you for the code snippet, I will try this approach.

Regards, Fabio.
----------------------------
[Allanon] Fabio Falcucci | GitHub (leaving) | Gitea (my new house) | My Patreon page | All my links
User avatar
airsoftsoftwair
Posts: 5914
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[20 Feb 2009] Re: Re: Fullscreen mode

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 20 Feb 2009 15:34:05 +0100
Unfortunatly that's not enough... I must have the ability to turn on and off the fullscreen at runtime :(
And extension for full screen switching via code is planned. It will be possible with ChangeDisplaySize() command then:

Code: Select all

; go full!
ChangeDisplaySize(640, 480, {FullScreen = True})
User avatar
Tuxedo
Posts: 355
Joined: Sun Feb 14, 2010 12:41 pm

[19 Dec 2009] Re: Fullscreen mode

Post by Tuxedo »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sat, 19 Dec 2009 17:58:11 -0000

Hi ALL!

I'm looking for fullscreen change and found that interestinf disscussion... Any news bout if taht was working in Hollywood 4.5 and when it will be released?

Thank you and GOOD WORK!

Simone.
Simone"Tuxedo"Monsignori, Perugia, ITALY.
Locked