eagle, HUD: use default blitter

This commit is contained in:
nick black 2020-11-15 02:45:55 -05:00 committed by Nick Black
parent f676cd34a8
commit 61baabe9a1
3 changed files with 0 additions and 23 deletions

21
NEWS.md
View File

@ -10,27 +10,6 @@ rearrangements of Notcurses.
with its self-documenting `struct ncplane_options` argument. So long as
the arguments to `ncplane_new()` do not have side-effects, calls can be
mechanically translated to their `ncplane_create()` equivalents.
* A single `struct notcurses` now supports multiple *planepiles* or simply
*piles*. Planepiles do not exist as a type (any `ncplane` bound to itself
is the root of a pile; the standard plane is always bound to itself, and
thus there always exists a *standard pile*), but as a concept. A pile is
made up of some root plane, and all planes recursively bound to that root.
Multiple threads can freely operate on distinct piles, even rendering them
concurrently (into distinct memory, obviously). A pile ceases to exist when
all its planes are destroyed, or when its root plane is reparented into
another pile. It is an error to call `ncplane_destroy()` on a root plane to
which other planes are bound; `ncplane_genocide()` must be employed in this
case. It remains impossible to reparent or destroy the standard plane.
* A `NULL` `ncplane` can now be passed to `ncplane_create()` as its first
argument; the created `ncplane` will root its own new pile. Similarly,
`ncplane_reparent()` can now be provided the same `ncplane` for both
arguments; the `ncplane` will root its own new pile (unless it already did,
in which case this is a no-op). Planes outside the standard pile *are not
rendered in a call to `notcurses_render()`*. An `ncplane` can be reparented
into any existing pile.
* `notcurses_render_pile()` has been added to render a particular pile.
`notcurses_render()` now calls `notcurses_render_pile()` with the
standard plane.
* 2.0.4 (2020-11-10)
* Fixed unit tests for non UTF-8 case, brown bagger, alas.

View File

@ -41,7 +41,6 @@ zoom_map(struct notcurses* nc, const char* map, int* ret){
// first we want to get the true size, so don't supply NCSSCALE_STRETCH yet
struct ncvisual_options vopts = {
.y = 1,
.blitter = NCBLIT_2x2,
};
if(ncvisual_geom(nc, ncv, &vopts, &vheight, &vwidth, &yscale, &xscale)){
ncvisual_destroy(ncv);

View File

@ -636,7 +636,6 @@ int fpsgraph_init(struct notcurses* nc){
memset(&opts, 0, sizeof(opts));
opts.flags = NCPLOT_OPTION_LABELTICKSD | NCPLOT_OPTION_EXPONENTIALD;
opts.legendstyle = NCSTYLE_ITALIC;
opts.gridtype = NCBLIT_3x2;
opts.title = "frames per second";
channels_set_fg_rgb8(&opts.minchannels, 0x80, 0x80, 0xff);
channels_set_bg_rgb(&opts.minchannels, 0x201020);