From c878d0b5eac7cf56441f385e0d7c55e43529f119 Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 16 Aug 2020 07:27:55 -0400 Subject: [PATCH] python: add ncplane_set_attr() --- python/src/notcurses/build_notcurses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/notcurses/build_notcurses.py b/python/src/notcurses/build_notcurses.py index 0b14df6f9..3c3af75cf 100644 --- a/python/src/notcurses/build_notcurses.py +++ b/python/src/notcurses/build_notcurses.py @@ -60,6 +60,7 @@ int notcurses_render_to_file(struct notcurses* nc, FILE* fp); struct ncplane* notcurses_stdplane(struct notcurses*); const struct ncplane* notcurses_stdplane_const(const struct notcurses* nc); void ncplane_set_channels(struct ncplane* nc, uint64_t channels); +void ncplane_set_attr(struct ncplane* n, unsigned stylebits); int ncplane_set_base_cell(struct ncplane* ncp, const cell* c); int ncplane_set_base(struct ncplane* ncp, const char* egc, uint32_t attrword, uint64_t channels); int ncplane_base(struct ncplane* ncp, cell* c); @@ -148,7 +149,6 @@ 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, int idx); int ncplane_set_bg_palindex(struct ncplane* n, int idx); -unsigned ncplane_styles(const ncplane* n); void ncplane_styles_set(struct ncplane* n, unsigned stylebits); void ncplane_styles_on(struct ncplane* n, unsigned stylebits); void ncplane_styles_off(struct ncplane* n, unsigned stylebits);