View > Cursor offers Contour, Brush, Arrow and Cross like the reference app, with options to show the contour for eraser and smudge, add a crosshair to small contours, fill the contour with a spotlight and hide the cursor for pens. The contour follows brush size, roundness, angle, zoom and view rotation; the settings are saved with sessions. Windows can now use crosshair and hidden pointer shapes.
24 lines
400 B
C++
24 lines
400 B
C++
#pragma once
|
|
|
|
namespace tp {
|
|
|
|
enum class CursorShape {
|
|
Default,
|
|
Pointer,
|
|
Text,
|
|
Move,
|
|
Grab,
|
|
Grabbing,
|
|
ResizeHorizontal,
|
|
ResizeVertical,
|
|
ResizeNorthWestSouthEast,
|
|
ResizeNorthEastSouthWest,
|
|
NotAllowed,
|
|
Crosshair,
|
|
Hidden
|
|
};
|
|
|
|
enum class WindowEdge { None, Top, Bottom, Left, Right, TopLeft, TopRight, BottomLeft, BottomRight };
|
|
|
|
CursorShape cursorForEdge(WindowEdge edge);
|
|
}
|