
There are a few places in the system where this could be useful, such as PixelPaint and the MandelBrot demo. It seems general enough that it is probably useful to have it as a system-wide cursor rather than loading it manually each time.
34 lines
473 B
C++
34 lines
473 B
C++
/*
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace Gfx {
|
|
|
|
enum class StandardCursor {
|
|
None = 0,
|
|
Hidden,
|
|
Arrow,
|
|
Crosshair,
|
|
IBeam,
|
|
ResizeHorizontal,
|
|
ResizeVertical,
|
|
ResizeDiagonalTLBR,
|
|
ResizeDiagonalBLTR,
|
|
ResizeColumn,
|
|
ResizeRow,
|
|
Hand,
|
|
Help,
|
|
Drag,
|
|
Move,
|
|
Wait,
|
|
Disallowed,
|
|
Eyedropper,
|
|
Zoom,
|
|
__Count,
|
|
};
|
|
|
|
}
|