mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
NEWS: describe pure changes
This commit is contained in:
parent
37fbd526ed
commit
3596b2b2a2
8
NEWS.md
8
NEWS.md
@ -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.
|
||||
|
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user