From 98903467697fcfccdf946861849664573623a5f3 Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 23 Jan 2022 18:06:01 -0500 Subject: [PATCH] notcurses_plane.3: correct some signatures #2571 --- doc/man/man3/notcurses_plane.3.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/man/man3/notcurses_plane.3.md b/doc/man/man3/notcurses_plane.3.md index c47b5e364..eb4a082af 100644 --- a/doc/man/man3/notcurses_plane.3.md +++ b/doc/man/man3/notcurses_plane.3.md @@ -151,14 +151,22 @@ typedef struct ncplane_options { **static inline unsigned ncplane_fchannel(struct ncplane* ***nc***);** -**static inline unsigned ncplane_fg_rgb8(struct ncplane* ***nc***);** +**static inline unsigned ncplane_fg_rgb(struct ncplane* ***nc***);** -**static inline unsigned ncplane_bg_rgb8(struct ncplane* ***nc***);** +**static inline unsigned ncplane_bg_rgb(struct ncplane* ***nc***);** + +**int ncplane_set_fg_rgb(struct ncplane* ***n***, uint32_t ***channel***);** + +**int ncplane_set_bg_rgb(struct ncplane* ***n***, uint32_t ***channel***);** **static inline unsigned ncplane_fg_alpha(struct ncplane* ***nc***);** **static inline unsigned ncplane_bg_alpha(struct ncplane* ***nc***);** +**int ncplane_set_fg_alpha(struct ncplane* ***n***, unsigned ***alpha***);** + +**int ncplane_set_bg_alpha(struct ncplane* ***n***, unsigned ***alpha***);** + **static inline unsigned ncplane_fg_rgb8(struct ncplane* ***n***, unsigned* ***r***, unsigned* ***g***, unsigned* ***b***);** **static inline unsigned ncplane_bg_rgb8(struct ncplane* ***n***, unsigned* ***r***, unsigned* ***g***, unsigned* ***b***);** @@ -171,18 +179,10 @@ typedef struct ncplane_options { **void ncplane_set_bg_rgb8_clipped(struct ncplane* ***n***, int ***r***, int ***g***, int ***b***);** -**int ncplane_set_fg_rgb8(struct ncplane* ***n***, uint32_t ***channel***);** - -**int ncplane_set_bg_rgb8(struct ncplane* ***n***, uint32_t ***channel***);** - **void ncplane_set_fg_default(struct ncplane* ***n***);** **void ncplane_set_bg_default(struct ncplane* ***n***);** -**int ncplane_set_fg_alpha(struct ncplane* ***n***, unsigned ***alpha***);** - -**int ncplane_set_bg_alpha(struct ncplane* ***n***, unsigned ***alpha***);** - **int ncplane_set_fg_palindex(struct ncplane* ***n***, unsigned ***idx***);** **int ncplane_set_bg_palindex(struct ncplane* ***n***, unsigned ***idx***);**