mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
fix docs: rename ncplane_attr → ncplane_styles
This commit is contained in:
parent
ec1ef7200b
commit
fef35db1c9
4
USAGE.md
4
USAGE.md
@ -1303,7 +1303,7 @@ ncplane_putc(struct ncplane* n, const nccell* c){
|
|||||||
// This works whether the underlying char is signed or unsigned.
|
// This works whether the underlying char is signed or unsigned.
|
||||||
static inline int
|
static inline int
|
||||||
ncplane_putchar_yx(struct ncplane* n, int y, int x, char c){
|
ncplane_putchar_yx(struct ncplane* n, int y, int x, char c){
|
||||||
nccell ce = CELL_INITIALIZER(c, ncplane_attr(n), ncplane_channels(n));
|
nccell ce = CELL_INITIALIZER(c, ncplane_styles(n), ncplane_channels(n));
|
||||||
return ncplane_putc_yx(n, y, x, &ce);
|
return ncplane_putc_yx(n, y, x, &ce);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1808,7 +1808,7 @@ all implemented in terms of the lower-level [Channels API](#channels).
|
|||||||
uint64_t ncplane_channels(const struct ncplane* n);
|
uint64_t ncplane_channels(const struct ncplane* n);
|
||||||
|
|
||||||
// Get the current styling for the ncplane 'n'.
|
// Get the current styling for the ncplane 'n'.
|
||||||
uint16_t ncplane_attr(const struct ncplane* n);
|
uint16_t ncplane_styles(const struct ncplane* n);
|
||||||
|
|
||||||
// Set the alpha and coloring bits of the plane's current channels from a
|
// Set the alpha and coloring bits of the plane's current channels from a
|
||||||
// 64-bit pair of channels.
|
// 64-bit pair of channels.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user