561
edits
(updated todo list and added documentation about the inactive dialog shading abilities of the new theme) |
(→Inactive dialog effects (new theme only): added examples for each method) |
||
Line 228: | Line 228: | ||
* "luminance" will change all inactive screen areas to black and white. | * "luminance" will change all inactive screen areas to black and white. | ||
** Example (enables it) | |||
[extra] | |||
inactive_dialog_shading=luminance | |||
* "dim" will dim the screen with the given percentage value. | * "dim" will dim the screen with the given percentage value. | ||
** "shading_dim_percent" in the "[extra]" section sets the dimming value 0 means no dim, 100 complete black | ** "shading_dim_percent" in the "[extra]" section sets the dimming value 0 means no dim, 100 complete black | ||
** Example (30% screen dim): | |||
[extra] | |||
inactive_dialog_shading=dim | |||
shading_dim_percent=30 | |||
* "custom" will let you decide how the color is calculated. | * "custom" will let you decide how the color is calculated. | ||
** "shading_custom_r" is used to evaluate the R component [0 to 255] | ** "shading_custom_r" is used to evaluate the R component [0 to 255] | ||
Line 235: | Line 246: | ||
** "shading_custom_b" is used to evaluate the B component [0 to 255] | ** "shading_custom_b" is used to evaluate the B component [0 to 255] | ||
** the vars 'r', 'g', 'b' are the input color components, you can use them in every of the shading_custom_* expressions | ** the vars 'r', 'g', 'b' are the input color components, you can use them in every of the shading_custom_* expressions | ||
** Example (inverts all color values) | |||
[extra] | |||
inactive_dialog_shading=custom | |||
shading_custom_r=255-r | |||
shading_custom_g=255-g | |||
shading_custom_b=255-b | |||
== Evaluation precedence == | == Evaluation precedence == |
edits