diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-01-12 10:13:51 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-01-12 10:13:51 -0500 |
commit | 4c55c34efaabaa151391edf59c59a14411a79d8c (patch) | |
tree | 47e1caa73bf442035dc3a929c866c27df778dc2b /src/nvim/ui.h | |
parent | c53852a244fd78bcf11e37ddc94e8a847e80062a (diff) | |
parent | 62c1daffe028185030d0d8e95dc2c6532457b4fa (diff) | |
download | rneovim-4c55c34efaabaa151391edf59c59a14411a79d8c.tar.gz rneovim-4c55c34efaabaa151391edf59c59a14411a79d8c.tar.bz2 rneovim-4c55c34efaabaa151391edf59c59a14411a79d8c.zip |
Merge pull request #1657 from tarruda/abstract-ui-fixes
[WIP] "abstract_ui" fixes and improvements
Diffstat (limited to 'src/nvim/ui.h')
-rw-r--r-- | src/nvim/ui.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/ui.h b/src/nvim/ui.h index d0933055cc..3d3e2f4ffc 100644 --- a/src/nvim/ui.h +++ b/src/nvim/ui.h @@ -6,13 +6,14 @@ #include <stdint.h> typedef struct { - bool bold, standout, underline, undercurl, italic, reverse; + bool bold, underline, undercurl, italic, reverse; int foreground, background; } HlAttrs; typedef struct ui_t UI; struct ui_t { + bool rgb; int width, height; void *data; void (*resize)(UI *ui, int rows, int columns); @@ -32,7 +33,8 @@ struct ui_t { void (*bell)(UI *ui); void (*visual_bell)(UI *ui); void (*flush)(UI *ui); - void (*suspend)(UI *ui); + void (*update_fg)(UI *ui, int fg); + void (*update_bg)(UI *ui, int bg); }; #ifdef INCLUDE_GENERATED_DECLARATIONS |