Cursor Class Reference

#include <cursor.hxx>

Collaboration diagram for Cursor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

SAL_DLLPRIVATE void ImplDraw ()
SAL_DLLPRIVATE void ImplRestore ()
 DECL_DLLPRIVATE_LINK (ImplTimerHdl, AutoTimer *)
SAL_DLLPRIVATE void ImplShow (BOOL bDrawDirect=TRUE)
SAL_DLLPRIVATE void ImplHide ()
SAL_DLLPRIVATE void ImplNew ()
 Cursor ()
 Cursor (const Cursor &rCursor)
 ~Cursor ()
void SetStyle (USHORT nStyle)
USHORT GetStyle () const
void Show ()
void Hide ()
BOOL IsVisible () const
void SetWindow (Window *pWindow)
WindowGetWindow () const
void SetPos (const Point &rNewPos)
const Point & GetPos () const
void SetOffsetY (long mnOffsetY=0)
long GetOffsetY () const
void SetSize (const Size &rNewSize)
const Size & GetSize () const
void SetWidth (long nNewWidth)
long GetWidth () const
void SetHeight (long nNewHeight)
long GetHeight () const
void SetSlant (long nSlant=0)
long GetSlant () const
void SetOrientation (short nOrientation=0)
short GetOrientation () const
void SetDirection (unsigned char nDirection=0)
unsigned char GetDirection () const
Cursoroperator= (const Cursor &rCursor)
BOOL operator== (const Cursor &rCursor) const
BOOL operator!= (const Cursor &rCursor) const

Private Attributes

ImplCursorDatampData
WindowmpWindow
long mnSlant
long mnOffsetY
Size maSize
Point maPos
short mnOrientation
USHORT mnStyle
BOOL mbVisible
unsigned char mnDirection


Detailed Description

Definition at line 53 of file cursor.hxx.


Constructor & Destructor Documentation

Cursor::Cursor (  ) 

Definition at line 262 of file cursor.cxx.

References mbVisible, mnDirection, mnOffsetY, mnOrientation, mnSlant, mnStyle, mpData, and mpWindow.

Cursor::Cursor ( const Cursor rCursor  ) 

Definition at line 276 of file cursor.cxx.

References mbVisible, mnDirection, mnOrientation, mnSlant, mnStyle, mpData, and mpWindow.

Cursor::~Cursor (  ) 

Definition at line 291 of file cursor.cxx.

References ImplRestore(), ImplCursorData::mbCurVisible, and mpData.


Member Function Documentation

void Cursor::ImplDraw (  ) 

void Cursor::ImplRestore (  ) 

Definition at line 163 of file cursor.cxx.

References ImplCursorInvert(), ImplCursorData::mbCurVisible, and mpData.

Referenced by IMPL_LINK(), ImplHide(), ImplNew(), and ~Cursor().

Cursor::DECL_DLLPRIVATE_LINK ( ImplTimerHdl  ,
AutoTimer  
)

void Cursor::ImplShow ( BOOL  bDrawDirect = TRUE  ) 

void Cursor::ImplHide (  ) 

void Cursor::ImplNew (  ) 

void Cursor::SetStyle ( USHORT  nStyle  ) 

Definition at line 304 of file cursor.cxx.

References ImplNew(), and mnStyle.

Referenced by DDInfo::DDInfo().

USHORT Cursor::GetStyle (  )  const [inline]

Definition at line 83 of file cursor.hxx.

void Cursor::Show (  ) 

Definition at line 315 of file cursor.cxx.

References ImplShow(), and mbVisible.

Referenced by Edit::Command(), Edit::ImplRepaint(), Edit::ImplShowCursor(), and Edit::ImplShowDDCursor().

void Cursor::Hide (  ) 

BOOL Cursor::IsVisible (  )  const [inline]

Definition at line 87 of file cursor.hxx.

Referenced by Edit::ImplRepaint().

void Cursor::SetWindow ( Window pWindow  ) 

Definition at line 337 of file cursor.cxx.

References ImplNew(), and mpWindow.

Referenced by Edit::ImplShowDDCursor().

Window* Cursor::GetWindow (  )  const [inline]

Definition at line 90 of file cursor.hxx.

void Cursor::SetPos ( const Point &  rNewPos  ) 

Definition at line 348 of file cursor.cxx.

References ImplNew(), and maPos.

Referenced by Edit::ImplShowCursor(), and Edit::ImplShowDDCursor().

const Point& Cursor::GetPos (  )  const [inline]

Definition at line 93 of file cursor.hxx.

Referenced by ImplHandleExtTextInputPos().

