fps plot: use italics for legend

This commit is contained in:
nick black 2020-08-21 07:35:09 -04:00
parent 5c533c9f1a
commit 7560b1b2da
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -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);