#include <cursor.hxx>

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) |
| Window * | GetWindow () 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 |
| Cursor & | operator= (const Cursor &rCursor) |
| BOOL | operator== (const Cursor &rCursor) const |
| BOOL | operator!= (const Cursor &rCursor) const |
Private Attributes | |
| ImplCursorData * | mpData |
| Window * | mpWindow |
| long | mnSlant |
| long | mnOffsetY |
| Size | maSize |
| Point | maPos |
| short | mnOrientation |
| USHORT | mnStyle |
| BOOL | mbVisible |
| unsigned char | mnDirection |
Definition at line 53 of file cursor.hxx.
| 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.
| void Cursor::ImplDraw | ( | ) |
Definition at line 133 of file cursor.cxx.
References StyleSettings::GetCursorSize(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), ImplCursorInvert(), OutputDevice::LogicToPixel(), ImplCursorData::maPixPos, ImplCursorData::maPixRotOff, ImplCursorData::maPixSize, maPos, maSize, ImplCursorData::mbCurVisible, mnDirection, ImplCursorData::mnDirection, mnOffsetY, mnOrientation, ImplCursorData::mnOrientation, ImplCursorData::mnPixSlant, mnSlant, mpData, and ImplCursorData::mpWindow.
Referenced by IMPL_LINK(), ImplNew(), and ImplShow().
| 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 |
) |
Definition at line 174 of file cursor.cxx.
References StyleSettings::GetCursorBlinkTime(), Application::GetFocusWindow(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), Timer::GetTimeout(), ImplDraw(), ImplCursorData::maTimer, ImplCursorData::mbCurVisible, ImplFrameData::mbHasFocus, WindowImpl::mbInPaint, mbVisible, mnStyle, ImplCursorData::mnStyle, WindowImpl::mpCursor, mpData, WindowImpl::mpFrameData, ImplCursorData::mpWindow, mpWindow, Window::mpWindowImpl, Timer::SetTimeout(), Timer::SetTimeoutHdl(), Timer::Start(), and STYLE_CURSOR_NOBLINKTIME.
Referenced by Window::ImplCallPaint(), Window::ImplGrabFocus(), ImplHandleGetFocus(), Window::ImplScroll(), Window::SetCursor(), and Show().
| void Cursor::ImplHide | ( | ) |
Definition at line 219 of file cursor.cxx.
References ImplRestore(), ImplCursorData::maTimer, ImplCursorData::mbCurVisible, mpData, ImplCursorData::mpWindow, and Timer::Stop().
Referenced by Hide(), IMPL_LINK(), Window::ImplCallPaint(), Window::ImplGrabFocus(), ImplHandleLoseFocus(), Window::ImplScroll(), and Window::SetCursor().
| void Cursor::ImplNew | ( | ) |
Definition at line 233 of file cursor.cxx.
References Timer::GetTimeout(), ImplDraw(), ImplRestore(), ImplCursorData::maTimer, ImplCursorData::mbCurVisible, mbVisible, mpData, mpWindow, ImplCursorData::mpWindow, Timer::Start(), and STYLE_CURSOR_NOBLINKTIME.
Referenced by operator=(), SetDirection(), SetHeight(), SetOffsetY(), SetOrientation(), SetPos(), SetSize(), SetSlant(), SetStyle(), SetWidth(), and SetWindow().
| 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 | ( | ) |
Definition at line 326 of file cursor.cxx.
References ImplHide(), and mbVisible.
Referenced by Edit::Command(), Edit::dragGestureRecognized(), Edit::ImplHideDDCursor(), and Edit::ImplRepaint().
| BOOL Cursor::IsVisible | ( | ) | const [inline] |
| 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] |
| void Cursor::SetOffsetY | ( | long | mnOffsetY = 0 |
) |
| 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] |
| void Cursor::SetWidth | ( | long | nNewWidth | ) |
| long Cursor::GetWidth | ( | ) | const [inline] |
Definition at line 100 of file cursor.hxx.
| void Cursor::SetHeight | ( | long | nNewHeight | ) |
| long Cursor::GetHeight | ( | ) | const [inline] |
Definition at line 102 of file cursor.hxx.
| void Cursor::SetSlant | ( | long | nSlant = 0 |
) |
| long Cursor::GetSlant | ( | ) | const [inline] |
Definition at line 105 of file cursor.hxx.
| void Cursor::SetOrientation | ( | short | nOrientation = 0 |
) |
| short Cursor::GetOrientation | ( | ) | const [inline] |
Definition at line 108 of file cursor.hxx.
| void Cursor::SetDirection | ( | unsigned char | nDirection = 0 |
) |
| unsigned char Cursor::GetDirection | ( | ) | const [inline] |
Definition at line 111 of file cursor.hxx.
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] |
ImplCursorData* Cursor::mpData [private] |
Definition at line 56 of file cursor.hxx.
Referenced by Cursor(), IMPL_LINK(), ImplDraw(), ImplHide(), ImplNew(), ImplRestore(), ImplShow(), and ~Cursor().
Window* Cursor::mpWindow [private] |
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] |
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] |
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().
1.5.6