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::LOKHandleMouseEvent(), Application::PostMouseEvent(), SplitWindow::PreNotify(), TabControl::PreNotify(), CheckBox::PreNotify(), RadioButton::PreNotify(), Edit::PreNotify(), ScrollBar::PreNotify(), SpinField::PreNotify(), and SplitWindow::Tracking().
|
inline |
Definition at line 126 of file event.hxx.
Referenced by SelectionEngine::Command(), vcl::Window::EventNotify(), DockingWindow::EventNotify(), vcl::ImplTranslateMouseEvent(), Application::LOKHandleMouseEvent(), SvImpLBox::MouseButtonDown(), SvxIconChoiceCtrl_Impl::MouseButtonDown(), HeaderBar::MouseButtonDown(), Splitter::MouseButtonDown(), StatusBar::MouseButtonDown(), ToolBox::MouseButtonDown(), Edit::MouseButtonDown(), ImplStdBorderWindowView::MouseButtonDown(), Calendar::MouseButtonDown(), ImplListBoxWindow::MouseButtonDown(), TextView::MouseButtonDown(), MenuFloatingWindow::MouseButtonUp(), Application::PostMouseEvent(), SelectionEngine::SelMouseButtonDown(), and SplitWindow::Tracking().
|
inline |
|
inline |
Definition at line 124 of file event.hxx.
References mnMode.
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(), Application::LOKHandleMouseEvent(), 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.
Referenced by SvImpLBox::ButtonDownCheckCtrl(), SvImpLBox::ButtonDownCheckExpand(), SvImpLBox::ButtonUpCheckCtrl(), vcl::Window::EventNotify(), DockingWindow::EventNotify(), SelectionEngine::GetMousePosPixel(), ToolBox::ImplHandleMouseButtonUp(), ImplHandleMouseEvent(), ToolBox::ImplHandleMouseMove(), MenuFloatingWindow::ImplHighlightItem(), ImplBorderWindowView::ImplMouseMove(), SplitWindow::ImplStartSplit(), vcl::ImplTranslateMouseEvent(), ImplWindowFrameProc(), Application::LOKHandleMouseEvent(), SvImpLBox::MouseButtonDown(), SvxIconChoiceCtrl_Impl::MouseButtonDown(), HeaderBar::MouseButtonDown(), Splitter::MouseButtonDown(), SplitWindow::MouseButtonDown(), StatusBar::MouseButtonDown(), TabControl::MouseButtonDown(), ToolBox::MouseButtonDown(), PushButton::MouseButtonDown(), CheckBox::MouseButtonDown(), RadioButton::MouseButtonDown(), Edit::MouseButtonDown(), MenuButton::MouseButtonDown(), ScrollBar::MouseButtonDown(), SpinField::MouseButtonDown(), SvTreeListBox::MouseButtonDown(), ImplStdBorderWindowView::MouseButtonDown(), Calendar::MouseButtonDown(), ImplListBoxWindow::MouseButtonDown(), Slider::MouseButtonDown(), MenuBarWindow::MouseButtonDown(), TextView::MouseButtonDown(), SvImpLBox::MouseButtonUp(), SvxIconChoiceCtrl_Impl::MouseButtonUp(), Edit::MouseButtonUp(), SvTreeListBox::MouseButtonUp(), MenuFloatingWindow::MouseButtonUp(), SvImpLBox::MouseMove(), SvxIconChoiceCtrl_Impl::MouseMove(), HeaderBar::MouseMove(), SplitWindow::MouseMove(), ToolBox::MouseMove(), SpinField::MouseMove(), ImplListBoxWindow::MouseMove(), ImplWheelWindow::MouseMove(), MenuBarWindow::MouseMove(), MenuFloatingWindow::MouseMove(), SvImpLBox::MouseMoveCheckCtrl(), Application::PostMouseEvent(), SelectionEngine::SelMouseButtonDown(), SelectionEngine::SelMouseButtonUp(), SelectionEngine::SelMouseMove(), Calendar::Tracking(), ImplDockingWindowWrapper::Tracking(), DockingWindow::Tracking(), HeaderBar::Tracking(), Splitter::Tracking(), SplitWindow::Tracking(), PushButton::Tracking(), CheckBox::Tracking(), RadioButton::Tracking(), Edit::Tracking(), ScrollBar::Tracking(), ImplStdBorderWindowView::Tracking(), ImplListBoxWindow::Tracking(), and Slider::Tracking().
|
inline |
Definition at line 138 of file event.hxx.
References ENTERWINDOW, and mnMode.
Referenced by MenuBarWindow::MouseMove(), MenuFloatingWindow::MouseMove(), SplitWindow::PreNotify(), TabControl::PreNotify(), PushButton::PreNotify(), CheckBox::PreNotify(), RadioButton::PreNotify(), Edit::PreNotify(), ListBox::PreNotify(), ScrollBar::PreNotify(), and SpinField::PreNotify().
|
inline |
Definition at line 140 of file event.hxx.
References LEAVEWINDOW, and mnMode.
Referenced by ImplBorderWindowView::ImplMouseMove(), ToolBox::MouseMove(), vcl::HyperLabel::MouseMove(), ImplListBoxWindow::MouseMove(), MenuBarWindow::MouseMove(), MenuFloatingWindow::MouseMove(), SplitWindow::PreNotify(), TabControl::PreNotify(), PushButton::PreNotify(), CheckBox::PreNotify(), RadioButton::PreNotify(), Edit::PreNotify(), ListBox::PreNotify(), ScrollBar::PreNotify(), and SpinField::PreNotify().
|
inline |
Definition at line 149 of file event.hxx.
References MOUSE_LEFT.
Referenced by vcl::Window::EventNotify(), DockingWindow::EventNotify(), SvImpLBox::MouseButtonDown(), SvxIconChoiceCtrl_Impl::MouseButtonDown(), HeaderBar::MouseButtonDown(), SplitWindow::MouseButtonDown(), StatusBar::MouseButtonDown(), TabControl::MouseButtonDown(), ToolBox::MouseButtonDown(), PushButton::MouseButtonDown(), CheckBox::MouseButtonDown(), RadioButton::MouseButtonDown(), Edit::MouseButtonDown(), ScrollBar::MouseButtonDown(), SvTreeListBox::MouseButtonDown(), ImplStdBorderWindowView::MouseButtonDown(), Calendar::MouseButtonDown(), Slider::MouseButtonDown(), ToolBox::MouseButtonUp(), Edit::MouseButtonUp(), TextView::MouseButtonUp(), SpinField::MouseMove(), ImplListBoxWindow::MouseMove(), and Edit::Tracking().
|
inline |
Definition at line 151 of file event.hxx.
References MOUSE_MIDDLE.
Referenced by ScrollBar::MouseButtonDown(), Edit::MouseButtonUp(), and TextView::MouseButtonUp().
|
inline |
Definition at line 160 of file event.hxx.
References KEY_MOD1.
Referenced by vcl::Window::EventNotify(), DockingWindow::EventNotify(), SvImpLBox::MouseButtonDown(), SvxIconChoiceCtrl_Impl::MouseButtonDown(), ImplListBoxWindow::MouseButtonDown(), and ImplListBoxWindow::Tracking().
|
inline |
Definition at line 162 of file event.hxx.
References KEY_MOD2.
Referenced by SvImpLBox::MouseButtonDown(), SvxIconChoiceCtrl_Impl::MouseButtonDown(), SplitWindow::MouseButtonDown(), and TextView::MouseButtonDown().
|
inline |
|
inline |
Definition at line 144 of file event.hxx.
References mnMode, and MODIFIERCHANGED.
Referenced by SplitWindow::PreNotify(), TabControl::PreNotify(), CheckBox::PreNotify(), RadioButton::PreNotify(), Edit::PreNotify(), ScrollBar::PreNotify(), SpinField::PreNotify(), ImplDockingWindowWrapper::Tracking(), and DockingWindow::Tracking().
|
inline |
Definition at line 153 of file event.hxx.
References MOUSE_RIGHT.
Referenced by SvImpLBox::MouseButtonDown(), ScrollBar::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 SvxIconChoiceCtrl_Impl::MouseButtonDown(), Edit::MouseButtonDown(), ImplListBoxWindow::MouseButtonDown(), TextView::MouseButtonDown(), and ImplListBoxWindow::Tracking().
|
inline |
Definition at line 142 of file event.hxx.
References mnMode, and SYNTHETIC.
Referenced by ImplListBoxWindow::MouseMove(), MenuBarWindow::MouseMove(), MenuFloatingWindow::MouseMove(), SplitWindow::PreNotify(), TabControl::PreNotify(), CheckBox::PreNotify(), RadioButton::PreNotify(), Edit::PreNotify(), ScrollBar::PreNotify(), SpinField::PreNotify(), ImplDockingWindowWrapper::Tracking(), DockingWindow::Tracking(), and ImplStdBorderWindowView::Tracking().
|
inline |
|
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().