void Cursor::SetOffsetY ( long  mnOffsetY = 0  ) 

Definition at line 359 of file cursor.cxx.

References ImplNew(), and mnOffsetY.

long Cursor::GetOffsetY (  )  const [inline]

Definition at line 95 of file cursor.hxx.

void Cursor::SetSize ( const Size &  rNewSize  ) 

Definition at line 370 of file cursor.cxx.

References ImplNew(), and maSize.

Referenced by Edit::ImplShowCursor(), and Edit::ImplShowDDCursor().

const Size& Cursor::GetSize (  )  const [inline]

Definition at line 98 of file cursor.hxx.

Referenced by ImplHandleExtTextInputPos().

void Cursor::SetWidth ( long  nNewWidth  ) 

Definition at line 381 of file cursor.cxx.

References ImplNew(), and maSize.

long Cursor::GetWidth (  )  const [inline]

Definition at line 100 of file cursor.hxx.

void Cursor::SetHeight ( long  nNewHeight  ) 

Definition at line 392 of file cursor.cxx.

References ImplNew(), and maSize.

long Cursor::GetHeight (  )  const [inline]

Definition at line 102 of file cursor.hxx.

void Cursor::SetSlant ( long  nSlant = 0  ) 

Definition at line 403 of file cursor.cxx.

References ImplNew(), and mnSlant.

long Cursor::GetSlant (  )  const [inline]

Definition at line 105 of file cursor.hxx.

void Cursor::SetOrientation ( short  nOrientation = 0  ) 

Definition at line 414 of file cursor.cxx.

References ImplNew(), and mnOrientation.

short Cursor::GetOrientation (  )  const [inline]

Definition at line 108 of file cursor.hxx.

void Cursor::SetDirection ( unsigned char  nDirection = 0  ) 

Definition at line 425 of file cursor.cxx.

References ImplNew(), and mnDirection.

unsigned char Cursor::GetDirection (  )  const [inline]

Definition at line 111 of file cursor.hxx.

Cursor & Cursor::operator= ( const Cursor rCursor  ) 

Definition at line 436 of file cursor.cxx.

References ImplNew(), maPos, maSize, mbVisible, mnDirection, mnOrientation, and mnSlant.

BOOL Cursor::operator== ( const Cursor rCursor  )  const

Definition at line 451 of file cursor.cxx.

References maPos, maSize, mbVisible, mnDirection, mnOrientation, and mnSlant.

Referenced by operator!=().

BOOL Cursor::operator!= ( const Cursor rCursor  )  const [inline]

Definition at line 115 of file cursor.hxx.

References operator!=(), and operator==().


Member Data Documentation

Definition at line 56 of file cursor.hxx.

Referenced by Cursor(), IMPL_LINK(), ImplDraw(), ImplHide(), ImplNew(), ImplRestore(), ImplShow(), and ~Cursor().

Definition at line 57 of file cursor.hxx.

Referenced by Cursor(), ImplNew(), ImplShow(), and SetWindow().

long Cursor::mnSlant [private]

Definition at line 58 of file cursor.hxx.

Referenced by Cursor(), ImplDraw(), operator=(), operator==(), and SetSlant().

long Cursor::mnOffsetY [private]

Definition at line 59 of file cursor.hxx.

Referenced by Cursor(), ImplDraw(), and SetOffsetY().

Size Cursor::maSize [private]

Definition at line 60 of file cursor.hxx.

Referenced by ImplDraw(), operator=(), operator==(), SetHeight(), SetSize(), and SetWidth().

Point Cursor::maPos [private]

Definition at line 61 of file cursor.hxx.

Referenced by ImplDraw(), operator=(), operator==(), and SetPos().

short Cursor::mnOrientation [private]

Definition at line 62 of file cursor.hxx.

Referenced by Cursor(), ImplDraw(), operator=(), operator==(), and SetOrientation().

USHORT Cursor::mnStyle [private]

Definition at line 63 of file cursor.hxx.

Referenced by Cursor(), ImplShow(), and SetStyle().

BOOL Cursor::mbVisible [private]

Definition at line 64 of file cursor.hxx.

Referenced by Cursor(), Hide(), ImplNew(), ImplShow(), operator=(), operator==(), and Show().

unsigned char Cursor::mnDirection [private]

Definition at line 65 of file cursor.hxx.

Referenced by Cursor(), ImplDraw(), operator=(), operator==(), and SetDirection().


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

Generated on Thu Apr 29 13:59:09 2010 for ooo-build Module vcl (ooo/OOO320_m15) by  doxygen 1.5.6