LibreOffice Module vcl (master) 1
|
#include <sal/config.h>
#include <o3tl/safeint.hxx>
#include <tools/debug.hxx>
#include <tools/time.hxx>
#include <sal/log.hxx>
#include <unotools/localedatawrapper.hxx>
#include <dndeventdispatcher.hxx>
#include <comphelper/lok.hxx>
#include <vcl/QueueInfo.hxx>
#include <vcl/timer.hxx>
#include <vcl/event.hxx>
#include <vcl/GestureEventPan.hxx>
#include <vcl/GestureEventZoom.hxx>
#include <vcl/GestureEventRotate.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <vcl/cursor.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/toolkit/floatwin.hxx>
#include <vcl/toolkit/dialog.hxx>
#include <vcl/toolkit/edit.hxx>
#include <vcl/help.hxx>
#include <vcl/dockwin.hxx>
#include <vcl/menu.hxx>
#include <vcl/virdev.hxx>
#include <vcl/uitest/logger.hxx>
#include <vcl/ptrstyle.hxx>
#include <svdata.hxx>
#include <salwtype.hxx>
#include <salframe.hxx>
#include <accmgr.hxx>
#include <print.h>
#include <window.h>
#include <helpwin.hxx>
#include <brdwin.hxx>
#include <dndlistenercontainer.hxx>
#include <com/sun/star/datatransfer/dnd/DNDConstants.hpp>
#include <com/sun/star/datatransfer/dnd/XDragSource.hpp>
#include <com/sun/star/awt/MouseEvent.hpp>
Go to the source code of this file.
Macros | |
#define | IMPL_MIN_NEEDSYSWIN 49 |
#define IMPL_MIN_NEEDSYSWIN 49 |
Definition at line 65 of file winproc.cxx.
|
static |
Definition at line 1520 of file winproc.cxx.
References VclReferenceBase::isDisposed(), vcl::Window::IsInModalMode(), and vcl::Window::IsInputEnabled().
|
static |
Definition at line 257 of file winproc.cxx.
References ContextMenu, and ImplCallCommand().
Referenced by ImplHandleMouseEvent().
|
static |
Definition at line 2212 of file winproc.cxx.
References jsdialog::Close.
Referenced by ImplHandleClose().
IMPL_LINK_NOARG | ( | vcl::Window | , |
ImplAsyncFocusHdl | , | ||
void * | , | ||
void | |||
) |
Definition at line 2035 of file winproc.cxx.
References vcl::Window::CompatLoseFocus(), vcl::Window::Deactivate(), vcl::Window::EndExtTextInput(), vcl::Window::GrabFocus(), GrabFocus, GrabFocusOnly, ImplActivateFloatingWindows(), vcl::Window::ImplCallDeactivateListeners(), ImplCallPreNotify(), vcl::Window::ImplGetFirstOverlapWindow(), ImplGetSVData(), vcl::Window::ImplGetWindow(), vcl::Window::ImplGetWindowImpl(), vcl::Cursor::ImplHide(), vcl::Window::IsInModalMode(), vcl::Window::IsInputEnabled(), LOSEFOCUS, WindowImpl::mbActive, WindowImpl::mpCursor, ImplSVWinData::mpExecuteDialogs, ImplSVWinData::mpFocusWin, WindowImpl::mpLastFocusWindow, ImplSVData::mpWinData, and RestoreWhenMin.
|
static |
Definition at line 2017 of file winproc.cxx.
References BORDERWINDOW, FLOATINGWINDOW, vcl::Window::GetActivateMode(), vcl::Window::GetType(), ImplActivateFloatingWindows(), vcl::Window::ImplGetWindow(), vcl::Window::ImplGetWindowImpl(), WindowImpl::mpFirstOverlap, WindowImpl::mpNext, and NONE.
Referenced by IMPL_LINK_NOARG(), and ImplActivateFloatingWindows().
|
static |
Definition at line 203 of file winproc.cxx.
References COMMAND, vcl::Window::Command(), Size::getHeight(), vcl::Window::GetOutputSizePixel(), vcl::Window::GetPointerPosPixel(), Size::getWidth(), ImplCallPreNotify(), vcl::Window::ImplGetWindowImpl(), vcl::Window::ImplNotifyKeyMouseCommandEventListeners(), VclReferenceBase::isDisposed(), WindowImpl::mbCommand, and pData.
Referenced by ContextMenuEventLink(), ImplHandleEndExtTextInput(), ImplHandleExtTextInput(), ImplHandleExtTextInputPos(), ImplHandleInputContextChange(), ImplHandleInputLanguageChange(), ImplHandleKey(), ImplHandleMouseEvent(), ImplHandleSalKeyMod(), ImplHandleSalQueryCharPosition(), ImplHandleShowDialog(), ImplHandleStartReconversion(), ImplHandleSurroundingTextSelectionChange(), and ImplLOKHandleMouseEvent().
bool ImplCallPreNotify | ( | NotifyEvent & | rEvt | ) |
Definition at line 67 of file winproc.cxx.
References vcl::Window::CompatPreNotify(), and NotifyEvent::GetWindow().
Referenced by IMPL_LINK_NOARG(), ImplCallCommand(), ImplCallWheelCommand(), vcl::Window::ImplDlgCtrl(), vcl::Window::ImplGrabFocus(), ImplHandleKey(), and ImplHandleMouseEvent().
|
static |
Definition at line 1499 of file winproc.cxx.
References COMMAND, vcl::Window::Command(), ImplCallPreNotify(), vcl::Window::ImplGetWindowImpl(), VclReferenceBase::isDisposed(), WindowImpl::mbCommand, vcl::Window::ScreenToOutputPixel(), and Wheel.
|
static |
Definition at line 1010 of file winproc.cxx.
References VclPtr< reference_type >::get(), vcl::Window::GetParent(), tools::Time::GetSystemTicks(), vcl::Window::GetWindow(), FloatingWindow::GrabsFocus(), ImplGetSVData(), vcl::Window::ImplGetWindowImpl(), vcl::Window::IsEnabled(), vcl::Window::IsInModalMode(), vcl::Window::IsInputEnabled(), ImplSVData::maAppData, WindowImpl::mbDockWin, WindowImpl::mbFloatWin, ImplSVAppData::mnLastInputTime, ImplSVWinData::mpFirstFloat, ImplFrameData::mpFocusWin, WindowImpl::mpFrameData, ImplSVData::mpWinData, and RealParent.
Referenced by ImplHandleExtTextInput(), ImplHandleExtTextInputPos(), ImplHandleInputContextChange(), ImplHandleInputLanguageChange(), ImplHandleKey(), ImplHandleSalDeleteSurroundingTextRequest(), ImplHandleSalKeyMod(), ImplHandleSalQueryCharPosition(), ImplHandleStartReconversion(), ImplHandleSurroundingTextRequest(), and ImplHandleSurroundingTextSelectionChange().
MouseEventModifiers ImplGetMouseButtonMode | ( | SalMouseEvent const * | pEvent | ) |
Definition at line 2306 of file winproc.cxx.
References KEY_MOD1, KEY_SHIFT, SalMouseEvent::mnButton, SalAbstractMouseEvent::mnCode, MOUSE_LEFT, MOUSE_MIDDLE, MOUSE_RIGHT, MULTISELECT, NONE, RANGESELECT, SELECT, and SIMPLECLICK.
Referenced by ImplHandleSalMouseButtonDown(), ImplHandleSalMouseButtonUp(), and Application::LOKHandleMouseEvent().
MouseEventModifiers ImplGetMouseMoveMode | ( | SalMouseEvent const * | pEvent | ) |
Definition at line 2294 of file winproc.cxx.
References DRAGCOPY, DRAGMOVE, KEY_MOD1, SalAbstractMouseEvent::mnCode, MOUSE_LEFT, NONE, and SIMPLEMOVE.
Referenced by ImplHandleSalMouseLeave(), ImplHandleSalMouseMove(), and Application::LOKHandleMouseEvent().
|
static |
Definition at line 2227 of file winproc.cxx.
References Link< typename Arg, typename Ret >::Call(), Cancel, CloseAll, DelayedCloseEventLink(), vcl::Window::EndAutoScroll(), Help::EndExtHelp(), FloatingWindow::EndPopupMode(), vcl::Window::EndTracking(), SystemWindow::GetCloseHdl(), ImplDestroyHelpWindow(), FloatingWindow::ImplFindLastLevelFloat(), ImplGetSVData(), ImplGetSVHelpData(), vcl::Window::ImplGetWindow(), vcl::Window::ImplIsFloatingWindow(), FloatingWindow::ImplIsInPrivatePopupMode(), vcl::Window::IsEnabled(), vcl::Window::IsInModalMode(), vcl::Window::IsInputEnabled(), Link< typename Arg, typename Ret >::IsSet(), Key, ImplSVWinData::mpAutoScrollWin, ImplSVWinData::mpFirstFloat, ImplSVWinData::mpTrackWin, ImplSVData::mpWinData, and Application::PostUserEvent().
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 1427 of file winproc.cxx.
References EndExtTextInput, ImplCallCommand(), ImplGetSVData(), vcl::Window::ImplGetWinData(), vcl::Window::ImplGetWindowImpl(), WindowImpl::mbExtTextInput, ImplWinData::mpExtOldAttrAry, ImplWinData::mpExtOldText, ImplSVWinData::mpExtTextInputWin, and ImplSVData::mpWinData.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 1336 of file winproc.cxx.
References aData, ExtTextInput, i, ImplCallCommand(), ImplGetKeyInputWindow(), ImplGetSVData(), vcl::Window::ImplGetWinData(), vcl::Window::ImplGetWindowImpl(), comphelper::LibreOfficeKit::isActive(), WindowImpl::mbExtTextInput, ImplFrameData::mnFocusId, ImplWinData::mpExtOldAttrAry, ImplWinData::mpExtOldText, ImplSVWinData::mpExtTextInputWin, WindowImpl::mpFrameData, ImplSVData::mpWinData, SAL_WARN, StartExtTextInput, and Application::Yield().
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 1446 of file winproc.cxx.
References CursorPos, vcl::Window::GetCursor(), vcl::Window::GetCursorExtTextInputWidth(), vcl::Window::GetCursorRect(), StyleSettings::GetCursorSize(), InputContext::GetFont(), vcl::Window::GetInputContext(), vcl::Window::GetOutDev(), vcl::Window::GetOutOffXPixel(), vcl::Window::GetOutOffYPixel(), vcl::Cursor::GetPos(), vcl::Window::GetSettings(), vcl::Cursor::GetSize(), AllSettings::GetStyleSettings(), tools::Rectangle::GetWidth(), ImplCallCommand(), ImplGetKeyInputWindow(), ImplGetSVData(), vcl::Window::ImplIsWindowOrChild(), OutputDevice::ImplLogicToDevicePixel(), OutputDevice::ImplLogicWidthToDevicePixel(), vcl::Font::IsVertical(), vcl::Window::LogicToPixel(), ImplSVWinData::mpExtTextInputWin, ImplSVData::mpWinData, Size::setWidth(), and Size::Width().
Referenced by ImplHandleSalExtTextInputPos().
|
static |
Definition at line 1818 of file winproc.cxx.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 1874 of file winproc.cxx.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 1846 of file winproc.cxx.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2140 of file winproc.cxx.
References vcl::Window::ImplGetWindowImpl(), vcl::Cursor::ImplShow(), LINK, ImplFrameData::mbHasFocus, ImplFrameData::mbStartFocusState, ImplFrameData::mnFocusId, WindowImpl::mpCursor, ImplFrameData::mpFocusWin, WindowImpl::mpFrameData, and Application::PostUserEvent().
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 1492 of file winproc.cxx.
References aData, ImplCallCommand(), ImplGetKeyInputWindow(), and InputContextChange.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2442 of file winproc.cxx.
References ImplCallCommand(), ImplGetKeyInputWindow(), and InputLanguageChange.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 1067 of file winproc.cxx.
References BALLOON, Cancel, CloseAll, CONTEXT, ContextMenu, vcl::Window::EndAutoScroll(), Help::EndExtHelp(), FloatingWindow::EndPopupMode(), vcl::Window::EndTracking(), VclPtr< reference_type >::get(), vcl::KeyCode::GetCode(), Size::getHeight(), UITestLogger::getInstance(), AllSettings::GetLocaleDataWrapper(), vcl::KeyCode::GetModifier(), LocaleDataWrapper::getNumDecimalSep(), vcl::Window::GetOutDev(), OutputDevice::GetOutputSize(), vcl::Window::GetParent(), vcl::Window::GetPointerPosPixel(), FloatingWindow::GetPopupModeFlags(), Application::GetSettings(), vcl::Window::GetSettings(), tools::Time::GetSystemTicks(), Size::getWidth(), NotifyEvent::GetWindow(), Application::HandleKey(), OutputDevice::HasMirroredGraphics(), ImplCallCommand(), ImplCallPreNotify(), ImplDestroyHelpWindow(), FloatingWindow::ImplFindLastLevelFloat(), ImplGetKeyInputWindow(), ImplGetSVData(), ImplGetSVHelpData(), vcl::Window::ImplGetWindowImpl(), vcl::Window::ImplNotifyKeyMouseCommandEventListeners(), ImplAccelManager::IsAccelKey(), VclReferenceBase::isDisposed(), vcl::KeyCode::IsMod1(), vcl::KeyCode::IsMod2(), vcl::Window::IsRTLEnabled(), vcl::KeyCode::IsShift(), Key, KEY_CONTEXTMENU, KEY_DECIMAL, KEY_ESCAPE, KEY_F1, KEY_F10, KEY_F2, KEY_F6, KEY_HELP, KEY_LEFT, KEY_RETURN, KEY_RIGHT, KEYINPUT, vcl::Window::KeyInput(), KEYUP, vcl::Window::KeyUp(), UITestLogger::logKeyInput(), ImplSVData::maAppData, WindowImpl::mbFloatWin, WindowImpl::mbKeyInput, WindowImpl::mbKeyUp, ImplSVHelpData::mbSetKeyboardHelp, WindowImpl::mbToolBox, ImplSVAppData::mnLastInputTime, ImplSVAppData::mpAccelMgr, ImplSVWinData::mpAutoScrollWin, ImplSVWinData::mpFirstFloat, ImplFrameData::mpFocusWin, WindowImpl::mpFrame, WindowImpl::mpFrameData, ImplSVWinData::mpTrackWin, ImplSVData::mpWinData, NoKeyClose, NONE, vcl::Window::OutputToScreenPixel(), vcl::Window::RequestHelp(), HelpEvent::SetKeyboardActivated(), Help::StartExtHelp(), WindowKeyInput, and WindowKeyUp.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 1790 of file winproc.cxx.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2159 of file winproc.cxx.
References Cancel, CloseAll, vcl::Window::EndAutoScroll(), FloatingWindow::EndPopupMode(), vcl::Window::EndTracking(), vcl::Window::GetParent(), ImplGetSVData(), vcl::Window::ImplGetWindowImpl(), vcl::Cursor::ImplHide(), vcl::Window::IsMenuFloatingWindow(), LINK, ImplFrameData::mbHasFocus, ImplFrameData::mbStartFocusState, ImplFrameData::mnFocusId, ImplSVWinData::mpAutoScrollWin, WindowImpl::mpCursor, ImplSVWinData::mpFirstFloat, ImplFrameData::mpFocusWin, WindowImpl::mpFrameData, WindowImpl::mpFrameWindow, ImplSVWinData::mpTrackWin, ImplSVData::mpWinData, and Application::PostUserEvent().
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2364 of file winproc.cxx.
References Menu::HandleMenuActivateEvent(), MenuBar::HandleMenuButtonEvent(), Menu::HandleMenuCommandEvent(), Menu::HandleMenuDeActivateEvent(), MenuBar::HandleMenuHighlightEvent(), vcl::Window::ImplGetWindowImpl(), WindowImpl::mbSysWin, MenuActivate, MenuButtonCommand, MenuCommand, MenuDeactivate, MenuHighlight, SalMenuEvent::mnId, WindowImpl::mpFirstChild, SalMenuEvent::mpMenu, and WindowImpl::mpNext.
Referenced by ImplWindowFrameProc().
bool ImplHandleMouseEvent | ( | const VclPtr< vcl::Window > & | xWindow, |
NotifyEventType | nSVEvent, | ||
bool | bMouseLeave, | ||
tools::Long | nX, | ||
tools::Long | nY, | ||
sal_uInt64 | nMsgTime, | ||
sal_uInt16 | nCode, | ||
MouseEventModifiers | nMode | ||
) |
bRet &&
Definition at line 268 of file winproc.cxx.
References AutoScroll, ContextMenu, ContextMenuEventLink(), DBG_ASSERT, vcl::Window::EndAutoScroll(), Help::EndExtHelp(), vcl::Window::EndExtTextInput(), vcl::Window::EndTracking(), ENTERWINDOW, VclPtr< reference_type >::get(), MouseSettings::GetContextMenuClicks(), MouseSettings::GetContextMenuCode(), MouseSettings::GetDoubleClickHeight(), MouseSettings::GetDoubleClickTime(), MouseSettings::GetDoubleClickWidth(), vcl::Window::GetDragSource(), AllSettings::GetLayoutRTL(), MouseSettings::GetMiddleButtonAction(), AllSettings::GetMouseSettings(), vcl::Window::GetOutDev(), MouseEvent::GetPosPixel(), vcl::Window::GetSettings(), MouseSettings::GetStartDragCode(), MouseSettings::GetStartDragHeight(), MouseSettings::GetStartDragWidth(), vcl::Window::GetStyle(), tools::Time::GetSystemTicks(), NotifyEvent::GetWindow(), ImplCallCommand(), ImplCallPreNotify(), ImplDestroyHelpWindow(), vcl::Window::ImplFindWindow(), vcl::Window::ImplGetFrameData(), vcl::Window::ImplGetFrameWindow(), ImplGetSVData(), ImplGetSVHelpData(), vcl::Window::ImplGetWinData(), vcl::Window::ImplGetWindow(), vcl::Window::ImplGetWindowImpl(), ImplHandleMouseEvent(), ImplHandleMouseFloatMode(), ImplHandleMouseHelpRequest(), OutputDevice::ImplIsAntiparallel(), vcl::Window::ImplNotifyKeyMouseCommandEventListeners(), ImplSetMousePointer(), comphelper::LibreOfficeKit::isActive(), VclReferenceBase::isDisposed(), vcl::Window::IsEnabled(), vcl::Window::IsInModalMode(), vcl::Window::IsInputEnabled(), KEY_MOD1, KEY_MOD2, KEY_MOD3, KEY_SHIFT, LEAVEWINDOW, ImplSVData::maAppData, ImplSVHelpData::mbExtHelpMode, ImplFrameData::mbInMouseMove, ImplFrameData::mbInternalDragGestureRecognizer, WindowImpl::mbMouseButtonDown, WindowImpl::mbMouseButtonUp, ImplFrameData::mbMouseIn, ImplWinData::mbMouseOver, ImplFrameData::mbStartDragCalled, ImplFrameData::mnBeforeLastMouseX, ImplFrameData::mnBeforeLastMouseY, ImplFrameData::mnClickCount, ImplFrameData::mnFirstMouseCode, ImplFrameData::mnFirstMouseX, ImplFrameData::mnFirstMouseY, ImplSVAppData::mnLastInputTime, ImplFrameData::mnLastMouseWinX, ImplFrameData::mnLastMouseWinY, ImplFrameData::mnLastMouseX, ImplFrameData::mnLastMouseY, ImplFrameData::mnMouseCode, ImplFrameData::mnMouseDownTime, ImplFrameData::mnMouseMode, ImplSVWinData::mnTrackFlags, MODIFIERCHANGED, MOUSE_LEFT, MOUSE_MIDDLE, MOUSE_RIGHT, MOUSEBUTTONDOWN, vcl::Window::MouseButtonDown(), MOUSEBUTTONUP, vcl::Window::MouseButtonUp(), MOUSEMOVE, vcl::Window::MouseMove(), ImplSVAppData::mpActivePopupMenu, ImplSVWinData::mpAutoScrollWin, ImplSVWinData::mpCaptureWin, ImplSVWinData::mpExtTextInputWin, ImplSVWinData::mpFirstFloat, WindowImpl::mpFrameData, ImplSVHelpData::mpHelpWin, ImplFrameData::mpMouseDownWin, ImplFrameData::mpMouseMoveWin, ImplSVWinData::mpTrackTimer, ImplSVWinData::mpTrackWin, ImplSVData::mpWinData, WindowImpl::mxDNDListenerContainer, vcl::Window::OutputToScreenPixel(), PasteSelection, Application::PostUserEvent(), OutputDevice::ReMirror(), SAL_INFO, SAL_WARN_IF, vcl::Window::ScreenToOutputPixel(), ScrollRepeat, StartAutoScroll, SYNTHETIC, vcl::Window::ToTop(), vcl::Window::Tracking(), WB_OWNERDRAWDECORATION, Point::X(), and Point::Y().
Referenced by vcl::Window::ImplCallMouseMove(), ImplHandleMouseEvent(), ImplHandleSalMouseButtonDown(), ImplHandleSalMouseButtonUp(), ImplHandleSalMouseLeave(), and ImplHandleSalMouseMove().
|
static |
Definition at line 72 of file winproc.cxx.
References AllMouseButtonClose, Arrow, Cancel, CloseAll, FloatingWindow::EndPopupMode(), FloatingWindow::GetPopupModeFlags(), ImplDestroyHelpWindow(), FloatingWindow::ImplFindLastLevelFloat(), FloatingWindow::ImplFloatHitTest(), vcl::Window::ImplGetFrame(), ImplGetSVData(), ImplGetSVHelpData(), FloatingWindow::ImplIsFloatPopupModeWindow(), FloatingWindow::ImplIsMouseDown(), FloatingWindow::ImplSetMouseDown(), MOUSE_LEFT, MOUSEBUTTONDOWN, MOUSEBUTTONUP, MOUSEMOVE, ImplSVWinData::mpCaptureWin, ImplSVWinData::mpFirstFloat, ImplSVData::mpWinData, NoMouseUpClose, and SalFrame::SetPointer().
Referenced by ImplHandleMouseEvent().
|
static |
Definition at line 165 of file winproc.cxx.
References ImplGetSVHelpData(), vcl::Window::IsWindowOrChild(), ImplSVHelpData::mbQuickHelp, ImplSVHelpData::mpHelpWin, NONE, and QUICK.
Referenced by ImplHandleMouseEvent().
|
static |
Definition at line 1986 of file winproc.cxx.
References vcl::Window::GetStyle(), vcl::Window::ImplCallMove(), ImplDestroyHelpWindow(), ImplGetSVHelpData(), vcl::Window::ImplGetWindow(), vcl::Window::ImplGetWindowImpl(), vcl::Window::ImplIsFloatingWindow(), vcl::Window::IsReallyVisible(), vcl::Window::IsVisible(), KillOwnPopups(), WindowImpl::mbCallMove, WindowImpl::mbFrame, WindowImpl::mpClientWindow, TearOff, WB_MOVEABLE, and WB_SIZEABLE.
Referenced by ImplHandleMoveResize(), and ImplWindowFrameProc().
|
static |
Definition at line 2011 of file winproc.cxx.
References ImplHandleMove(), and ImplHandleResize().
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 1880 of file winproc.cxx.
References CheckRtl, vcl::Window::GetSizePixel(), vcl::Window::ImplGetWindowImpl(), vcl::Window::ImplInvalidateOverlapFrameRegion(), WindowImpl::mnPaintFlags, and vcl::Window::PaintImmediately().
Referenced by ImplWindowFrameProc().
void ImplHandleResize | ( | vcl::Window * | pWindow, |
tools::Long | nNewWidth, | ||
tools::Long | nNewHeight | ||
) |
Definition at line 1912 of file winproc.cxx.
References ImplSVHelpData::mbRequestingHelp, and vcl::Window::RequestHelp().
Referenced by ImplHandleMoveResize(), ImplWindowFrameProc(), vcl::Window::setPosSizePixel(), SystemWindow::SetWindowState(), and vcl::Window::Show().
|
static |
Definition at line 2574 of file winproc.cxx.
References vcl::Window::DeleteSurroundingText(), ImplGetKeyInputWindow(), Selection::Max(), Selection::Min(), SalSurroundingTextSelectionChangeEvent::mnEnd, SalSurroundingTextSelectionChangeEvent::mnStart, and SAL_MAX_UINT32.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2495 of file winproc.cxx.
References tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), ImplHandleExtTextInputPos(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), SalExtTextInputPosEvent::mbVertical, SalExtTextInputPosEvent::mnExtWidth, SalExtTextInputPosEvent::mnHeight, SalExtTextInputPosEvent::mnWidth, SalExtTextInputPosEvent::mnX, SalExtTextInputPosEvent::mnY, and tools::Rectangle::Top().
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2407 of file winproc.cxx.
References ImplCallCommand(), vcl::Window::ImplCallMouseMove(), ImplGetKeyInputWindow(), ImplGetSVData(), vcl::Window::ImplGetWindowImpl(), KEY_MOD1, KEY_MOD2, KEY_MOD3, KEY_SHIFT, SalKeyModEvent::mbDown, SalKeyModEvent::mnCode, SalKeyModEvent::mnModKeyCode, ImplFrameData::mnMouseCode, ModKeyChange, WindowImpl::mpFrameData, WindowImpl::mpFrameWindow, ImplSVWinData::mpTrackWin, and ImplSVData::mpWinData.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2338 of file winproc.cxx.
References ImplGetMouseButtonMode(), ImplHandleMouseEvent(), KEY_MOD1, KEY_MOD2, KEY_MOD3, KEY_SHIFT, SalMouseEvent::mnButton, SalAbstractMouseEvent::mnCode, SalAbstractMouseEvent::mnTime, SalAbstractMouseEvent::mnX, SalAbstractMouseEvent::mnY, and MOUSEBUTTONDOWN.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2351 of file winproc.cxx.
References ImplGetMouseButtonMode(), ImplHandleMouseEvent(), KEY_MOD1, KEY_MOD2, KEY_MOD3, KEY_SHIFT, SalMouseEvent::mnButton, SalAbstractMouseEvent::mnCode, SalAbstractMouseEvent::mnTime, SalAbstractMouseEvent::mnX, SalAbstractMouseEvent::mnY, and MOUSEBUTTONUP.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2322 of file winproc.cxx.
References ImplGetMouseMoveMode(), ImplHandleMouseEvent(), SalAbstractMouseEvent::mnCode, SalAbstractMouseEvent::mnTime, SalAbstractMouseEvent::mnX, SalAbstractMouseEvent::mnY, and MOUSEMOVE.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2330 of file winproc.cxx.
References ImplGetMouseMoveMode(), ImplHandleMouseEvent(), SalAbstractMouseEvent::mnCode, SalAbstractMouseEvent::mnTime, SalAbstractMouseEvent::mnX, SalAbstractMouseEvent::mnY, and MOUSEMOVE.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2610 of file winproc.cxx.
References tools::Rectangle::GetHeight(), vcl::Window::GetOutDev(), tools::Rectangle::GetWidth(), ImplCallCommand(), ImplGetKeyInputWindow(), ImplGetSVData(), vcl::Window::ImplGetWinData(), vcl::Window::ImplIsWindowOrChild(), OutputDevice::ImplLogicToDevicePixel(), o3tl::make_unsigned(), SalQueryCharPositionEvent::mbValid, SalQueryCharPositionEvent::mbVertical, ImplWinData::mbVertical, SalQueryCharPositionEvent::mnCharPos, ImplWinData::mnCompositionCharRects, SalQueryCharPositionEvent::mnCursorBoundHeight, SalQueryCharPositionEvent::mnCursorBoundWidth, SalQueryCharPositionEvent::mnCursorBoundX, SalQueryCharPositionEvent::mnCursorBoundY, ImplWinData::mpCompositionCharRects, ImplSVWinData::mpExtTextInputWin, ImplSVData::mpWinData, vcl::Window::OutputToAbsoluteScreenPixel(), QueryCharPosition, vcl::Window::ScreenToOutputPixel(), tools::Rectangle::TopLeft(), Point::X(), and Point::Y().
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2452 of file winproc.cxx.
References DISPLAY, DisplayChanged, FontChanged, FONTS, GetpApp(), Application::GetSettings(), Application::ImplCallEventListenersApplicationDataChanged(), ImplDeletePrnQueueList(), OutputDevice::ImplUpdateAllFontData(), Application::MergeSystemSettings(), NONE, Application::NotifyAllWindows(), nType, Application::OverrideSystemSettings(), PRINTER, PrinterChanged, Application::SetSettings(), and SettingsChanged.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2551 of file winproc.cxx.
References ImplHandleSurroundingTextRequest(), SalSurroundingTextRequestEvent::maText, Selection::Max(), Selection::Min(), SalSurroundingTextRequestEvent::mnEnd, SalSurroundingTextRequestEvent::mnStart, and Selection::Normalize().
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2515 of file winproc.cxx.
References BORDERWINDOW, Client, vcl::Window::GetType(), vcl::Window::GetWindow(), ImplCallCommand(), and ShowDialog.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2603 of file winproc.cxx.
References ImplCallCommand(), ImplGetKeyInputWindow(), and PrepareReconversion.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2530 of file winproc.cxx.
References vcl::Window::GetSurroundingText(), vcl::Window::GetSurroundingTextSelection(), ImplGetKeyInputWindow(), Selection::Max(), Selection::Min(), Selection::setMax(), and Selection::setMin().
Referenced by ImplHandleSalSurroundingTextRequest().
|
static |
Definition at line 2591 of file winproc.cxx.
References ImplCallCommand(), ImplGetKeyInputWindow(), and SelectionChange.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 1764 of file winproc.cxx.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 2281 of file winproc.cxx.
References Link< typename Arg, typename Ret >::Call(), ImplSVEvent::maLink, ImplSVEvent::mbCall, and ImplSVEvent::mpData.
Referenced by ImplWindowFrameProc().
|
static |
Definition at line 1738 of file winproc.cxx.
Referenced by ImplWindowFrameProc().
bool ImplLOKHandleMouseEvent | ( | const VclPtr< vcl::Window > & | xWindow, |
NotifyEventType | nEvent, | ||
bool | bMouseLeave, | ||
tools::Long | nX, | ||
tools::Long | nY, | ||
sal_uInt64 | nMsgTime, | ||
sal_uInt16 | nCode, | ||
MouseEventModifiers | nMode, | ||
sal_uInt16 | nClicks | ||
) |
Definition at line 808 of file winproc.cxx.
References aEvent, ContextMenu, vcl::Window::EndTracking(), MouseSettings::GetContextMenuClicks(), MouseSettings::GetContextMenuCode(), vcl::Window::GetDragSource(), AllSettings::GetMouseSettings(), vcl::Window::GetSettings(), MouseSettings::GetStartDragCode(), MouseSettings::GetStartDragHeight(), MouseSettings::GetStartDragWidth(), ImplCallCommand(), vcl::Window::ImplGetFrameData(), vcl::Window::ImplGetWindowImpl(), VclReferenceBase::isDisposed(), KEY_MOD1, KEY_MOD2, KEY_MOD3, KEY_SHIFT, ImplFrameData::mbDragging, ImplFrameData::mbInternalDragGestureRecognizer, ImplFrameData::mbMouseIn, ImplFrameData::mbStartDragCalled, ImplFrameData::mnClickCount, ImplFrameData::mnFirstMouseX, ImplFrameData::mnFirstMouseY, ImplFrameData::mnLastMouseX, ImplFrameData::mnLastMouseY, ImplFrameData::mnMouseCode, MOUSE_LEFT, MOUSE_MIDDLE, MOUSE_RIGHT, MOUSEBUTTONDOWN, vcl::Window::MouseButtonDown(), MOUSEBUTTONUP, vcl::Window::MouseButtonUp(), MOUSEMOVE, vcl::Window::MouseMove(), ImplFrameData::mpMouseDownWin, ImplFrameData::mpMouseMoveWin, ImplFrameData::mpTrackWin, WindowImpl::mxDNDListenerContainer, vcl::Window::ScreenToOutputPixel(), vcl::Window::Tracking(), Point::X(), and Point::Y().
Referenced by Application::LOKHandleMouseEvent().
|
static |
Definition at line 195 of file winproc.cxx.
References Help, vcl::Window::ImplGetFrame(), vcl::Window::ImplGetMousePointer(), ImplGetSVHelpData(), and SalFrame::SetPointer().
Referenced by ImplHandleMouseEvent().
bool ImplWindowFrameProc | ( | vcl::Window * | _pWindow, |
SalEvent | nEvent, | ||
const void * | pEvent | ||
) |
Definition at line 2653 of file winproc.cxx.
References Close, ClosePopups, DBG_TESTSOLARMUTEX, DeleteSurroundingTextRequest, DisplayChanged, EndExtTextInput, ExternalGesture, ExternalKeyInput, ExternalKeyUp, ExternalMouseButtonDown, ExternalMouseButtonUp, ExternalMouseMove, ExtTextInput, ExtTextInputPos, FontChanged, GestureLongPress, GesturePan, GestureRotate, GestureSwipe, GestureZoom, MouseEvent::GetButtons(), KeyEvent::GetCharCode(), SalFrame::GetClientSize(), GetFocus, vcl::KeyCode::GetFullCode(), SalFrame::GetGeometry(), KeyEvent::GetKeyCode(), AllSettings::GetLayoutRTL(), MouseEvent::GetModifier(), GetpApp(), MouseEvent::GetPosPixel(), KeyEvent::GetRepeat(), tools::Time::GetSystemTicks(), vcl::WindowPosSize::height(), vcl::Window::ImplGetWindowImpl(), ImplHandleClose(), ImplHandleEndExtTextInput(), ImplHandleExtTextInput(), ImplHandleGestureEvent(), ImplHandleGestureRotateEvent(), ImplHandleGestureZoomEvent(), ImplHandleGetFocus(), ImplHandleInputContextChange(), ImplHandleInputLanguageChange(), ImplHandleKey(), ImplHandleLongPress(), ImplHandleLoseFocus(), ImplHandleMenuEvent(), ImplHandleMove(), ImplHandleMoveResize(), ImplHandlePaint(), ImplHandleResize(), ImplHandleSalDeleteSurroundingTextRequest(), ImplHandleSalExtTextInputPos(), ImplHandleSalKeyMod(), ImplHandleSalMouseButtonDown(), ImplHandleSalMouseButtonUp(), ImplHandleSalMouseLeave(), ImplHandleSalMouseMove(), ImplHandleSalQueryCharPosition(), ImplHandleSalSettings(), ImplHandleSalSurroundingTextRequest(), ImplHandleShowDialog(), ImplHandleStartReconversion(), ImplHandleSurroundingTextSelectionChange(), ImplHandleSwipe(), ImplHandleUserEvent(), ImplHandleWheelEvent(), InputContextChange, InputLanguageChange, KEYINPUT, KeyInput, KeyModChange, KEYUP, KeyUp, KillOwnPopups(), LoseFocus, SalFrame::maGeometry, SalExtTextInputEvent::maText, SalPaintEvent::mbImmediateUpdate, SalGestureEvent::meEventType, MenuActivate, MenuButtonCommand, MenuCommand, MenuDeactivate, MenuHighlight, SalGestureEvent::meOrientation, SalGestureEvent::mfOffset, SalPaintEvent::mnBoundHeight, SalPaintEvent::mnBoundWidth, SalPaintEvent::mnBoundX, SalPaintEvent::mnBoundY, SalMouseEvent::mnButton, SalKeyEvent::mnCharCode, SalAbstractMouseEvent::mnCode, SalKeyEvent::mnCode, SalExtTextInputEvent::mnCursorFlags, SalExtTextInputEvent::mnCursorPos, SalSurroundingTextSelectionChangeEvent::mnEnd, SalKeyEvent::mnRepeat, SalSurroundingTextSelectionChangeEvent::mnStart, SalAbstractMouseEvent::mnTime, SalAbstractMouseEvent::mnX, SalGestureEvent::mnX, SalAbstractMouseEvent::mnY, SalGestureEvent::mnY, MouseActivate, MouseButtonDown, MouseButtonUp, MouseLeave, MouseMove, Move, MoveResize, WindowImpl::mpFrame, SalExtTextInputEvent::mpTextAttr, Paint, PrinterChanged, QueryCharPosition, Application::Quit(), Resize, SAL_WARN, SettingsChanged, ShowDialog, Shutdown, StartReconversion, SurroundingTextRequest, SurroundingTextSelectionChange, UserEvent, WheelMouse, vcl::WindowPosSize::width(), Point::X(), and Point::Y().
Referenced by IMPL_STATIC_LINK(), vcl::Window::ImplInit(), DebugEventInjector::InjectKeyNavEdit(), DebugEventInjector::InjectMenuEvent(), DebugEventInjector::InjectTextEvent(), and vcl::Window::PostExtTextInputEvent().
|
static |
Definition at line 1898 of file winproc.cxx.
References Cancel, CloseAll, FloatingWindow::EndPopupMode(), FloatingWindow::GetPopupModeFlags(), ImplGetSVData(), vcl::Window::ImplGetWindowImpl(), vcl::Window::ImplIsWindowOrChild(), ImplSVWinData::mpFirstFloat, WindowImpl::mpFrameWindow, ImplSVData::mpWinData, and NoAppFocusClose.
Referenced by ImplHandleMove(), and ImplWindowFrameProc().
|
static |
Definition at line 1531 of file winproc.cxx.
References SalAbstractMouseEvent::mnTime, SalAbstractMouseEvent::mnX, and SalAbstractMouseEvent::mnY.