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#include <ghostty/vt/types.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
26
32typedef struct {
34 uint16_t x;
35
37 uint32_t y;
39
47typedef enum GHOSTTY_ENUM_TYPED {
50
53
56
59 GHOSTTY_POINT_TAG_MAX_VALUE = GHOSTTY_ENUM_MAX_VALUE,
61
67typedef union {
70
72 uint64_t _padding[2];
74
80typedef struct {
84
86
87#ifdef __cplusplus
88}
89#endif
90
91#endif /* GHOSTTY_VT_POINT_H */
GhosttyPointTag
Definition point.h:47
@ GHOSTTY_POINT_TAG_ACTIVE
Definition point.h:49
@ GHOSTTY_POINT_TAG_SCREEN
Definition point.h:55
@ GHOSTTY_POINT_TAG_VIEWPORT
Definition point.h:52
@ GHOSTTY_POINT_TAG_HISTORY
Definition point.h:58
#define GHOSTTY_ENUM_TYPED
Definition types.h:81
uint64_t _padding[2]
Definition point.h:72
GhosttyPointCoordinate coordinate
Definition point.h:69