[17 Feb 2008] Problem with "Backfill" option
Posted: Sat Jun 13, 2020 5:31 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 17 Feb 2008 20:36:15 +0100
Hi there!
I have a strange problem with the backfill option of the Display preprocessor command. I wanted to have a window with a gradiant background, so I wrote this in my script at the beginning:
When I start my programme, my normal window with 320 width and 240 height appears, but with black background. _Additionally_ a second screen or sth is opend, which lays in the background of my programme window but in front of my workbench icons and _this_ screen has the black to blue gradiant!? Do you have any idea what I did wrong?
For test reasons I added the following command after the @DISPLAY:
This works pretty fine, the jpg is loaded as the background of my programme window.
Also, I tried this code, but it fails with sth like "A value was expected!", in German "Es wurde ein Wert erwartet!" and points to the following line:
Thanks in advance!
Micha
Hi there!
I have a strange problem with the backfill option of the Display preprocessor command. I wanted to have a window with a gradiant background, so I wrote this in my script at the beginning:
Code: Select all
@DISPLAY {Title = "Enterprise NX-01", X = #LEFT, Y = #TOP, Width = 320, Height = 240, Backfill = {Type ="Gradient", StartColor = #BLACK, EndColor = #BLUE}}
For test reasons I added the following command after the @DISPLAY:
Code: Select all
@BGPIC 1, "AmiKit:Prefs/Presets/Backdrops/Magic.jpg"
Also, I tried this code, but it fails with sth like "A value was expected!", in German "Es wurde ein Wert erwartet!" and points to the following line:
Code: Select all
@DISPLAY {Title = "Enterprise NX-01", X = #LEFT, Y = #TOP, Width = 320, Height = 240, Backfill = {Type = "Picture", Brush="AmiKit:Prefs/Presets/Backdrops/Magic.jpg", X = #CENTER, Y = #CENTER}}
Micha