Window Class Reference

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...

Collaboration diagram for Window:
Collaboration graph
[legend]

List of all members.

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_handlerresize_handler_
row_col size_
port * viewport_ [100]
int viewports_

Detailed Description

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.


Constructor & Destructor Documentation

Window (  ) 

complete repaint needed

construct an unopened window

Definition at line 211 of file cursorwindow.cxx.


Member Function Documentation

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.

Here is the call graph for this function:

Here is the caller graph for this function:

void delete_port ( port *  p  ) 

Definition at line 683 of file cursorwindow.cxx.

Here is the call graph for this function:

port* new_port ( CursorWindow w,
repaint_handler h,
viewport::position  p 
)

Definition at line 225 of file cursorwindow.cxx.

void repaint_ports (  ) 

Definition at line 727 of file cursorwindow.cxx.

Here is the caller graph for this function:

void resize_viewports ( row_col const &  old_size,
row_col const &  new_size 
)

Definition at line 786 of file cursorwindow.cxx.

Here is the caller graph for this function:


Member Data Documentation

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.

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.

Definition at line 208 of file cursorwindow.cxx.


The documentation for this class was generated from the following file:
Generated on Wed Feb 29 22:54:11 2012 for CXXUtilities by  doxygen 1.6.3