MWCEvents.h
Classes
- ResetCrosshairEvent -- Event sent to tell MWCCrosshairTool to reset. (full description)
- ResetRTRegionEvent -- Event sent to tell MWCRTRegionTool to reset. (full description)
Interface
- Public Members
- ResetCrosshairEvent(Bool skipRefresh=False): False(), skipRefresh_(skipRefresh)
- virtual const Bool skipRefresh() const
Synopsis
ResetCrosshairEvent is created and sent to MWCCrosshairTool
(via WorldCanvas::handleEvent()) to tell the crosshair to reset itself.
Motivation
This allows display library objects (e.g. MSAsRaster) to remove the
crosshair from the screen when appropriate (e.g. when it has received
a selection event from it).
Member Description
ResetCrosshairEvent(Bool skipRefresh=False): False(), skipRefresh_(skipRefresh)
caller sets skipRefresh=True iff it is handling refresh itself.
virtual const Bool skipRefresh() const
Interface
- ResetRTRegionEvent(Bool skipRefresh=False): False(), skipRefresh_(skipRefresh)
- virtual const Bool skipRefresh() const
Synopsis
ResetRTRegionEvent is created and sent to MWCRTRegionTool
(via WorldCanvas::handleEvent()) to tell the RTRegion to reset itself.
Motivation
This allows display library objects (e.g. MSAsRaster) to remove the
rectangle from the screen when appropriate (e.g. when it has received
a selection event from it).
Member Description
ResetRTRegionEvent(Bool skipRefresh=False): False(), skipRefresh_(skipRefresh)
caller sets skipRefresh=True iff it is handling refresh itself.
virtual const Bool skipRefresh() const