wxIScan
wxIViewCanvasSelectedEvent Class Reference

The canvas selection event. More...

#include <wxiviewcanvas.h>

List of all members.

Public Member Functions

 wxIViewCanvasSelectedEvent (wxEventType oType=wxEVT_IVIEWCANVASSELECTED)
 Constructor.
wxEvent * Clone () const
 Return a copy ot this event.

Public Attributes

bool m_bShift
 Was the SHIFT key pressed while selecting?
bool m_bAlt
 Was the ALT key pressed while selecting?
bool m_bCtrl
 Was the CTRL key pressed while selecting?
bool m_bMeta
 Was the META key pressed while selecting?
wxRect m_oSelection
 Holds the selection.

Detailed Description

The canvas selection event.

...

Definition at line 69 of file wxiviewcanvas.h.


Constructor & Destructor Documentation

wxIViewCanvasSelectedEvent::wxIViewCanvasSelectedEvent ( wxEventType  oType = wxEVT_IVIEWCANVASSELECTED) [inline]

Constructor.

Definition at line 73 of file wxiviewcanvas.h.

Referenced by Clone().

      : wxEvent( 0, oType ), m_bShift( false ), m_bAlt( false ), m_bCtrl( false ), m_bMeta( false )
    {
        // Propagate event to the next event handling window.
        m_propagationLevel= wxEVENT_PROPAGATE_MAX;
    }

Member Function Documentation

wxEvent* wxIViewCanvasSelectedEvent::Clone ( ) const [inline]

Return a copy ot this event.

Definition at line 81 of file wxiviewcanvas.h.

References wxIViewCanvasSelectedEvent().

    {
        return new wxIViewCanvasSelectedEvent( *this );
    }

Member Data Documentation

Was the ALT key pressed while selecting?

Definition at line 88 of file wxiviewcanvas.h.

Referenced by wxIScanFrame::OnCanvasSelected(), and wxIViewCanvas::OnMouse().

Was the CTRL key pressed while selecting?

Definition at line 89 of file wxiviewcanvas.h.

Referenced by wxIScanFrame::OnCanvasSelected(), and wxIViewCanvas::OnMouse().

Was the META key pressed while selecting?

Definition at line 90 of file wxiviewcanvas.h.

Referenced by wxIViewCanvas::OnMouse().

Was the SHIFT key pressed while selecting?

Definition at line 87 of file wxiviewcanvas.h.

Referenced by wxIScanFrame::OnCanvasSelected(), and wxIViewCanvas::OnMouse().

Holds the selection.

Definition at line 91 of file wxiviewcanvas.h.

Referenced by wxIScanFrame::OnCanvasSelected(), and wxIViewCanvas::OnMouse().


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