User:Taken/Cursor Usage

From The Document Foundation Wiki
Jump to: navigation, search

LibreOffice uses two hand mouse cursors (POINTER_HAND and POINTER_REFHAND). This page intend to summarize usage of two cursors.

POINTER_HAND

Relations between usage and code are my assumptions. So below may contain incorrect assumptions

Panning (Zoom toolbar of Impress/Draw)

Pointer hand panning.png
Related code
impress/sd/source/ui/func/fuzoom.cxx#240

I suppose POINTER_MOVE can be used here.

Control point in custom shapes

Pointer hand control points.png
Related code (one of below or both?)
libs-core/svx/source/svdraw/svdhdl.cxx#855
libs-core/svx/source/svdraw/svdhdl.cxx#850

For general control point and for connecter point, POINTER_MOVEPOINT is used (see below fig)

Pointer hand connector.png


Top Left corner of OLE objects (only Impress/Draw?)

Pointer hand ole.png

POINTER_HAND appears when mouse is over top left corner of OLE object. I'm not sure what this means.

Related code??? (not certian)
libs-core/svx/source/svdraw/svdhdl.cxx#1632

Cells referenced by forumla (Calc)

Pointer hand referenced cell.png
Related cod (one of below or both?)
calc/sc/source/ui/view/gridwin.cxx#2351
calc/sc/source/ui/view/gridwin.cxx#4742

??? (Media Player)

Related code
libs-core/avmedia/source/viewer/mediawindow_impl.cxx#355

POINTER_REFHAND