<<

Contents

Search

>>

 

MAIN_BACKGROUNDGRADIENT

 

 

Instruction

 

 

Syntax:

MAIN_BACKGROUNDGRADIENT = <Red-1>,<Green-1>,<Blue-1>,<Red-2>,<Green-2>,<Blue-2>,<Direction>

 

<Red-1>

= <NUM-EXPRESSION>

<Green-1>

= <NUM-EXPRESSION>

<Blue-1>

= <NUM-EXPRESSION>

<Red-2>

= <NUM-EXPRESSION>

<Green-2>

= <NUM-EXPRESSION>

<Blue-2>

= <NUM-EXPRESSION>

<Direction>

= <NUM-EXPRESSION>

 

 

Meaning:

Defines the gradient background color of the main window.

 

The gradient goes from Color-1 (Red-1, Green-1, Blue-1) to Color-2 (Red-2, Green-2, Blue-2).

 

If a background gradient has been defined, the instruction MAIN_BACKGROUNDCOLOR does not have any effect.

 

The instruction MAIN_BACKGROUNDGRADIENT = -1,-1,-1,-1,-1,-1,0 deletes the color gradient of the main window.

Parameter:

Red-1

Color-1: Red value

Green-1

Color-1: Green value

Blue-1

Color-1: Blue value

Red-2

Color-2: Red value

Green-2

Color-2: Green value

Blue-2

Color-2: Blue value

Direction

Defines the gradient direction:

1 = from left to right

2 = from top to bottom

3 = from top right to bottom left

4 = from center outwards

5 = from left to right centered

6 = from top to bottom centered

7 = from center circular outwards

8 = corners

else = from top left to bottom right

 

Sample:

MAIN_BACKGROUNDGRADIENT = 255,255,255,192,192,255,0

 

See also:

WINDOW_BACKGROUNDGRADIENT

MAIN_BACKGROUNDCOLOR

WINDOW_BACKGROUNDCOLOR

GET_COLORS$

SET_COLORS