|
|
|
@ -33,8 +33,16 @@ bool ncdirect_canopen_videos(const struct ncdirect* n __attribute__ ((unused)));
|
|
|
|
|
bool ncdirect_canquadrant(const struct ncdirect* nc);
|
|
|
|
|
bool ncdirect_cansextant(const struct ncdirect* nc);
|
|
|
|
|
bool ncdirect_cantruecolor(const struct ncdirect* n);
|
|
|
|
|
bool ncinput_alt_p(const ncinput* n);
|
|
|
|
|
bool ncinput_capslock_p(const ncinput* n);
|
|
|
|
|
bool ncinput_ctrl_p(const ncinput* n);
|
|
|
|
|
bool ncinput_equal_p(const ncinput* n1, const ncinput* n2);
|
|
|
|
|
bool ncinput_hyper_p(const ncinput* n);
|
|
|
|
|
bool ncinput_meta_p(const ncinput* n);
|
|
|
|
|
bool ncinput_nomod_p(const ncinput* ni);
|
|
|
|
|
bool ncinput_numlock_p(const ncinput* n);
|
|
|
|
|
bool ncinput_shift_p(const ncinput* n);
|
|
|
|
|
bool ncinput_super_p(const ncinput* n);
|
|
|
|
|
bool nckey_mouse_p(uint32_t r);
|
|
|
|
|
bool nckey_pua_p(uint32_t w);
|
|
|
|
|
bool nckey_supppuaa_p(uint32_t w);
|
|
|
|
@ -108,6 +116,7 @@ int ncdirect_light_box(struct ncdirect* n, uint64_t ul, uint64_t ur,
|
|
|
|
|
unsigned ylen, unsigned xlen, unsigned ctlword);
|
|
|
|
|
int ncdirect_set_bg_rgb8(struct ncdirect* nc, unsigned r, unsigned g, unsigned b);
|
|
|
|
|
int ncdirect_set_fg_rgb8(struct ncdirect* nc, unsigned r, unsigned g, unsigned b);
|
|
|
|
|
int ncpalette_get(const ncpalette* p, int idx, uint32_t* palent);
|
|
|
|
|
int ncpalette_get_rgb8(const ncpalette* p, int idx, unsigned* restrict r, unsigned* restrict g, unsigned* restrict b);
|
|
|
|
|
int ncpalette_set(ncpalette* p, int idx, unsigned rgb);
|
|
|
|
|
int ncpalette_set_rgb8(ncpalette* p, int idx, unsigned r, unsigned g, unsigned b);
|
|
|
|
@ -180,10 +189,12 @@ struct ncplane* notcurses_bottom(struct notcurses* n);
|
|
|
|
|
struct ncplane* notcurses_stddim_yx(struct notcurses* nc, unsigned* restrict y, unsigned* restrict x);
|
|
|
|
|
struct ncplane* notcurses_top(struct notcurses* n);
|
|
|
|
|
uint16_t nccell_styles(const nccell* c);
|
|
|
|
|
uint32_t nccell_bchannel(const nccell* cl);
|
|
|
|
|
uint32_t nccell_bg_alpha(const nccell* cl);
|
|
|
|
|
uint32_t nccell_bg_palindex(const nccell* cl);
|
|
|
|
|
uint32_t nccell_bg_rgb(const nccell* cl);
|
|
|
|
|
uint32_t nccell_bg_rgb8(const nccell* cl, unsigned* r, unsigned* g, unsigned* b);
|
|
|
|
|
uint32_t nccell_fchannel(const nccell* cl);
|
|
|
|
|
uint32_t nccell_fg_alpha(const nccell* cl);
|
|
|
|
|
uint32_t nccell_fg_palindex(const nccell* cl);
|
|
|
|
|
uint32_t nccell_fg_rgb(const nccell* cl);
|
|
|
|
@ -211,10 +222,16 @@ uint32_t ncplane_fg_rgb(const struct ncplane* n);
|
|
|
|
|
uint32_t ncplane_fg_rgb8(const struct ncplane* n, unsigned* r, unsigned* g, unsigned* b);
|
|
|
|
|
uint32_t notcurses_get_blocking(struct notcurses* n, ncinput* ni);
|
|
|
|
|
uint32_t notcurses_get_nblock(struct notcurses* n, ncinput* ni);
|
|
|
|
|
uint64_t nccell_channels(const nccell* c);
|
|
|
|
|
uint64_t nccell_set_bchannel(nccell* c, uint32_t channel);
|
|
|
|
|
uint64_t nccell_set_channels(nccell* c, uint64_t channels);
|
|
|
|
|
uint64_t nccell_set_fchannel(nccell* c, uint32_t channel);
|
|
|
|
|
uint64_t ncchannels_channels(uint64_t channels);
|
|
|
|
|
uint64_t ncchannels_combine(uint32_t fchan, uint32_t bchan);
|
|
|
|
|
uint64_t ncchannels_reverse(uint64_t channels);
|
|
|
|
|
uint64_t ncchannels_set_bchannel(uint64_t* channels, uint32_t channel);
|
|
|
|
|
uint64_t ncchannels_set_bg_default(uint64_t* channels);
|
|
|
|
|
uint64_t ncchannels_set_channels(uint64_t* dst, uint64_t channels);
|
|
|
|
|
uint64_t ncchannels_set_fchannel(uint64_t* channels, uint32_t channel);
|
|
|
|
|
uint64_t ncchannels_set_fg_default(uint64_t* channels);
|
|
|
|
|
uint64_t nctabbed_hdrchan(struct nctabbed* nt);
|
|
|
|
|