opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
liboscar
platform
cursor.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
liboscar/platform/cursor_shape.h
>
4
5
namespace
osc
6
{
7
class
Cursor
final
{
8
public
:
9
Cursor
() =
default
;
10
explicit
Cursor
(
CursorShape
shape
) : shape_{
shape
} {}
11
12
CursorShape
shape
()
const
{
return
shape_; }
13
private
:
14
CursorShape
shape_ =
CursorShape::Arrow
;
15
};
16
}
osc::Cursor
Definition
cursor.h:7
osc::Cursor::Cursor
Cursor(CursorShape shape)
Definition
cursor.h:10
osc::Cursor::Cursor
Cursor()=default
osc::Cursor::shape
CursorShape shape() const
Definition
cursor.h:12
cursor_shape.h
osc
Definition
custom_decoration_generator.h:5
osc::to
constexpr U to(T &&value)
Definition
conversion.h:56
osc::CursorShape
CursorShape
Definition
cursor_shape.h:5
osc::CursorShape::Arrow
@ Arrow
Generated by
1.9.8