aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.h
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-21 20:35:44 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-21 20:35:44 -0400
commit05736777e42403b6605284d9bd6954be3616583a (patch)
tree7599c91ee56ca0f0c902e9eee28553dfd0432dc0 /src/term.h
parenta2a10300342a4d10fd584494f603becabdf45100 (diff)
downloadrunes-05736777e42403b6605284d9bd6954be3616583a.tar.gz
runes-05736777e42403b6605284d9bd6954be3616583a.zip
support 16 colors, 256 colors, and arbitrary rgb colors
Diffstat (limited to 'src/term.h')
-rw-r--r--src/term.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/term.h b/src/term.h
index 89a0c54..c1d49ac 100644
--- a/src/term.h
+++ b/src/term.h
@@ -15,8 +15,9 @@ struct runes_term {
cairo_pattern_t *fgdefault;
cairo_pattern_t *bgdefault;
- cairo_pattern_t *colors[8];
- cairo_pattern_t *brightcolors[8];
+ cairo_pattern_t *colors[256];
+ cairo_pattern_t *fgcustom;
+ cairo_pattern_t *bgcustom;
int fgcolor;
int bgcolor;