mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
mention notcurses_reader.3 in notcurses.3
This commit is contained in:
parent
cd2cc6f340
commit
deda0ff681
@ -101,6 +101,7 @@ A few high-level widgets are included, all built atop ncplanes:
|
||||
* **notcurses_menu(3)** for menu bars at the top or bottom of the screen
|
||||
* **notcurses_multiselector(3)** for selecting one or more items from a set
|
||||
* **notcurses_plot(3)** for drawing histograms and lineplots
|
||||
* **notcurses_reader(3)** for free-form input data
|
||||
* **notcurses_reel(3)** for hierarchal display of data
|
||||
* **notcurses_selector(3)** for selecting one item from a set
|
||||
|
||||
|
@ -323,8 +323,8 @@ struct ncvisual_options {
|
||||
ncblitter_e blitter;
|
||||
uint64_t flags;
|
||||
};
|
||||
struct ncplane* ncblit_bgrx(const void* data, int linesize, const struct ncvisual_options *vopts);
|
||||
struct ncplane* ncblit_rgba(const void* data, int linesize, const struct ncvisual_options *vopts);
|
||||
int ncblit_bgrx(const void* data, int linesize, const struct ncvisual_options *vopts);
|
||||
int ncblit_rgba(const void* data, int linesize, const struct ncvisual_options *vopts);
|
||||
struct ncselector_item {
|
||||
char* option;
|
||||
char* desc;
|
||||
|
@ -36,7 +36,7 @@ rotate_grad(struct notcurses* nc){
|
||||
.leny = dimy * 2,
|
||||
.lenx = dimx,
|
||||
};
|
||||
if(ncblit_rgba(rgba, dimx * 4, &vopts) == NULL){
|
||||
if(ncblit_rgba(rgba, dimx * 4, &vopts) < 0){
|
||||
free(rgba);
|
||||
return -1;
|
||||
}
|
||||
@ -171,7 +171,7 @@ rotate(struct notcurses* nc){
|
||||
.x = XSIZE,
|
||||
.n = n,
|
||||
};
|
||||
if(ncblit_rgba(rgba, XSIZE * 4, &vopts) == NULL){
|
||||
if(ncblit_rgba(rgba, XSIZE * 4, &vopts) < 0){
|
||||
free(rgba);
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user