tbx  0.7.3
Public Member Functions | List of all members
tbx::RedrawEvent Class Reference

Event passed to redraw listener to give details on the area that needs a redraw. More...

#include <redrawlistener.h>

Inheritance diagram for tbx::RedrawEvent:
tbx::EventInfo

Public Member Functions

 RedrawEvent (IdBlock &id_block, PollBlock &poll_block)
 Construct the event from Toolbox and WIMP event data. More...
 
const VisibleAreavisible_area () const
 The visible area class giving details or screen area and scroll offset.
 
const BBoxclip () const
 The graphics clip in screen coordinates.
 

Detailed Description

Event passed to redraw listener to give details on the area that needs a redraw.

Also contains helper functions to convert between screen area coordinates and work area coordinates.

Constructor & Destructor Documentation

tbx::RedrawEvent::RedrawEvent ( IdBlock id_block,
PollBlock poll_block 
)
inline

Construct the event from Toolbox and WIMP event data.

Parameters
id_blockToolbox IDs for this event
poll_blockInformation returned from the WIMP for this event

The documentation for this class was generated from the following file: