5#ifndef MOLYBDEN_CURSOR_HPP
6#define MOLYBDEN_CURSOR_HPP
8#include "molybden/ui/bitmap.hpp"
15enum class CursorType {
33 kNorthEastSouthWestResize,
34 kNorthWestSouthEastResize,
60 kMiddlePanningVertical,
61 kMiddlePanningHorizontal,
69 kNorthEastSouthWestNoResize,
70 kNorthWestSouthEastNoResize
80 CursorType
type = CursorType::kUnspecified;
A binary image in the BGRA format.
Definition bitmap.hpp:17
The cursor details that describe both the standard and custom cursors.
Definition cursor.hpp:76
float bitmap_scale_factor
The scale factor for the custom cursor bitmap.
Definition cursor.hpp:90
Bitmap bitmap
The bitmap for the cursor.
Definition cursor.hpp:85
Point hotspot
The hotspot for the cursor.
Definition cursor.hpp:95
CursorType type
The cursor type.
Definition cursor.hpp:80
A pair of numbers that in general are used to define coordinates in the two-dimensional space.
Definition geometry.hpp:16