tbx
0.7.5
|
Redraw event listener. More...
#include <redrawlistener.h>
Public Member Functions | |
virtual void | redraw (const RedrawEvent &e)=0 |
Override this function and repaint the area of window required. More... | |
![]() | |
virtual | ~Listener () |
Destroy the listener object. | |
Additional Inherited Members | |
![]() | |
Listener () | |
Construct the Listener object. | |
Redraw event listener.
Add to a window to be notified of each rectangle of the window that requires a redraw.
|
pure virtual |
Override this function and repaint the area of window required.
The area is clipped so you could redraw the whole window each time, but it is more efficient if you look the the events clip member to see what part of the window needs to be redrawn.
Implemented in tbx::IconPainter, tbx::view::ItemView, tbx::view::TextView, tbx::view::ReportView, tbx::view::ListView, and tbx::view::TileView.