mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
use less repetitive name
This commit is contained in:
parent
3fa0dca3a3
commit
46cadfdd2c
6 changed files with 162 additions and 162 deletions
|
@ -35,39 +35,39 @@ macro_rules! define_cursor {
|
|||
|
||||
|
||||
define_cursor! {
|
||||
"none" => NoCursor = 0,
|
||||
"default" => DefaultCursor = 1,
|
||||
"pointer" => PointerCursor = 2,
|
||||
"context-menu" => ContextMenuCursor = 3,
|
||||
"help" => HelpCursor = 4,
|
||||
"progress" => ProgressCursor = 5,
|
||||
"wait" => WaitCursor = 6,
|
||||
"cell" => CellCursor = 7,
|
||||
"crosshair" => CrosshairCursor = 8,
|
||||
"text" => TextCursor = 9,
|
||||
"vertical-text" => VerticalTextCursor = 10,
|
||||
"alias" => AliasCursor = 11,
|
||||
"copy" => CopyCursor = 12,
|
||||
"move" => MoveCursor = 13,
|
||||
"no-drop" => NoDropCursor = 14,
|
||||
"not-allowed" => NotAllowedCursor = 15,
|
||||
"grab" => GrabCursor = 16,
|
||||
"grabbing" => GrabbingCursor = 17,
|
||||
"e-resize" => EResizeCursor = 18,
|
||||
"n-resize" => NResizeCursor = 19,
|
||||
"ne-resize" => NeResizeCursor = 20,
|
||||
"nw-resize" => NwResizeCursor = 21,
|
||||
"s-resize" => SResizeCursor = 22,
|
||||
"se-resize" => SeResizeCursor = 23,
|
||||
"sw-resize" => SwResizeCursor = 24,
|
||||
"w-resize" => WResizeCursor = 25,
|
||||
"ew-resize" => EwResizeCursor = 26,
|
||||
"ns-resize" => NsResizeCursor = 27,
|
||||
"nesw-resize" => NeswResizeCursor = 28,
|
||||
"nwse-resize" => NwseResizeCursor = 29,
|
||||
"col-resize" => ColResizeCursor = 30,
|
||||
"row-resize" => RowResizeCursor = 31,
|
||||
"all-scroll" => AllScrollCursor = 32,
|
||||
"zoom-in" => ZoomInCursor = 33,
|
||||
"zoom-out" => ZoomOutCursor = 34,
|
||||
"none" => None = 0,
|
||||
"default" => Default = 1,
|
||||
"pointer" => Pointer = 2,
|
||||
"context-menu" => ContextMenu = 3,
|
||||
"help" => Help = 4,
|
||||
"progress" => Progress = 5,
|
||||
"wait" => Wait = 6,
|
||||
"cell" => Cell = 7,
|
||||
"crosshair" => Crosshair = 8,
|
||||
"text" => Text = 9,
|
||||
"vertical-text" => VerticalText = 10,
|
||||
"alias" => Alias = 11,
|
||||
"copy" => Copy = 12,
|
||||
"move" => Move = 13,
|
||||
"no-drop" => NoDrop = 14,
|
||||
"not-allowed" => NotAllowed = 15,
|
||||
"grab" => Grab = 16,
|
||||
"grabbing" => Grabbing = 17,
|
||||
"e-resize" => EResize = 18,
|
||||
"n-resize" => NResize = 19,
|
||||
"ne-resize" => NeResize = 20,
|
||||
"nw-resize" => NwResize = 21,
|
||||
"s-resize" => SResize = 22,
|
||||
"se-resize" => SeResize = 23,
|
||||
"sw-resize" => SwResize = 24,
|
||||
"w-resize" => WResize = 25,
|
||||
"ew-resize" => EwResize = 26,
|
||||
"ns-resize" => NsResize = 27,
|
||||
"nesw-resize" => NeswResize = 28,
|
||||
"nwse-resize" => NwseResize = 29,
|
||||
"col-resize" => ColResize = 30,
|
||||
"row-resize" => RowResize = 31,
|
||||
"all-scroll" => AllScroll = 32,
|
||||
"zoom-in" => ZoomIn = 33,
|
||||
"zoom-out" => ZoomOut = 34,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue