NEWS: describe pure changes

This commit is contained in:
nick black 2021-06-30 17:44:54 -04:00
parent 37fbd526ed
commit 3596b2b2a2
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 13 additions and 3 deletions

View File

@ -1,6 +1,14 @@
This document attempts to list user-visible changes and any major internal
rearrangements of Notcurses.
* 2.3.8 (not yet released)
* Marked all capability functions `__attribute__ ((pure))`. If you were
calling `notcurses_check_pixel_support()` before in order to enable pixel
blitting (unnecessary since 2.3.5), you might get compiler warnings about
statements without effects. Just remove the call if so.
* Fixed bugs in `ncvisual_blitset_geom()` and `ncvisual_render()` when using
`NCVISUAL_OPTION_CHILDPLANE` in certain configurations.
* 2.3.7 (2021-06-29)
* Deprecated `NCSTYLE_REVERSE` and `NCSTYLE_DIM`. The remainder are safe,
and I added back `NCSTYLE_BLINK` according to popular demand.

View File

@ -108,14 +108,16 @@ display_logo(const tinfo* ti, struct ncplane* n, const char* path){
if(ncv == NULL){
return -1;
}
if(ncvisual_resize(ncv, 10 * ti->cellpixy, 10 * ti->cellpixx)){
if(ncvisual_resize(ncv, 3 * ti->cellpixy, 10 * ti->cellpixx)){
ncvisual_destroy(ncv);
return -1;
}
int y, x;
ncplane_yx(n, &y, &x);
int y;
ncplane_yx(n, &y, NULL);
struct ncvisual_options vopts = {
.n = n,
.y = y,
.x = 20,
.blitter = NCBLIT_PIXEL,
.flags = NCVISUAL_OPTION_CHILDPLANE,
};