mirror of
https://github.com/neovim/neovim.git
synced 2026-07-16 22:21:30 +00:00
drawscreen.c vs screen.c makes absolutely no sense. The screen exists only to draw upon it, therefore helper functions are distributed randomly between screen.c and the file that does the redrawing. In addition screen.c does a lot of drawing on the screen. It made more sense for vim/vim as our grid.c is their screen.c Not sure if we want to dump all the code for option chars into optionstr.c, so keep these in a optionchar.c for now.
30 lines
624 B
C
30 lines
624 B
C
#ifndef NVIM_DRAWLINE_H
|
|
#define NVIM_DRAWLINE_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#include "klib/kvec.h"
|
|
#include "nvim/decoration_provider.h"
|
|
#include "nvim/fold.h"
|
|
#include "nvim/macros.h"
|
|
#include "nvim/types.h"
|
|
|
|
// Maximum columns for terminal highlight attributes
|
|
#define TERM_ATTRS_MAX 1024
|
|
|
|
typedef struct {
|
|
NS ns_id;
|
|
uint64_t mark_id;
|
|
int win_row;
|
|
int win_col;
|
|
} WinExtmark;
|
|
EXTERN kvec_t(WinExtmark) win_extmark_arr INIT(= KV_INITIAL_VALUE);
|
|
|
|
EXTERN bool conceal_cursor_used INIT(= false);
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "drawline.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_DRAWLINE_H
|