LibreOffice Module sd (master) 1
|
Public Member Functions | |
EventDescriptor (sal_uInt32 nEventType, const MouseEvent &rEvent, SlideSorter const &rSlideSorter) | |
EventDescriptor (sal_uInt32 nEventType, const AcceptDropEvent &rEvent, const sal_Int8 nDragAction, SlideSorter const &rSlideSorter) | |
Public Attributes | |
Point | maMousePosition |
Point | maMouseModelPosition |
model::SharedPageDescriptor | mpHitDescriptor |
SdrPage * | mpHitPage |
sal_uInt32 | mnEventCode |
InsertionIndicatorHandler::Mode | meDragMode |
bool | mbIsLeaving |
Private Member Functions | |
sal_uInt32 | EncodeMouseEvent (const MouseEvent &rEvent) const |
Compute a numerical code that describes a mouse event and that can be used for fast look up of the appropriate reaction. More... | |
sal_uInt32 | EncodeState () const |
Compute a numerical code that describes the current state like whether the selection rectangle is visible or whether the page under the mouse or the one that has the focus is selected. More... | |
Definition at line 94 of file SlsSelectionFunction.cxx.
sd::slidesorter::controller::SelectionFunction::EventDescriptor::EventDescriptor | ( | sal_uInt32 | nEventType, |
const MouseEvent & | rEvent, | ||
SlideSorter const & | rSlideSorter | ||
) |
Definition at line 703 of file SlsSelectionFunction.cxx.
References tools::Rectangle::Contains(), EncodeMouseEvent(), EncodeState(), sd::slidesorter::SlideSorter::GetContentWindow(), sd::slidesorter::SlideSorter::GetController(), sd::slidesorter::controller::SlideSorterController::GetPageAt(), MouseEvent::IsLeaveWindow(), maMouseModelPosition, maMousePosition, mbIsLeaving, mnEventCode, mpHitDescriptor, and mpHitPage.
sd::slidesorter::controller::SelectionFunction::EventDescriptor::EventDescriptor | ( | sal_uInt32 | nEventType, |
const AcceptDropEvent & | rEvent, | ||
const sal_Int8 | nDragAction, | ||
SlideSorter const & | rSlideSorter | ||
) |
Definition at line 731 of file SlsSelectionFunction.cxx.
References tools::Rectangle::Contains(), EncodeState(), sd::slidesorter::SlideSorter::GetContentWindow(), sd::slidesorter::SlideSorter::GetController(), sd::slidesorter::controller::SlideSorterController::GetPageAt(), maMouseModelPosition, maMousePosition, mbIsLeaving, AcceptDropEvent::mbLeaving, mnEventCode, mpHitDescriptor, and mpHitPage.
|
private |
Compute a numerical code that describes a mouse event and that can be used for fast look up of the appropriate reaction.
Definition at line 759 of file SlsSelectionFunction.cxx.
References MouseEvent::GetButtons(), MouseEvent::GetClicks(), MouseEvent::IsMod1(), MouseEvent::IsShift(), MOUSE_LEFT, MOUSE_MIDDLE, and MOUSE_RIGHT.
Referenced by EventDescriptor().
|
private |
Compute a numerical code that describes the current state like whether the selection rectangle is visible or whether the page under the mouse or the one that has the focus is selected.
Definition at line 789 of file SlsSelectionFunction.cxx.
References sd::slidesorter::model::PageDescriptor::ST_Selected.
Referenced by EventDescriptor().
Point sd::slidesorter::controller::SelectionFunction::EventDescriptor::maMouseModelPosition |
Definition at line 98 of file SlsSelectionFunction.cxx.
Referenced by EventDescriptor().
Point sd::slidesorter::controller::SelectionFunction::EventDescriptor::maMousePosition |
Definition at line 97 of file SlsSelectionFunction.cxx.
Referenced by EventDescriptor(), and sd::slidesorter::controller::SelectionFunction::ModeHandler::ProcessMotionEvent().
bool sd::slidesorter::controller::SelectionFunction::EventDescriptor::mbIsLeaving |
Definition at line 103 of file SlsSelectionFunction.cxx.
Referenced by EventDescriptor(), and sd::slidesorter::controller::SelectionFunction::ModeHandler::ProcessMotionEvent().
InsertionIndicatorHandler::Mode sd::slidesorter::controller::SelectionFunction::EventDescriptor::meDragMode |
Definition at line 102 of file SlsSelectionFunction.cxx.
sal_uInt32 sd::slidesorter::controller::SelectionFunction::EventDescriptor::mnEventCode |
Definition at line 101 of file SlsSelectionFunction.cxx.
Referenced by EventDescriptor(), and sd::slidesorter::controller::SelectionFunction::ModeHandler::ProcessEvent().
model::SharedPageDescriptor sd::slidesorter::controller::SelectionFunction::EventDescriptor::mpHitDescriptor |
Definition at line 99 of file SlsSelectionFunction.cxx.
Referenced by EventDescriptor().
SdrPage* sd::slidesorter::controller::SelectionFunction::EventDescriptor::mpHitPage |
Definition at line 100 of file SlsSelectionFunction.cxx.
Referenced by EventDescriptor().