ResizeHandler Class Reference

This class implements the resize hander needed to repaint the display window when its size changes. Note that this class is needed because viewports are not used in this example program. If you were using viewports, their individual repaint handlers would do the trick -- of course you might need a ResizeHandler to inforce your own resize policy on the subwindows. The default one does nothing. More...

Inheritance diagram for ResizeHandler:
Inheritance graph
[legend]
Collaboration diagram for ResizeHandler:
Collaboration graph
[legend]

List of all members.

Public Types

typedef DisplayList::iterator iterator
typedef CursorWindow::row_col row_col

Public Member Functions

void linedown (CursorWindow *w)
void lineup (CursorWindow *w)
void operator() (CursorWindow *w)
void operator() (CursorWindow *w)
void pagedown (CursorWindow *w)
void pageup (CursorWindow *w)
 ResizeHandler (DisplayList *l, FileName title)

Private Attributes

int lines_on_page_
DisplayListlist_
int page_offset_
FileName title_
iterator top_

Detailed Description

This class implements the resize hander needed to repaint the display window when its size changes. Note that this class is needed because viewports are not used in this example program. If you were using viewports, their individual repaint handlers would do the trick -- of course you might need a ResizeHandler to inforce your own resize policy on the subwindows. The default one does nothing.

Definition at line 95 of file v.cxx.


Member Typedef Documentation

Definition at line 110 of file v.cxx.

Definition at line 111 of file v.cxx.


Constructor & Destructor Documentation

ResizeHandler ( DisplayList l,
FileName  title 
)

Definition at line 123 of file v.cxx.


Member Function Documentation

void linedown ( CursorWindow w  ) 

Definition at line 318 of file v.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

void lineup ( CursorWindow w  ) 

Definition at line 265 of file v.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

void operator() ( CursorWindow w  )  [virtual]

Implements resize_handler.

Definition at line 54 of file read_experiment.cxx.

Here is the call graph for this function:

void operator() ( CursorWindow w  )  [virtual]

Implements resize_handler.

Definition at line 131 of file v.cxx.

Here is the call graph for this function:

void pagedown ( CursorWindow w  ) 

Definition at line 236 of file v.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:

void pageup ( CursorWindow w  ) 

Definition at line 216 of file v.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

int lines_on_page_ [private]

Definition at line 119 of file v.cxx.

DisplayList* list_ [private]

Definition at line 115 of file v.cxx.

int page_offset_ [private]

Definition at line 118 of file v.cxx.

FileName title_ [private]

Definition at line 117 of file v.cxx.

iterator top_ [private]

Definition at line 116 of file v.cxx.


The documentation for this class was generated from the following files:
Generated on Wed Feb 29 22:51:57 2012 for CXXUtilities by  doxygen 1.6.3