LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwShadowCursor Class Reference

#include <shdwcrsr.hxx>

Collaboration diagram for SwShadowCursor:
[legend]

Public Member Functions

 SwShadowCursor (vcl::Window &rWin, const Color &rCol)
 
 ~SwShadowCursor ()
 
void SetPos (const Point &rPt, long nHeight, sal_uInt16 nMode)
 
void Paint ()
 
tools::Rectangle GetRect () const
 

Private Member Functions

void DrawTri (const Point &rPt, long nHeight, bool bLeft)
 
void DrawCursor (const Point &rPt, long nHeight, sal_uInt16 nMode)
 

Private Attributes

VclPtr< vcl::WindowpWin
 
Color const aCol
 
Point aOldPt
 
long nOldHeight
 
sal_uInt16 nOldMode
 

Detailed Description

Definition at line 28 of file shdwcrsr.hxx.

Constructor & Destructor Documentation

SwShadowCursor::SwShadowCursor ( vcl::Window rWin,
const Color rCol 
)
inline

Definition at line 40 of file shdwcrsr.hxx.

SwShadowCursor::~SwShadowCursor ( )

Definition at line 27 of file shdwcrsr.cxx.

References aOldPt, DrawCursor(), nOldHeight, nOldMode, and USHRT_MAX.

Member Function Documentation

void SwShadowCursor::DrawCursor ( const Point rPt,
long  nHeight,
sal_uInt16  nMode 
)
private
void SwShadowCursor::DrawTri ( const Point rPt,
long  nHeight,
bool  bLeft 
)
private

Definition at line 49 of file shdwcrsr.cxx.

References OutputDevice::DrawLine(), pWin, Point::X(), and Point::Y().

Referenced by DrawCursor().

tools::Rectangle SwShadowCursor::GetRect ( ) const
void SwShadowCursor::Paint ( )

Definition at line 93 of file shdwcrsr.cxx.

References aOldPt, DrawCursor(), nOldHeight, nOldMode, and USHRT_MAX.

void SwShadowCursor::SetPos ( const Point rPt,
long  nHeight,
sal_uInt16  nMode 
)

Member Data Documentation

Color const SwShadowCursor::aCol
private

Definition at line 31 of file shdwcrsr.hxx.

Referenced by DrawCursor().

Point SwShadowCursor::aOldPt
private

Definition at line 32 of file shdwcrsr.hxx.

Referenced by GetRect(), Paint(), SetPos(), and ~SwShadowCursor().

long SwShadowCursor::nOldHeight
private

Definition at line 33 of file shdwcrsr.hxx.

Referenced by GetRect(), Paint(), SetPos(), and ~SwShadowCursor().

sal_uInt16 SwShadowCursor::nOldMode
private

Definition at line 34 of file shdwcrsr.hxx.

Referenced by GetRect(), Paint(), SetPos(), and ~SwShadowCursor().

VclPtr<vcl::Window> SwShadowCursor::pWin
private

Definition at line 30 of file shdwcrsr.hxx.

Referenced by DrawCursor(), DrawTri(), GetRect(), and SetPos().


The documentation for this class was generated from the following files: