LibreOffice Module vcl (master)
1
|
#include <event.hxx>
Public Member Functions | |
MouseEvent () | |
MouseEvent (const Point &rPos, sal_uInt16 nClicks=1, MouseEventModifiers nMode=MouseEventModifiers::NONE, sal_uInt16 nButtons=0, sal_uInt16 nModifier=0) | |
const Point & | GetPosPixel () const |
MouseEventModifiers | GetMode () const |
sal_uInt16 | GetClicks () const |
void | setLogicPosition (Point aLogicPosition) |
const std::optional< Point > & | getLogicPosition () const |
bool | IsEnterWindow () const |
bool | IsLeaveWindow () const |
bool | IsSynthetic () const |
bool | IsModifierChanged () const |
sal_uInt16 | GetButtons () const |
bool | IsLeft () const |
bool | IsMiddle () const |
bool | IsRight () const |
sal_uInt16 | GetModifier () const |
bool | IsShift () const |
bool | IsMod1 () const |
bool | IsMod2 () const |
bool | IsMod3 () const |
Private Attributes | |
Point | maPos |
MouseEventModifiers | mnMode |
sal_uInt16 | mnClicks |
sal_uInt16 | mnCode |
std::optional< Point > | maLogicPosition |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Definition at line 147 of file event.hxx.
References MOUSE_LEFT, MOUSE_MIDDLE, and MOUSE_RIGHT.
Referenced by SelectionEngine::Command(), vcl::ImplTranslateMouseEvent(), ImplWindowFrameProc(), Application::PostMouseEvent(), SpinField::PreNotify(), ScrollBar::PreNotify(), TabControl::PreNotify(), SplitWindow::PreNotify(), CheckBox::PreNotify(), RadioButton::PreNotify(), and SplitWindow::Tracking().
|
inline |
Definition at line 126 of file event.hxx.
Referenced by SelectionEngine::Command(), DockingWindow::EventNotify(), vcl::Window::EventNotify(), vcl::ImplTranslateMouseEvent(), Splitter::MouseButtonDown(), StatusBar::MouseButtonDown(), Edit::MouseButtonDown(), TextView::MouseButtonDown(), Calendar::MouseButtonDown(), ImplListBoxWindow::MouseButtonDown(), SvImpLBox::MouseButtonDown(), HeaderBar::MouseButtonDown(), ImplStdBorderWindowView::MouseButtonDown(), SvxIconChoiceCtrl_Impl::MouseButtonDown(), ToolBox::MouseButtonDown(), MenuFloatingWindow::MouseButtonUp(), Application::PostMouseEvent(), SelectionEngine::SelMouseButtonDown(), and SplitWindow::Tracking().
|
inline |
|
inline |
Definition at line 124 of file event.hxx.
Referenced by SelectionEngine::Command(), vcl::ImplTranslateMouseEvent(), ToolBox::MouseMove(), Application::PostMouseEvent(), and SplitWindow::Tracking().
|
inline |
Definition at line 156 of file event.hxx.
References KEY_MOD1, KEY_MOD2, and KEY_SHIFT.
Referenced by SelectionEngine::Command(), SplitWindow::ImplStartSplit(), vcl::ImplTranslateMouseEvent(), ImplWindowFrameProc(), SvxIconChoiceCtrl_Impl::MouseButtonDown(), ToolBox::MouseButtonDown(), Application::PostMouseEvent(), SelectionEngine::SelMouseButtonDown(), SelectionEngine::SelMouseButtonUp(), SplitWindow::Tracking(), and ImplListBoxWindow::Tracking().
|
inline |
Definition at line 123 of file event.hxx.
References Point.
Referenced by SvImpLBox::ButtonDownCheckCtrl(), SvImpLBox::ButtonDownCheckExpand(), SvImpLBox::ButtonUpCheckCtrl(), DockingWindow::EventNotify(), vcl::Window::EventNotify(), SelectionEngine::GetMousePosPixel(), ToolBox::ImplHandleMouseButtonUp(), ImplHandleMouseEvent(), ToolBox::ImplHandleMouseMove(), MenuFloatingWindow::ImplHighlightItem(), ImplBorderWindowView::ImplMouseMove(), SplitWindow::ImplStartSplit(), vcl::ImplTranslateMouseEvent(), ImplWindowFrameProc(), SpinField::MouseButtonDown(), MenuButton::MouseButtonDown(), Splitter::MouseButtonDown(), Slider::MouseButtonDown(), ScrollBar::MouseButtonDown(), TabControl::MouseButtonDown(), StatusBar::MouseButtonDown(), MenuBarWindow::MouseButtonDown(), SplitWindow::MouseButtonDown(), PushButton::MouseButtonDown(), Edit::MouseButtonDown(), TextView::MouseButtonDown(), Calendar::MouseButtonDown(), ImplListBoxWindow::MouseButtonDown(), SvImpLBox::MouseButtonDown(), HeaderBar::MouseButtonDown(), ImplStdBorderWindowView::MouseButtonDown(), SvxIconChoiceCtrl_Impl::MouseButtonDown(), ToolBox::MouseButtonDown(), CheckBox::MouseButtonDown(), RadioButton::MouseButtonDown(), MenuFloatingWindow::MouseButtonUp(), Edit::MouseButtonUp(), SvImpLBox::MouseButtonUp(), SvxIconChoiceCtrl_Impl::MouseButtonUp(), SvTreeListBox::MouseButtonUp(), SpinField::MouseMove(), ImplWheelWindow::MouseMove(), MenuFloatingWindow::MouseMove(), MenuBarWindow::MouseMove(), SplitWindow::MouseMove(), ImplListBoxWindow::MouseMove(), SvImpLBox::MouseMove(), HeaderBar::MouseMove(), SvxIconChoiceCtrl_Impl::MouseMove(), ToolBox::MouseMove(), SvImpLBox::MouseMoveCheckCtrl(), Application::PostMouseEvent(), SelectionEngine::SelMouseButtonDown(), SelectionEngine::SelMouseButtonUp(), SelectionEngine::SelMouseMove(), Splitter::Tracking(), Slider::Tracking(), ScrollBar::Tracking(), ImplDockingWindowWrapper::Tracking(), SplitWindow::Tracking(), PushButton::Tracking(), Edit::Tracking(), Calendar::Tracking(), DockingWindow::Tracking(), ImplListBoxWindow::Tracking(), HeaderBar::Tracking(), ImplStdBorderWindowView::Tracking(), CheckBox::Tracking(), and RadioButton::Tracking().
|
inline |
Definition at line 138 of file event.hxx.
References ENTERWINDOW.
Referenced by MenuFloatingWindow::MouseMove(), MenuBarWindow::MouseMove(), SpinField::PreNotify(), ScrollBar::PreNotify(), TabControl::PreNotify(), SplitWindow::PreNotify(), PushButton::PreNotify(), CheckBox::PreNotify(), RadioButton::PreNotify(), and ImplWin::PreNotify().
|
inline |
Definition at line 140 of file event.hxx.
References LEAVEWINDOW.
Referenced by ImplBorderWindowView::ImplMouseMove(), vcl::HyperLabel::MouseMove(), MenuFloatingWindow::MouseMove(), MenuBarWindow::MouseMove(), ImplListBoxWindow::MouseMove(), ToolBox::MouseMove(), SpinField::PreNotify(), ScrollBar::PreNotify(), TabControl::PreNotify(), SplitWindow::PreNotify(), PushButton::PreNotify(), CheckBox::PreNotify(), RadioButton::PreNotify(), and ImplWin::PreNotify().
|
inline |
Definition at line 149 of file event.hxx.
References MOUSE_LEFT.
Referenced by DockingWindow::EventNotify(), vcl::Window::EventNotify(), Slider::MouseButtonDown(), ScrollBar::MouseButtonDown(), TabControl::MouseButtonDown(), StatusBar::MouseButtonDown(), SplitWindow::MouseButtonDown(), PushButton::MouseButtonDown(), Edit::MouseButtonDown(), Calendar::MouseButtonDown(), SvImpLBox::MouseButtonDown(), HeaderBar::MouseButtonDown(), ImplStdBorderWindowView::MouseButtonDown(), SvxIconChoiceCtrl_Impl::MouseButtonDown(), ToolBox::MouseButtonDown(), CheckBox::MouseButtonDown(), RadioButton::MouseButtonDown(), TextView::MouseButtonUp(), Edit::MouseButtonUp(), ToolBox::MouseButtonUp(), SvTreeListBox::MouseButtonUp(), SpinField::MouseMove(), ImplListBoxWindow::MouseMove(), and Edit::Tracking().
|
inline |
Definition at line 151 of file event.hxx.
References MOUSE_MIDDLE.
Referenced by ScrollBar::MouseButtonDown(), TextView::MouseButtonUp(), and Edit::MouseButtonUp().
|
inline |
Definition at line 160 of file event.hxx.
References KEY_MOD1.
Referenced by DockingWindow::EventNotify(), vcl::Window::EventNotify(), ImplListBoxWindow::MouseButtonDown(), SvImpLBox::MouseButtonDown(), SvxIconChoiceCtrl_Impl::MouseButtonDown(), and ImplListBoxWindow::Tracking().
|
inline |
Definition at line 162 of file event.hxx.
References KEY_MOD2.
Referenced by SplitWindow::MouseButtonDown(), TextView::MouseButtonDown(), SvImpLBox::MouseButtonDown(), and SvxIconChoiceCtrl_Impl::MouseButtonDown().
|
inline |
|
inline |
Definition at line 144 of file event.hxx.
References MODIFIERCHANGED.
Referenced by SpinField::PreNotify(), ScrollBar::PreNotify(), TabControl::PreNotify(), SplitWindow::PreNotify(), CheckBox::PreNotify(), RadioButton::PreNotify(), ImplDockingWindowWrapper::Tracking(), and DockingWindow::Tracking().
|
inline |
Definition at line 153 of file event.hxx.
References MOUSE_RIGHT.
Referenced by ScrollBar::MouseButtonDown(), SvImpLBox::MouseButtonDown(), ImplStdBorderWindowView::MouseButtonDown(), SvxIconChoiceCtrl_Impl::MouseButtonUp(), SelectionEngine::SelMouseButtonDown(), and SelectionEngine::SelMouseButtonUp().
|
inline |
Definition at line 158 of file event.hxx.
References KEY_SHIFT.
Referenced by Edit::MouseButtonDown(), TextView::MouseButtonDown(), ImplListBoxWindow::MouseButtonDown(), SvxIconChoiceCtrl_Impl::MouseButtonDown(), and ImplListBoxWindow::Tracking().
|
inline |
Definition at line 142 of file event.hxx.
References SYNTHETIC.
Referenced by MenuFloatingWindow::MouseMove(), MenuBarWindow::MouseMove(), ImplListBoxWindow::MouseMove(), SpinField::PreNotify(), ScrollBar::PreNotify(), TabControl::PreNotify(), SplitWindow::PreNotify(), CheckBox::PreNotify(), RadioButton::PreNotify(), ImplDockingWindowWrapper::Tracking(), DockingWindow::Tracking(), and ImplStdBorderWindowView::Tracking().
|
private |
Definition at line 111 of file event.hxx.
Referenced by MouseEvent().
|
private |
Definition at line 112 of file event.hxx.
Referenced by MouseEvent().
|
private |
Definition at line 110 of file event.hxx.
Referenced by MouseEvent().