LibreOffice Module sw (master)
1
|
#include <shdwcrsr.hxx>
Public Member Functions | |
SwShadowCursor (vcl::Window &rWin, const Color &rCol) | |
~SwShadowCursor () | |
void | SetPos (const Point &rPt, tools::Long nHeight, sal_uInt16 nMode) |
void | Paint () |
tools::Rectangle | GetRect () const |
Private Member Functions | |
void | DrawTri (const Point &rPt, tools::Long nHeight, bool bLeft) |
void | DrawCursor (const Point &rPt, tools::Long nHeight, sal_uInt16 nMode) |
Private Attributes | |
VclPtr< vcl::Window > | pWin |
Color | aCol |
Point | aOldPt |
tools::Long | nOldHeight |
sal_uInt16 | nOldMode |
Definition at line 28 of file shdwcrsr.hxx.
|
inline |
Definition at line 40 of file shdwcrsr.hxx.
SwShadowCursor::~SwShadowCursor | ( | ) |
Definition at line 26 of file shdwcrsr.cxx.
References aOldPt, DrawCursor(), nOldHeight, nOldMode, and USHRT_MAX.
|
private |
Definition at line 68 of file shdwcrsr.cxx.
References aCol, COL_WHITE, OutputDevice::DrawLine(), DrawTri(), Point, OutputDevice::Pop(), OutputDevice::Push(), pWin, OutputDevice::SetLineColor(), OutputDevice::SetMapMode(), and OutputDevice::SetRasterOp().
Referenced by Paint(), SetPos(), and ~SwShadowCursor().
|
private |
Definition at line 48 of file shdwcrsr.cxx.
References OutputDevice::DrawLine(), Point, and pWin.
Referenced by DrawCursor().
tools::Rectangle SwShadowCursor::GetRect | ( | ) | const |
Definition at line 98 of file shdwcrsr.cxx.
References aOldPt, nOldHeight, nOldMode, OutputDevice::PixelToLogic(), Point, pWin, Size::setWidth(), and Size::Width().
void SwShadowCursor::Paint | ( | ) |
Definition at line 92 of file shdwcrsr.cxx.
References aOldPt, DrawCursor(), nOldHeight, nOldMode, and USHRT_MAX.
void SwShadowCursor::SetPos | ( | const Point & | rPt, |
tools::Long | nHeight, | ||
sal_uInt16 | nMode | ||
) |
Definition at line 32 of file shdwcrsr.cxx.
References aOldPt, DrawCursor(), OutputDevice::LogicToPixel(), nOldHeight, nOldMode, Point, pWin, and USHRT_MAX.
|
private |
Definition at line 31 of file shdwcrsr.hxx.
Referenced by DrawCursor().
|
private |
Definition at line 32 of file shdwcrsr.hxx.
Referenced by GetRect(), Paint(), SetPos(), and ~SwShadowCursor().
|
private |
Definition at line 33 of file shdwcrsr.hxx.
Referenced by GetRect(), Paint(), SetPos(), and ~SwShadowCursor().
|
private |
Definition at line 34 of file shdwcrsr.hxx.
Referenced by GetRect(), Paint(), SetPos(), and ~SwShadowCursor().
|
private |
Definition at line 30 of file shdwcrsr.hxx.
Referenced by DrawCursor(), DrawTri(), GetRect(), and SetPos().