From 3ffd4e783c17bcd90820da297b9a2c3c7766df95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 12 Mar 2016 16:54:18 +0100 Subject: ui/view: general code cleanup --- view.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view.h') 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; -- cgit v1.2.3