summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-23 00:15:57 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-23 00:15:57 +0200
commitc662ec9978e9a381680ffe53d05da0e10bb8d1a0 (patch)
tree6e70a57744f75ff95128c90f2257ce7f0e71936d /src/globals.h
parent6c1e1570b1346de0d438fbb991bddab38c228290 (diff)
downloadvim-git-c662ec9978e9a381680ffe53d05da0e10bb8d1a0.tar.gz
patch 8.1.1580: cannot make part of a popup transparentv8.1.1580
Problem: Cannot make part of a popup transparent. Solution: Add the "mask" option.
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index ec4298494..ddafcc13d 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -74,6 +74,8 @@ EXTERN short *TabPageIdxs INIT(= NULL);
// Array with size Rows x Columns containing zindex of popups.
EXTERN short *popup_mask INIT(= NULL);
EXTERN short *popup_mask_next INIT(= NULL);
+// Array with flags for tansparent cells of current popup.
+EXTERN char *popup_transparent INIT(= NULL);
// Flag set to TRUE when popup_mask needs to be updated.
EXTERN int popup_mask_refresh INIT(= TRUE);
@@ -1681,5 +1683,7 @@ EXTERN HINSTANCE g_hinst INIT(= NULL);
#ifdef FEAT_TEXT_PROP
EXTERN int text_prop_frozen INIT(= 0);
+
+// Set to TRUE if there is any visible popup.
EXTERN int popup_visible INIT(= FALSE);
#endif