hollywood 6 screen deprecated

Discuss any general programming issues here
Post Reply
ilbarbax
Posts: 155
Joined: Thu Apr 01, 2010 6:41 pm

hollywood 6 screen deprecated

Post by ilbarbax »

Hi

to have my application at full screen with a gradient background I used the following lines:
@BACKFILL {Type = "Gradient", StartColor = #WHITE, EndColor = #BLUE}
@SCREEN {Width = 1024, Height = 768, HideTitleBar = True}

Now it should be dove with a Display but I could'n get the result.
p-OS
Posts: 171
Joined: Mon Nov 01, 2010 11:56 pm

Re: hollywood 6 screen deprecated

Post by p-OS »

If these lines are your complete code, Display will show and hide again after few milliseconds as your program reaches end.

Just tried your code on Windows and works fine:

Code: Select all

@BACKFILL {Type = "Gradient", StartColor = #WHITE, EndColor = #BLUE}
@SCREEN {Width = 1024, Height = 768, HideTitleBar = True}
WaitLeftMouse()
User avatar
airsoftsoftwair
Posts: 5887
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: hollywood 6 screen deprecated

Post by airsoftsoftwair »

The old syntax is still supported for compatibility reasons, but starting with 6.0 you should use something like this instead:

Code: Select all

@DISPLAY {Mode = "FullScreen", ScrWidth = 1024, ScrHeight = 768, Backfill = {Type = "Gradient", StartColor = #WHITE, EndColor = #BLUE, HideTitleBar = True}}
This should do the same as your old code above.
Post Reply