ttx 0.1.0
Loading...
Searching...
No Matches
cursor_style.h
Go to the documentation of this file.
1#pragma once
2
3#include "di/reflect/prelude.h"
4
5namespace ttx {
15
16constexpr auto tag_invoke(di::Tag<di::reflect>, di::InPlaceType<CursorStyle>) {
17 using enum CursorStyle;
18 return di::make_enumerators<"CursorStyle">(
19 di::enumerator<"BlinkingBlock", BlinkingBlock>, di::enumerator<"SteadyBlock", SteadyBlock>,
20 di::enumerator<"BlinkingUnderline", BlinkingUnderline>, di::enumerator<"SteadyUnderline", SteadyUnderline>,
21 di::enumerator<"BlinkingBar", BlinkingBar>, di::enumerator<"SteadyBar", SteadyBar>);
22}
23}
Definition cursor_style.h:5
CursorStyle
Definition cursor_style.h:6
@ SteadyBlock
Definition cursor_style.h:8
@ SteadyUnderline
Definition cursor_style.h:10
@ Max
Definition cursor_style.h:13
@ SteadyBar
Definition cursor_style.h:12
@ BlinkingBlock
Definition cursor_style.h:7
@ BlinkingBar
Definition cursor_style.h:11
@ BlinkingUnderline
Definition cursor_style.h:9
constexpr auto tag_invoke(di::Tag< di::reflect >, di::InPlaceType< CursorStyle >)
Definition cursor_style.h:16