diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-13 16:53:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-14 10:00:42 +0200 |
commit | 77d78b339133b4f8bc50a22cede661becc2b565b (patch) | |
tree | 0f9fb54b3a377a3a2f1f0294d06c9382ae8ec53c /include | |
parent | 222cf76001d835961537214eba38037ef40a8aa0 (diff) |
revert removal of apparently unused mouse cursors
partial revert of...
commit 65b7b6322b662785bf032e66c76abc36c9a2bb0e
Date: Wed Feb 8 10:40:28 2017 +0200
loplugin:unusedenumconstants read-only constants in vcl
because we cast the com::sun::star::awt::SystemPointer values to PointerStyle
in VCLXPointer::setType and we've at least lost the PEN as used in the
slideshow context menu's pen mode
"toolkit/source/awt/vclxpointer.cxx" 74L, 2181C
Change-Id: I5ef677f70ebc491b50403de0f92179ea4ae3bb14
Reviewed-on: https://gerrit.libreoffice.org/36526
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/ptrstyle.hxx | 177 |
1 files changed, 96 insertions, 81 deletions
diff --git a/include/vcl/ptrstyle.hxx b/include/vcl/ptrstyle.hxx index 7eb50c10fc62..996caf5f6078 100644 --- a/include/vcl/ptrstyle.hxx +++ b/include/vcl/ptrstyle.hxx @@ -22,87 +22,102 @@ enum class PointerStyle { - Arrow, - Null, - Wait, - Text, - Help, - Cross, - Move, - NSize, - SSize, - WSize, - ESize, - NWSize, - NESize, - SWSize, - SESize, - WindowNSize, - WindowSSize, - WindowWSize, - WindowESize, - WindowNWSize, - WindowNESize, - WindowSWSize, - WindowSESize, - HSplit, - VSplit, - HSizeBar, - VSizeBar, - Hand, - RefHand, - Magnify, - Fill, - Rotate, - HShear, - VShear, - Mirror, - Crook, - Crop, - MovePoint, - MoveBezierWeight, - CopyData, - LinkData, - MoveDataLink, - NotAllowed, - DrawLine, - DrawRect, - DrawPolygon, - DrawBezier, - DrawArc, - DrawPie, - DrawCircleCut, - DrawEllipse, - DrawFreehand, - DrawConnect, - DrawText, - DrawCaption, - Detective, - PivotCol, - PivotRow, - PivotField, - Chain, - ChainNotAllowed, - AutoScrollN, - AutoScrollS, - AutoScrollW, - AutoScrollE, - AutoScrollNW, - AutoScrollNE, - AutoScrollSW, - AutoScrollSE, - AutoScrollNS, - AutoScrollWE, - AutoScrollNSWE, - TextVertical, - PivotDelete, - TabSelectS, - TabSelectE, - TabSelectSE, - TabSelectW, - TabSelectSW, - HideWhitespace, - ShowWhitespace, + Arrow = 0, + Null = 1, + Wait = 2, + Text = 3, + Help = 4, + Cross = 5, + Move = 6, + NSize = 7, + SSize = 8, + WSize = 9, + ESize = 10, + NWSize = 11, + NESize = 12, + SWSize = 13, + SESize = 14, + WindowNSize = 15, + WindowSSize = 16, + WindowWSize = 17, + WindowESize = 18, + WindowNWSize = 19, + WindowNESize = 20, + WindowSWSize = 21, + WindowSESize = 22, + HSplit = 23, + VSplit = 24, + HSizeBar = 25, + VSizeBar = 26, + Hand = 27, + RefHand = 28, + Pen = 29, + Magnify = 30, + Fill = 31, + Rotate = 32, + HShear = 33, + VShear = 34, + Mirror = 35, + Crook = 36, + Crop = 37, + MovePoint = 38, + MoveBezierWeight = 39, + MoveData = 40, + CopyData = 41, + LinkData = 42, + MoveDataLink = 43, + CopyDataLink = 44, + MoveFile = 45, + CopyFile = 46, + LinkFile = 47, + MoveFileLink = 48, + CopyFileLink = 49, + MoveFiles = 50, + CopyFiles = 51, + NotAllowed = 52, + DrawLine = 53, + DrawRect = 54, + DrawPolygon = 55, + DrawBezier = 56, + DrawArc = 57, + DrawPie = 58, + DrawCircleCut = 59, + DrawEllipse = 60, + DrawFreehand = 61, + DrawConnect = 62, + DrawText = 63, + DrawCaption = 64, + Chart = 65, + Detective = 66, + PivotCol = 67, + PivotRow = 68, + PivotField = 69, + Chain = 70, + ChainNotAllowed = 71, + TimeEventMove = 72, + TimeEventSize = 73, + AutoScrollN = 74, + AutoScrollS = 75, + AutoScrollW = 76, + AutoScrollE = 77, + AutoScrollNW = 78, + AutoScrollNE = 79, + AutoScrollSW = 80, + AutoScrollSE = 81, + AutoScrollNS = 82, + AutoScrollWE = 83, + AutoScrollNSWE = 84, + Airbrush = 85, + TextVertical = 86, + PivotDelete = 87, + TabSelectS = 88, + TabSelectE = 89, + TabSelectSE = 90, + TabSelectW = 91, + TabSelectSW = 92, + Paintbrush = 93, + HideWhitespace = 94, + ShowWhitespace = 95, LAST = ShowWhitespace, }; |