LibreOffice Module vcl (master) 1
|
Public Member Functions | |
ImplTBDragMgr () | |
void | StartDragging (ToolBox *pDragBox, const Point &rPos, const tools::Rectangle &rRect, sal_uInt16 nLineMode) |
void | Dragging (const Point &rPos) |
void | EndDragging (bool bOK=true) |
DECL_LINK (SelectHdl, Accelerator &, void) | |
Private Member Functions | |
ImplTBDragMgr (const ImplTBDragMgr &)=delete | |
ImplTBDragMgr & | operator= (const ImplTBDragMgr &)=delete |
Private Attributes | |
VclPtr< ToolBox > | mpDragBox |
Point | maMouseOff |
tools::Rectangle | maRect |
tools::Rectangle | maStartRect |
Accelerator | maAccel |
sal_uInt16 | mnLineMode |
ToolBox::ImplToolItems::size_type | mnStartLines |
Definition at line 89 of file toolbox.cxx.
|
privatedelete |
ImplTBDragMgr::ImplTBDragMgr | ( | ) |
Definition at line 1034 of file toolbox.cxx.
References Accelerator::InsertItem(), KEY_ESCAPE, KEY_RETURN, LINK, maAccel, and Accelerator::SetSelectHdl().
ImplTBDragMgr::DECL_LINK | ( | SelectHdl | , |
Accelerator & | , | ||
void | |||
) |
void ImplTBDragMgr::Dragging | ( | const Point & | rPos | ) |
Definition at line 1064 of file toolbox.cxx.
References ToolBox::Docking(), ToolBox::ImplLineSizing(), maRect, mnLineMode, tools::Rectangle::Move(), mpDragBox, vcl::Window::OutputToScreenPixel(), vcl::Window::ShowTracking(), Point::X(), and Point::Y().
Referenced by ToolBox::MouseMove().
void ImplTBDragMgr::EndDragging | ( | bool | bOK = true | ) |
Definition at line 1074 of file toolbox.cxx.
References ToolBox::EndDocking(), vcl::Window::HideTracking(), vcl::Window::IsMouseCaptured(), maAccel, maRect, maStartRect, ToolBox::mbDragging, ToolBox::mnDockLines, mnStartLines, mpDragBox, vcl::Window::ReleaseMouse(), and Application::RemoveAccel().
Referenced by ToolBox::MouseButtonUp().
|
privatedelete |
void ImplTBDragMgr::StartDragging | ( | ToolBox * | pDragBox, |
const Point & | rPos, | ||
const tools::Rectangle & | rRect, | ||
sal_uInt16 | nLineMode | ||
) |
Definition at line 1044 of file toolbox.cxx.
References vcl::Window::CaptureMouse(), Application::InsertAccel(), tools::Rectangle::Left(), maAccel, maMouseOff, maRect, maStartRect, ToolBox::mbDragging, ToolBox::mnDockLines, mnLineMode, mnStartLines, mpDragBox, Point::setX(), Point::setY(), vcl::Window::ShowTracking(), tools::Rectangle::Top(), Point::X(), and Point::Y().
Referenced by ToolBox::MouseButtonDown().
|
private |
Definition at line 96 of file toolbox.cxx.
Referenced by EndDragging(), ImplTBDragMgr(), and StartDragging().
|
private |
Definition at line 93 of file toolbox.cxx.
Referenced by StartDragging().
|
private |
Definition at line 94 of file toolbox.cxx.
Referenced by Dragging(), EndDragging(), and StartDragging().
|
private |
Definition at line 95 of file toolbox.cxx.
Referenced by EndDragging(), and StartDragging().
|
private |
Definition at line 97 of file toolbox.cxx.
Referenced by Dragging(), and StartDragging().
|
private |
Definition at line 98 of file toolbox.cxx.
Referenced by EndDragging(), and StartDragging().
Definition at line 92 of file toolbox.cxx.
Referenced by Dragging(), EndDragging(), and StartDragging().