1#ifndef __NCPP_READER_HH
2#define __NCPP_READER_HH
19 ensure_valid_plane (plane);
20 common_init (Utilities::to_ncplane (plane),
opts);
21 take_plane_ownership (plane);
27 ensure_valid_plane (plane);
28 common_init (Utilities::to_ncplane (plane),
opts);
29 take_plane_ownership (plane);
34 if (!is_notcurses_stopped ())
41 return error_guard_cond<bool, bool> (ret, ret);
88 if (reader ==
nullptr)
89 throw init_error (
"Notcurses failed to create a new reader");
int move_down() const noexcept
int move_left() const noexcept
bool write_egc(const char *egc) const NOEXCEPT_MAYBE
bool clear() const NOEXCEPT_MAYBE
int move_right() const noexcept
Reader(Plane &plane, const ncreader_options *opts)
Reader(Plane *plane, const ncreader_options *opts)
char * get_contents() const noexcept
int move_up() const noexcept
Plane * get_plane() const noexcept
const struct ncplane_options * opts
int ncreader_move_up(ncreader *n)
int ncreader_move_down(ncreader *n)
ncreader * ncreader_create(ncplane *n, const ncreader_options *opts)
int ncreader_write_egc(ncreader *n, const char *egc)
char * ncreader_contents(const ncreader *n)
void ncreader_destroy(ncreader *n, char **contents)
ncplane * ncreader_plane(ncreader *n)
int ncreader_clear(ncreader *n)
int ncreader_move_right(ncreader *n)
int ncreader_move_left(ncreader *n)