io/pointer: add new pointers

Add resize pointer cursor names for resize operations
in preparation for the window decorations patch.

Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
This commit is contained in:
Pierre Curto
2022-01-18 17:34:49 +01:00
committed by Elias Naur
parent f4088f94ba
commit c0f3ec88e9
2 changed files with 32 additions and 0 deletions
+16
View File
@@ -110,6 +110,22 @@ const (
CursorGrab CursorName = "grab"
// CursorNone hides the cursor. To show it again, use any other cursor.
CursorNone CursorName = "none"
// CursorTopLeftResize is the cursor for top-left corner resizing.
CursorTopLeftResize = "top-left-resize"
// CursorTopRightResize is the cursor for top-right corner resizing.
CursorTopRightResize = "top-right-resize"
// CursorBottomLeftResize is the cursor for bottom-left corner resizing.
CursorBottomLeftResize = "bottom-left-resize"
// CursorBottomRightResize is the cursor for bottom-right corner resizing.
CursorBottomRightResize = "bottom-right-resize"
// CursorLeftResize is the cursor for left resizing.
CursorLeftResize = "left-resize"
// CursorRightResize is the cursor for right resizing.
CursorRightResize = "right-resize"
// CursorTopResize is the cursor for top resizing.
CursorTopResize = "top-resize"
// CursorBottomResize is the cursor for bottom resizing.
CursorBottomResize = "bottom-resize"
)
const (