casa
$Rev:20696$
|
An event handler to negotiate between three different PanelDisplays. More...
#include <SlicePanelDisplay.h>
Public Member Functions | |
SliceEH (PanelDisplay *mwch, uInt axis=0, uInt daxis=0) | |
virtual | ~SliceEH () |
virtual void | draw (const WCMotionEvent &ev) |
virtual void | operator() (const WCMotionEvent &ev) |
default sends event to cout | |
virtual void | operator() (const WCPositionEvent &ev) |
Default just prints the event to cout. | |
virtual void | matchKey (Display::KeySym key) |
Private Attributes | |
PanelDisplay * | itsPD |
MWCAnimator | itsAni |
uInt | itsAxis |
uInt | itsDrawAxis |
Display::KeySym | itsPositionKey |
Display::KeyModifier | itsMotionKey |
An event handler to negotiate between three different PanelDisplays.
Public interface
Definition at line 68 of file SlicePanelDisplay.h.
casa::SliceEH::SliceEH | ( | PanelDisplay * | mwch, |
uInt | axis = 0 , |
||
uInt | daxis = 0 |
||
) |
virtual casa::SliceEH::~SliceEH | ( | ) | [virtual] |
virtual void casa::SliceEH::draw | ( | const WCMotionEvent & | ev | ) | [virtual] |
virtual void casa::SliceEH::matchKey | ( | Display::KeySym | key | ) | [virtual] |
virtual void casa::SliceEH::operator() | ( | const WCMotionEvent & | ev | ) | [virtual] |
default sends event to cout
Implements casa::WCMotionEH.
virtual void casa::SliceEH::operator() | ( | const WCPositionEvent & | ev | ) | [virtual] |
Default just prints the event to cout.
Implements casa::WCPositionEH.
MWCAnimator casa::SliceEH::itsAni [private] |
Definition at line 78 of file SlicePanelDisplay.h.
uInt casa::SliceEH::itsAxis [private] |
Definition at line 79 of file SlicePanelDisplay.h.
uInt casa::SliceEH::itsDrawAxis [private] |
Definition at line 80 of file SlicePanelDisplay.h.
Definition at line 82 of file SlicePanelDisplay.h.
PanelDisplay* casa::SliceEH::itsPD [private] |
Definition at line 77 of file SlicePanelDisplay.h.
Display::KeySym casa::SliceEH::itsPositionKey [private] |
Definition at line 81 of file SlicePanelDisplay.h.