Gradient.txt
Posted: Sat Oct 02, 2010 12:10 pm
Prevue Grid takes on an interesting (and in my opinion, Prevue List-y) default look when the gradient.txt file is missing.
Also, I've been playing around with my own gradients, like this and this.
The format of the gradient.txt file is extremely simple; it defines 12 color blocks that are used in the ESQ program to create the program grid. The file starts with "[GRADIENT]", and then begins defining colors. Let's look at an example color block:
First, we see COLOR10, which defines the color. ESQ then has pre-set things it uses COLOR10 for, in this case probably for the ALTHILITE tag. We then see "= 12", which just means that it is a gradient with 12 colors. Some colors show "= 1", meaning that they are not a gradient but a single color. Afterwards, we see a comment "; blue". The rest of the lines define the gradient or color, and the color definitions seem to go from 000 to FFF, with 555 being grey. The gradients are always vertical, so color 1 in the gradient is the top color, and color 12 is the last one. As you can see, it's extremely easy to mess around with the gradients and make your own; maybe we could have some fun with this at some point.
Additionally, I'm pretty sure that gradient.txt defines the color palate (what colors can be used) for the banner that rolls around at the bottom; the colors that are used for the TV Guide banner are in the gradient.txt file and are used for things like HILITE and/or ALTHILITE tags, and when you look at videos of the Prevue Channel, you'll notice that the HILITE colors they used then were different, but are the same colors that are used in the Prevue banners.
Also, I've been playing around with my own gradients, like this and this.
The format of the gradient.txt file is extremely simple; it defines 12 color blocks that are used in the ESQ program to create the program grid. The file starts with "[GRADIENT]", and then begins defining colors. Let's look at an example color block:
Code: Select all
COLOR10 = 12 ;blue
1 = 33A
2 = 33B
3 = 33C
4 = 33D
5 = 33C
6 = 33B
7 = 33A
8 = 339
9 = 338
10 = 337
11 = 336
12 = 335
Additionally, I'm pretty sure that gradient.txt defines the color palate (what colors can be used) for the banner that rolls around at the bottom; the colors that are used for the TV Guide banner are in the gradient.txt file and are used for things like HILITE and/or ALTHILITE tags, and when you look at videos of the Prevue Channel, you'll notice that the HILITE colors they used then were different, but are the same colors that are used in the Prevue banners.