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 331 of file cursor.cxx.
vcl::Cursor::Cursor | ( | const Cursor & | rCursor | ) |
Definition at line 341 of file cursor.cxx.
References maSize, mbVisible, mnDirection, mnOrientation, mnStyle, mpData, and mpWindow.
vcl::Cursor::~Cursor | ( | ) |
Definition at line 353 of file cursor.cxx.
void vcl::Cursor::DrawToDevice | ( | OutputDevice & | rRenderContext | ) |
Definition at line 167 of file cursor.cxx.
References aData, ImplCursorInvert(), ImplCursorData::mbCurVisible, and ImplCursorData::mnStyle.
|
inline |
Definition at line 88 of file cursor.hxx.
References Size::Height().
|
inline |
Definition at line 82 of file cursor.hxx.
References Point.
Referenced by ImplHandleExtTextInputPos().
|
inline |
Definition at line 85 of file cursor.hxx.
Referenced by ImplHandleExtTextInputPos().
|
inline |
Definition at line 73 of file cursor.hxx.
|
inline |
Definition at line 87 of file cursor.hxx.
References Size::Width().
void vcl::Cursor::Hide | ( | ) |
Definition at line 377 of file cursor.cxx.
References mbVisible.
Referenced by Edit::Command(), Edit::dragGestureRecognized(), and Edit::ImplRepaint().
|
private |
Definition at line 267 of file cursor.cxx.
|
private |
Definition at line 188 of file cursor.cxx.
References StyleSettings::GetCursorBlinkTime(), Application::GetFocusWindow(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), LINK, mbVisible, mpWindow, vcl::Window::mpWindowImpl, and STYLE_CURSOR_NOBLINKTIME.
void vcl::Cursor::ImplDraw | ( | ) |
Definition at line 153 of file cursor.cxx.
References ImplCursorInvert().
void vcl::Cursor::ImplHide | ( | ) |
Definition at line 291 of file cursor.cxx.
Referenced by IMPL_LINK_NOARG(), and ImplHandleLoseFocus().
void vcl::Cursor::ImplNew | ( | ) |
Definition at line 306 of file cursor.cxx.
References mbVisible, mpWindow, and STYLE_CURSOR_NOBLINKTIME.
|
private |
Definition at line 133 of file cursor.cxx.
References StyleSettings::GetCursorSize(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), OutputDevice::LogicToPixel(), ImplCursorData::maPixPos, ImplCursorData::maPixRotOff, ImplCursorData::maPixSize, maPos, maSize, ImplCursorData::mbCurVisible, ImplCursorData::mnDirection, mnDirection, ImplCursorData::mnOrientation, mnOrientation, Size::setWidth(), and Size::Width().
|
private |
Definition at line 180 of file cursor.cxx.
References assert(), and ImplCursorInvert().
void vcl::Cursor::ImplResume | ( | bool | bRestore = false | ) |
Definition at line 296 of file cursor.cxx.
void vcl::Cursor::ImplShow | ( | ) |
Definition at line 286 of file cursor.cxx.
Referenced by ImplHandleGetFocus(), and vcl::Window::SetCursor().
bool vcl::Cursor::ImplSuspend | ( | ) |
Definition at line 301 of file cursor.cxx.
|
inline |
Definition at line 77 of file cursor.hxx.
Referenced by Edit::ImplRepaint().
|
private |
Definition at line 235 of file cursor.cxx.
References assert(), StyleSettings::GetCursorSize(), vcl::Window::GetLOKNotifier(), vcl::Window::GetLOKWindowId(), OutputDevice::GetOutOffXPixel(), OutputDevice::GetOutOffYPixel(), vcl::Window::GetParentWithLOKNotifier(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), comphelper::LibreOfficeKit::isActive(), comphelper::LibreOfficeKit::isDialogPainting(), OutputDevice::LogicToPixel(), Point, Size::setWidth(), tools::Rectangle::toString(), and Size::Width().
|
inline |
Definition at line 96 of file cursor.hxx.
References operator==().
vcl::Cursor & vcl::Cursor::operator= | ( | const Cursor & | rCursor | ) |
Definition at line 440 of file cursor.cxx.
References maPos, maSize, maSize, mbVisible, mbVisible, mnDirection, and mnOrientation.
bool vcl::Cursor::operator== | ( | const Cursor & | rCursor | ) | const |
Definition at line 452 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 431 of file cursor.cxx.
Definition at line 422 of file cursor.cxx.
void vcl::Cursor::SetPos | ( | const Point & | rNewPos | ) |
Definition at line 395 of file cursor.cxx.
Referenced by Edit::ImplShowCursor().
void vcl::Cursor::SetStyle | ( | sal_uInt16 | nStyle | ) |
Definition at line 359 of file cursor.cxx.
Referenced by DDInfo::DDInfo().
void vcl::Cursor::SetWidth | ( | tools::Long | nNewWidth | ) |
Definition at line 413 of file cursor.cxx.
References maSize.
void vcl::Cursor::SetWindow | ( | vcl::Window * | pWindow | ) |
Definition at line 386 of file cursor.cxx.
References VclPtr< reference_type >::get(), and mpWindow.
void vcl::Cursor::Show | ( | ) |
Definition at line 368 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().