GrafX2 2.9.3227
The ultimate 256-color painting program
T_Gradient_range Struct Reference

Data for one setting of gradients. Warning, this one is saved/loaded as binary. More...

#include <struct.h>

+ Collaboration diagram for T_Gradient_range:

Data Fields

byte Start
 First color. More...
 
byte End
 Last color. More...
 
dword Inverse
 Boolean, true if the gradient goes in descending order. More...
 
dword Mix
 Amount of randomness to add to the mix (0-255) More...
 
dword Technique
 Gradient technique: 0 (no pattern) 1 (dithering), or 2 (big dithering) More...
 
byte Speed
 Speed of cycling. 0 for disabled, max value COLOR_CYCLING_SPEED_MAX. 1=>0.2856Hz, 64=>18.28Hz. More...
 

Detailed Description

Data for one setting of gradients. Warning, this one is saved/loaded as binary.

Field Documentation

◆ Start

◆ End

◆ Inverse

dword T_Gradient_range::Inverse

Boolean, true if the gradient goes in descending order.

Referenced by Button_Gradients(), Color_cycling(), Init_context_layered_image(), Load_gradient_data(), Load_image(), and Load_surface().

◆ Mix

dword T_Gradient_range::Mix

Amount of randomness to add to the mix (0-255)

Referenced by Button_Gradients(), and Load_gradient_data().

◆ Technique

dword T_Gradient_range::Technique

Gradient technique: 0 (no pattern) 1 (dithering), or 2 (big dithering)

Referenced by Button_Gradients(), and Load_gradient_data().

◆ Speed

byte T_Gradient_range::Speed

Speed of cycling. 0 for disabled, max value COLOR_CYCLING_SPEED_MAX. 1=>0.2856Hz, 64=>18.28Hz.

Referenced by Button_Gradients(), Color_cycling(), Init_context_layered_image(), Load_image(), Load_surface(), and Print_color_cycling_details().


The documentation for this struct was generated from the following file: