libghostty
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#ifdef __cplusplus
13extern "C" {
14#endif
15
24
30typedef struct {
32 uint16_t x;
33
35 uint32_t y;
37
45typedef enum GHOSTTY_ENUM_TYPED {
48
51
54
57 GHOSTTY_POINT_TAG_MAX_VALUE = GHOSTTY_ENUM_MAX_VALUE,
59
65typedef union {
68
70 uint64_t _padding[2];
72
78typedef struct {
82
84
85#ifdef __cplusplus
86}
87#endif
88
89#endif /* GHOSTTY_VT_POINT_H */
GhosttyPointTag
Definition point.h:45
@ GHOSTTY_POINT_TAG_ACTIVE
Definition point.h:47
@ GHOSTTY_POINT_TAG_SCREEN
Definition point.h:53
@ GHOSTTY_POINT_TAG_VIEWPORT
Definition point.h:50
@ GHOSTTY_POINT_TAG_HISTORY
Definition point.h:56
#define GHOSTTY_ENUM_TYPED
Definition types.h:67
uint64_t _padding[2]
Definition point.h:70
GhosttyPointCoordinate coordinate
Definition point.h:67