mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-20 06:46:26 -04:00
render: dim and brighten using linear rgb interpolation
Adds setting tweak.dim-amount, similar to bold-text-in-bright-amount. Closes #2006
This commit is contained in:
parent
5f72f51ae8
commit
02d8ca5f15
6 changed files with 45 additions and 66 deletions
4
config.h
4
config.h
|
|
@ -155,6 +155,10 @@ struct config {
|
|||
|
||||
uint16_t resize_delay_ms;
|
||||
|
||||
struct {
|
||||
float amount;
|
||||
} dim;
|
||||
|
||||
struct {
|
||||
bool enabled;
|
||||
bool palette_based;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue