libghostty-vt 0.0.0
Loading...
Searching...
No Matches
point.h
Go to the documentation of this file.
1
6
7#ifndef GHOSTTY_VT_POINT_H
8#define GHOSTTY_VT_POINT_H
9
10#include <stdint.h>
11
12#include <ghostty/vt/types.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
43
49typedef struct {
51 uint16_t x;
52
54 uint32_t y;
56
64typedef enum GHOSTTY_ENUM_TYPED {
67
70
73
76 GHOSTTY_POINT_TAG_MAX_VALUE = GHOSTTY_ENUM_MAX_VALUE,
78
84typedef union {
87
89 uint64_t _padding[2];
91
97typedef struct {
101
103
104#ifdef __cplusplus
105}
106#endif
107
108#endif /* GHOSTTY_VT_POINT_H */
#define GHOSTTY_ENUM_TYPED
Definition types.h:124
GhosttyPointTag
Definition point.h:64
@ GHOSTTY_POINT_TAG_ACTIVE
Definition point.h:66
@ GHOSTTY_POINT_TAG_SCREEN
Definition point.h:72
@ GHOSTTY_POINT_TAG_VIEWPORT
Definition point.h:69
@ GHOSTTY_POINT_TAG_HISTORY
Definition point.h:75
uint64_t _padding[2]
Definition point.h:89
GhosttyPointCoordinate coordinate
Definition point.h:86