aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-03-12 16:54:18 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-03-12 16:54:18 +0100
commit3ffd4e783c17bcd90820da297b9a2c3c7766df95 (patch)
treeb272cbfaca25087dfb6541ef0e7241408f409f79 /view.h
parent20db7cee2dc1d61e0a9894373e30b1e7ae393a4c (diff)
downloadvis-3ffd4e783c17bcd90820da297b9a2c3c7766df95.tar.gz
vis-3ffd4e783c17bcd90820da297b9a2c3c7766df95.tar.xz
ui/view: general code cleanup
Diffstat (limited to 'view.h')
-rw-r--r--view.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/view.h b/view.h
index 81e82f5..621543e 100644
--- a/view.h
+++ b/view.h
@@ -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;