diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-25 04:54:00 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-25 04:54:00 -0400 |
commit | a45f04256a5cef95078868bcceb7bc750dcc6094 (patch) | |
tree | ecaaadc265149c35964ee89604e6366ebf02a8e3 /src/screen.h | |
parent | 2ab15b99b02a7933b4497942bb8e90c691ea93aa (diff) | |
download | runes-a45f04256a5cef95078868bcceb7bc750dcc6094.tar.gz runes-a45f04256a5cef95078868bcceb7bc750dcc6094.zip |
implement inverse
Diffstat (limited to 'src/screen.h')
-rw-r--r-- | src/screen.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/screen.h b/src/screen.h index 1c0eb9d..4fd9e83 100644 --- a/src/screen.h +++ b/src/screen.h @@ -1,6 +1,8 @@ #ifndef _RUNES_SCREEN_H #define _RUNES_SCREEN_H +#include <stdint.h> + enum RunesColorType { RUNES_COLOR_DEFAULT, RUNES_COLOR_IDX, @@ -15,13 +17,18 @@ struct runes_loc { struct runes_color { union { struct { - unsigned char r; - unsigned char g; - unsigned char b; + union { + struct { + unsigned char r; + unsigned char g; + unsigned char b; + }; + unsigned char idx; + }; + unsigned char type; }; - unsigned char idx; + uint32_t id; }; - unsigned char type; }; struct runes_cell_attrs { |