This class holds the real CursorWindow datastructures. It is hidden from view because its inclusion is unnecessary and because curses might be included which adds all kinds of annoying macros into your compilation stream. More...
Public Member Functions | |
void | activate (viewport *p) |
void | cover_hole (port *deceased) |
Re-layout other viewports when one is deleted. | |
void | delete_port (port *p) |
port * | new_port (CursorWindow *w, repaint_handler *h, viewport::position p) |
void | repaint_ports () |
void | resize_viewports (row_col const &old_size, row_col const &new_size) |
Window () | |
complete repaint needed | |
Public Attributes | |
int | active_viewport_ |
row_col | curpos_ |
int | current_attribute_ |
char const * | error_ |
int | needs_resized_ |
bool | open_ |
resize_handler * | resize_handler_ |
row_col | size_ |
port * | viewport_ [100] |
int | viewports_ |
This class holds the real CursorWindow datastructures. It is hidden from view because its inclusion is unnecessary and because curses might be included which adds all kinds of annoying macros into your compilation stream.
Definition at line 189 of file cursorwindow.cxx.
Window | ( | ) |
complete repaint needed
construct an unopened window
Definition at line 211 of file cursorwindow.cxx.
void activate | ( | viewport * | p | ) |
Definition at line 758 of file cursorwindow.cxx.
void cover_hole | ( | port * | deceased | ) |
Re-layout other viewports when one is deleted.
Definition at line 235 of file cursorwindow.cxx.
void delete_port | ( | port * | p | ) |
port* new_port | ( | CursorWindow * | w, | |
repaint_handler * | h, | |||
viewport::position | p | |||
) |
Definition at line 225 of file cursorwindow.cxx.
void repaint_ports | ( | ) |
int active_viewport_ |
Definition at line 207 of file cursorwindow.cxx.
Definition at line 200 of file cursorwindow.cxx.
Definition at line 199 of file cursorwindow.cxx.
char const* error_ |
Definition at line 202 of file cursorwindow.cxx.
int needs_resized_ |
Definition at line 209 of file cursorwindow.cxx.
bool open_ |
Definition at line 203 of file cursorwindow.cxx.
Definition at line 204 of file cursorwindow.cxx.
Definition at line 201 of file cursorwindow.cxx.
port* viewport_[100] |
Definition at line 206 of file cursorwindow.cxx.
int viewports_ |
Definition at line 208 of file cursorwindow.cxx.