ui: add 'winblend' to support blending of floating windows

Also add `hi blend=` attribute to override transparency of indiviual attributes.
This commit is contained in:
Björn Linse
2019-04-17 22:22:26 +02:00
parent 027ebb23da
commit 4c4d964eeb
16 changed files with 342 additions and 30 deletions

View File

@@ -54,6 +54,9 @@ typedef struct {
int row_offset;
int col_offset;
// whether the compositor should blend the grid with the background grid
bool blending;
// state owned by the compositor.
int comp_row;
int comp_col;
@@ -61,7 +64,7 @@ typedef struct {
bool comp_disabled;
} ScreenGrid;
#define SCREEN_GRID_INIT { 0, NULL, NULL, NULL, NULL, 0, 0, false, 0, 0, 0, \
0, 0, false }
#define SCREEN_GRID_INIT { 0, NULL, NULL, NULL, NULL, 0, 0, false, 0, 0, \
false, 0, 0, 0, false }
#endif // NVIM_GRID_DEFS_H