diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-03-12 16:54:18 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-03-12 16:54:18 +0100 |
| commit | 3ffd4e783c17bcd90820da297b9a2c3c7766df95 (patch) | |
| tree | b272cbfaca25087dfb6541ef0e7241408f409f79 /view.h | |
| parent | 20db7cee2dc1d61e0a9894373e30b1e7ae393a4c (diff) | |
| download | vis-3ffd4e783c17bcd90820da297b9a2c3c7766df95.tar.gz vis-3ffd4e783c17bcd90820da297b9a2c3c7766df95.tar.xz | |
ui/view: general code cleanup
Diffstat (limited to 'view.h')
| -rw-r--r-- | view.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,10 +25,10 @@ typedef struct { char data[16]; /* utf8 encoded character displayed in this cell (might be more than one Unicode codepoint. might also not be the same as in the underlying text, for example tabs get expanded */ - unsigned int attr; + enum UiStyles style;/* style id used to display this cell */ bool selected; /* whether this cell is part of a selected region */ bool cursor; /* whether a cursor is currently located on the cell */ - bool cursor_primary; + bool cursor_primary;/* whether it is the primary cursor located on the cell */ } Cell; typedef struct Line Line; |
