LibreOffice Module vcl (master) 1
|
#include <cursor.hxx>
Public Member Functions | |
SAL_DLLPRIVATE void | ImplDraw () |
DECL_DLLPRIVATE_LINK (ImplTimerHdl, Timer *, void) | |
SAL_DLLPRIVATE void | ImplShow () |
SAL_DLLPRIVATE void | ImplHide () |
SAL_DLLPRIVATE void | ImplResume (bool bRestore=false) |
SAL_DLLPRIVATE bool | ImplSuspend () |
SAL_DLLPRIVATE void | ImplNew () |
Cursor () | |
Cursor (const Cursor &rCursor) | |
~Cursor () | |
void | SetStyle (sal_uInt16 nStyle) |
sal_uInt16 | GetStyle () const |
void | Show () |
void | Hide () |
bool | IsVisible () const |
void | SetWindow (vcl::Window *pWindow) |
void | SetPos (const Point &rNewPos) |
const Point & | GetPos () const |
void | SetSize (const Size &rNewSize) |
const Size & | GetSize () const |
void | SetWidth (tools::Long nNewWidth) |
tools::Long | GetWidth () const |
tools::Long | GetHeight () const |
void | SetOrientation (Degree10 nOrientation=0_deg10) |
void | SetDirection (CursorDirection nDirection=CursorDirection::NONE) |
Cursor & | operator= (const Cursor &rCursor) |
bool | operator== (const Cursor &rCursor) const |
bool | operator!= (const Cursor &rCursor) const |
void | DrawToDevice (OutputDevice &rRenderContext) |
Private Member Functions | |
void | LOKNotify (vcl::Window *pWindow, const OUString &rAction) |
bool | ImplPrepForDraw (const OutputDevice *pDevice, ImplCursorData &rData) |
void | ImplRestore () |
void | ImplDoShow (bool bDrawDirect, bool bRestore) |
bool | ImplDoHide (bool bStop) |
Private Attributes | |
std::unique_ptr< ImplCursorData > | mpData |
VclPtr< vcl::Window > | mpWindow |
Size | maSize |
Point | maPos |
Degree10 | mnOrientation |
sal_uInt16 | mnStyle |
bool | mbVisible |
CursorDirection | mnDirection |
Definition at line 46 of file cursor.hxx.
vcl::Cursor::Cursor | ( | ) |
Definition at line 353 of file cursor.cxx.
vcl::Cursor::Cursor | ( | const Cursor & | rCursor | ) |
Definition at line 363 of file cursor.cxx.
References maSize, mbVisible, mnDirection, mnOrientation, mnStyle, mpData, and mpWindow.
vcl::Cursor::~Cursor | ( | ) |
Definition at line 375 of file cursor.cxx.
vcl::Cursor::DECL_DLLPRIVATE_LINK | ( | ImplTimerHdl | , |
Timer * | , | ||
void | |||
) |
void vcl::Cursor::DrawToDevice | ( | OutputDevice & | rRenderContext | ) |
Definition at line 177 of file cursor.cxx.
References aData, and ImplCursorInvert().
|
inline |
Definition at line 88 of file cursor.hxx.
References maSize.
|
inline |
Definition at line 82 of file cursor.hxx.
Referenced by ImplHandleExtTextInputPos().
|
inline |
Definition at line 85 of file cursor.hxx.
References maSize.
Referenced by ImplHandleExtTextInputPos().
|
inline |
Definition at line 73 of file cursor.hxx.
|
inline |
Definition at line 87 of file cursor.hxx.
References maSize.
void vcl::Cursor::Hide | ( | ) |
Definition at line 399 of file cursor.cxx.
References mbVisible.
Referenced by Edit::Command(), Edit::dragGestureRecognized(), and Edit::ImplRepaint().
|
private |
Definition at line 289 of file cursor.cxx.
|
private |
Definition at line 198 of file cursor.cxx.
References StyleSettings::GetCursorBlinkTime(), Application::GetFocusWindow(), vcl::Window::GetSettings(), AllSettings::GetStyleSettings(), LINK, mbVisible, mpWindow, vcl::Window::mpWindowImpl, and STYLE_CURSOR_NOBLINKTIME.
void vcl::Cursor::ImplDraw | ( | ) |
Definition at line 163 of file cursor.cxx.
References ImplCursorInvert().
void vcl::Cursor::ImplHide | ( | ) |
Definition at line 313 of file cursor.cxx.
Referenced by IMPL_LINK_NOARG(), and ImplHandleLoseFocus().
void vcl::Cursor::ImplNew | ( | ) |
Definition at line 328 of file cursor.cxx.
References mbVisible, mpWindow, and STYLE_CURSOR_NOBLINKTIME.
|
private |
Definition at line 143 of file cursor.cxx.
References StyleSettings::GetCursorSize(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), OutputDevice::LogicToPixel(), ImplCursorData::maPixPos, ImplCursorData::maPixRotOff, ImplCursorData::maPixSize, maPos, maSize, ImplCursorData::mbCurVisible, mnDirection, ImplCursorData::mnDirection, mnOrientation, ImplCursorData::mnOrientation, Size::setWidth(), and Size::Width().
|
private |
Definition at line 190 of file cursor.cxx.
References ImplCursorInvert().
void vcl::Cursor::ImplResume | ( | bool | bRestore = false | ) |
Definition at line 318 of file cursor.cxx.
void vcl::Cursor::ImplShow | ( | ) |
Definition at line 308 of file cursor.cxx.
Referenced by ImplHandleGetFocus(), and vcl::Window::SetCursor().
bool vcl::Cursor::ImplSuspend | ( | ) |
Definition at line 323 of file cursor.cxx.
|
inline |
|
private |
Definition at line 244 of file cursor.cxx.
References StyleSettings::GetCursorSize(), vcl::Window::GetLOKNotifier(), vcl::Window::GetLOKWindowId(), vcl::Window::GetOutDev(), vcl::Window::GetOutOffXPixel(), vcl::Window::GetOutOffYPixel(), vcl::Window::GetParentWithLOKNotifier(), vcl::Window::GetSettings(), AllSettings::GetStyleSettings(), OutputDevice::ImplIsAntiparallel(), comphelper::LibreOfficeKit::isActive(), comphelper::LibreOfficeKit::isDialogPainting(), vcl::Window::IsRTLEnabled(), vcl::Window::LogicToPixel(), vcl::ILibreOfficeKitNotifier::notifyWindow(), OutputDevice::ReMirror(), Size::setWidth(), tools::Rectangle::toString(), Size::Width(), Point::X(), and Point::Y().
|
inline |
Definition at line 96 of file cursor.hxx.
References operator==().
vcl::Cursor & vcl::Cursor::operator= | ( | const Cursor & | rCursor | ) |
Definition at line 462 of file cursor.cxx.
References maPos, maSize, maSize, mbVisible, mbVisible, mnDirection, and mnOrientation.
bool vcl::Cursor::operator== | ( | const Cursor & | rCursor | ) | const |
Definition at line 474 of file cursor.cxx.
References maPos, maSize, maSize, mbVisible, mbVisible, mnDirection, and mnOrientation.
Referenced by operator!=().
void vcl::Cursor::SetDirection | ( | CursorDirection | nDirection = CursorDirection::NONE | ) |
Definition at line 453 of file cursor.cxx.
void vcl::Cursor::SetOrientation | ( | Degree10 | nOrientation = 0_deg10 | ) |
Definition at line 444 of file cursor.cxx.
void vcl::Cursor::SetPos | ( | const Point & | rNewPos | ) |
Definition at line 417 of file cursor.cxx.
Referenced by Edit::ImplShowCursor().
void vcl::Cursor::SetSize | ( | const Size & | rNewSize | ) |
void vcl::Cursor::SetStyle | ( | sal_uInt16 | nStyle | ) |
Definition at line 381 of file cursor.cxx.
Referenced by DDInfo::DDInfo(), and TextDDInfo::TextDDInfo().
void vcl::Cursor::SetWidth | ( | tools::Long | nNewWidth | ) |
Definition at line 435 of file cursor.cxx.
References maSize.
void vcl::Cursor::SetWindow | ( | vcl::Window * | pWindow | ) |
Definition at line 408 of file cursor.cxx.
References VclPtr< reference_type >::get(), and mpWindow.
void vcl::Cursor::Show | ( | ) |
Definition at line 390 of file cursor.cxx.
References mbVisible.
Referenced by Edit::Command(), Edit::ImplRepaint(), and Edit::ImplShowCursor().
|
private |
Definition at line 52 of file cursor.hxx.
Referenced by ImplPrepForDraw(), operator=(), and operator==().
|
private |
Definition at line 51 of file cursor.hxx.
Referenced by ImplPrepForDraw(), operator=(), and operator==().
|
private |
Definition at line 55 of file cursor.hxx.
Referenced by Cursor(), operator=(), and operator==().
|
private |
Definition at line 56 of file cursor.hxx.
Referenced by Cursor(), ImplPrepForDraw(), operator=(), and operator==().
|
private |
Definition at line 53 of file cursor.hxx.
Referenced by Cursor(), ImplPrepForDraw(), operator=(), and operator==().
|
private |
Definition at line 54 of file cursor.hxx.
Referenced by Cursor().
|
private |
Definition at line 49 of file cursor.hxx.
Referenced by Cursor().
|
private |
Definition at line 50 of file cursor.hxx.
Referenced by Cursor().