Skip to content

Commit

Permalink
mention notcurses_reader.3 in notcurses.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Jun 5, 2020
1 parent cd2cc6f commit deda0ff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions doc/man/man3/notcurses.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions python/src/notcurses/build_notcurses.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@
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;
Expand Down
4 changes: 2 additions & 2 deletions src/poc/rotator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit deda0ff

Please sign in to comment.