window.h (1402B)
1 #pragma once 2 3 #include <stdbool.h> 4 5 #include "nvim/buffer_defs.h" // IWYU pragma: keep 6 #include "nvim/ex_cmds_defs.h" // IWYU pragma: keep 7 #include "nvim/garray_defs.h" // IWYU pragma: keep 8 #include "nvim/macros_defs.h" 9 #include "nvim/option_defs.h" // IWYU pragma: keep 10 #include "nvim/types_defs.h" // IWYU pragma: keep 11 12 /// arguments for win_split() 13 enum { 14 WSP_ROOM = 0x01, ///< require enough room 15 WSP_VERT = 0x02, ///< split/equalize vertically 16 WSP_HOR = 0x04, ///< equalize horizontally 17 WSP_TOP = 0x08, ///< window at top-left of shell 18 WSP_BOT = 0x10, ///< window at bottom-right of shell 19 WSP_HELP = 0x20, ///< creating the help window 20 WSP_BELOW = 0x40, ///< put new window below/right 21 WSP_ABOVE = 0x80, ///< put new window above/left 22 WSP_NEWLOC = 0x100, ///< don't copy location list 23 WSP_NOENTER = 0x200, ///< don't enter the new window 24 WSP_QUICKFIX = 0x400, ///< creating the quickfix window 25 }; 26 27 enum { 28 MIN_COLUMNS = 12, ///< minimal columns for screen 29 MIN_LINES = 2, ///< minimal lines for screen 30 STATUS_HEIGHT = 1, ///< height of a status line under a window 31 }; 32 33 enum { 34 /// Lowest number used for window ID. Cannot have this many windows per tab. 35 LOWEST_WIN_ID = 1000, 36 }; 37 38 EXTERN int tabpage_move_disallowed INIT( = 0); ///< moving tabpages around disallowed 39 40 #include "window.h.generated.h"