Page 1 of 1

fillstyle=#FILLGRADIENT stops working with Hollywood 7.1

Posted: Tue Mar 27, 2018 2:43 pm
by fingus
SetDisplayAttributes({fillstyle=#FILLGRADIENT, GradientStartColor=$3B6CC5, GradientEndColor=$12093D})

stop working with Hollywood 7.1 on Windows. It just shows a black Background.

Re: fillstyle=#FILLGRADIENT stops working with Hollywood 7.1

Posted: Mon Apr 02, 2018 9:40 pm
by airsoftsoftwair
Confirmed. Will be fixed.

Re: fillstyle=#FILLGRADIENT stops working with Hollywood 7.1

Posted: Mon Apr 16, 2018 6:36 pm
by airsoftsoftwair
Well, actually, Hollywood 7.1 does things a little different (and better) here than 7.0. On 7.0 SetDisplayAttributes() always reset all gradient attributes which could lead to trouble so Hollywood 7.1 no longer does this. As a result, you cannot rely on any predefined parameters, so you have to explicitly specify all the parameters you need. Concerning your example this means that "GradientStyle" is missing. Thus you have to do the following:

Code: Select all

SetDisplayAttributes({FillStyle=#FILLGRADIENT, GradientStyle=#LINEAR, GradientStartColor=$3B6CC5, GradientEndColor=$12093D})
Then it will work.

Re: fillstyle=#FILLGRADIENT stops working with Hollywood 7.1

Posted: Mon Jul 02, 2018 3:59 pm
by fingus
It works! Thank you!