mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
python: match new blend signatures
This commit is contained in:
parent
d4fe929f63
commit
5c67591294
@ -206,8 +206,8 @@ unsigned cell_bchannel(const cell* cl);
|
|||||||
unsigned cell_fchannel(const cell* cl);
|
unsigned cell_fchannel(const cell* cl);
|
||||||
uint64_t cell_set_bchannel(cell* cl, uint32_t channel);
|
uint64_t cell_set_bchannel(cell* cl, uint32_t channel);
|
||||||
uint64_t cell_set_fchannel(cell* cl, uint32_t channel);
|
uint64_t cell_set_fchannel(cell* cl, uint32_t channel);
|
||||||
uint64_t cell_blend_fchannel(cell* cl, unsigned channel, unsigned blends);
|
uint64_t cell_blend_fchannel(cell* cl, unsigned channel, unsigned* blends);
|
||||||
uint64_t cell_blend_bchannel(cell* cl, unsigned channel, unsigned blends);
|
uint64_t cell_blend_bchannel(cell* cl, unsigned channel, unsigned* blends);
|
||||||
unsigned cell_fg(const cell* cl);
|
unsigned cell_fg(const cell* cl);
|
||||||
unsigned cell_bg(const cell* cl);
|
unsigned cell_bg(const cell* cl);
|
||||||
unsigned cell_fg_alpha(const cell* cl);
|
unsigned cell_fg_alpha(const cell* cl);
|
||||||
|
@ -61,7 +61,7 @@ struct ncmenu* menu_create(struct notcurses* nc){
|
|||||||
struct ncmenu_item demo_items[] = {
|
struct ncmenu_item demo_items[] = {
|
||||||
{ .desc = "Restart", .shortcut = { .id = 'r', .ctrl = true, }, },
|
{ .desc = "Restart", .shortcut = { .id = 'r', .ctrl = true, }, },
|
||||||
};
|
};
|
||||||
const struct ncmenu_section sections[] = {
|
struct ncmenu_section sections[] = {
|
||||||
{ .name = "notcurses-demo", .items = demo_items,
|
{ .name = "notcurses-demo", .items = demo_items,
|
||||||
.itemcount = sizeof(demo_items) / sizeof(*demo_items),
|
.itemcount = sizeof(demo_items) / sizeof(*demo_items),
|
||||||
.shortcut = { .id = 'o', .alt = true, }, },
|
.shortcut = { .id = 'o', .alt = true, }, },
|
||||||
|
Loading…
Reference in New Issue
Block a user