diff options
Diffstat (limited to 'src/nvim/ugrid.h')
-rw-r--r-- | src/nvim/ugrid.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/nvim/ugrid.h b/src/nvim/ugrid.h index 53278dbf7a..a82b0e1c9d 100644 --- a/src/nvim/ugrid.h +++ b/src/nvim/ugrid.h @@ -1,25 +1,17 @@ #pragma once -#include "nvim/globals.h" #include "nvim/grid_defs.h" -#include "nvim/ui.h" -struct ucell; -struct ugrid; - -typedef struct ucell UCell; -typedef struct ugrid UGrid; - -struct ucell { +typedef struct ucell { schar_T data; sattr_T attr; -}; +} UCell; -struct ugrid { +typedef struct ugrid { int row, col; int width, height; UCell **cells; -}; +} UGrid; #define UGRID_FOREACH_CELL(grid, row, startcol, endcol, code) \ do { \ |