From 7560b1b2dab15a5a34fe1366adc3f15e2c445df0 Mon Sep 17 00:00:00 2001 From: nick black Date: Fri, 21 Aug 2020 07:35:09 -0400 Subject: [PATCH] fps plot: use italics for legend --- src/demo/hud.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/demo/hud.c b/src/demo/hud.c index 1c54013ac..a6d34155c 100644 --- a/src/demo/hud.c +++ b/src/demo/hud.c @@ -542,6 +542,7 @@ int fpsgraph_init(struct notcurses* nc){ ncplot_options opts; memset(&opts, 0, sizeof(opts)); opts.flags = NCPLOT_OPTION_LABELTICKSD | NCPLOT_OPTION_EXPONENTIALD; + opts.legendstyle = NCSTYLE_ITALIC; channels_set_fg_rgb(&opts.minchannel, 0xff, 0x00, 0xff); channels_set_bg(&opts.minchannel, 0x201020); channels_set_bg_alpha(&opts.minchannel, CELL_ALPHA_BLEND);