mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 09:39:03 -04:00
Fixes: https://github.com/dankamongmen/notcurses/issues/1025 Added: * Direct: flush (`ncdirect_flush`) * Direct: getc (`ncdirect_getc_blocking` and `ncdirect_getc_nblock`) * Direct: getc (`ncdirect_getc`) * Direct: get_inputready_fd (`ncdirect_inputready_fd`) * NotCurses: align (`notcurses_align`) * NotCurses: ucs32_to_utf8 (`notcurses_ucs32_to_utf8`) * NotCurses: get_bottom (`notcurses_bottom`) * Plane: resize_realign (`ncplane_resize_realign`) * Plane: get_x (`ncplane_x`) * Plane: get_y (`ncplane_y`) * Plane: mergedown (`ncplane_mergedown`) * Plane: putwc_stained (`ncplane_putwc_stained`) * Plane: putstr_stained (`ncplane_putstr_stained`) * Plane: set_fchannel (`ncplane_set_fchannel`) * Plane: set_bchannel (`ncplane_set_bchannel`) * Plane: get_styles (`ncplane_styles`) * Plane: get_above (`ncplane_above`) * Reader: move_left (`ncreader_move_left`) * Reader: move_right (`ncreader_move_right`) * Reader: move_up (`ncreader_move_up`) * Reader: move_down (`ncreader_move_down`) * Reader: write_egc (`ncreader_write_egc`) * Visual: get_default_blitter (`ncvisual_default_blitter`) Fixed: * NotCurses: `cursor_{enable,disable}` must use `NOEXCEPT_MAYBE` * Plane: renamed `putcw` to `putwc`
20 lines
484 B
C++
20 lines
484 B
C++
#include <ncpp/Plane.hh>
|
|
#include <ncpp/Reel.hh>
|
|
#include <ncpp/NCBox.hh>
|
|
|
|
using namespace ncpp;
|
|
|
|
ncreel_options NcReel::default_options = {
|
|
/* bordermask */ NCBox::MaskBottom | NCBox::MaskTop | NCBox::MaskRight | NCBox::MaskLeft,
|
|
/* borderchan */ 0,
|
|
/* tabletmask */ 0,
|
|
/* tabletchan */ 0,
|
|
/* focusedchan */ 0,
|
|
/* flags */ 0,
|
|
};
|
|
|
|
Plane* NcReel::get_plane () const noexcept
|
|
{
|
|
return Plane::map_plane (ncreel_plane (reel));
|
|
}
|