diff options
| author | Riley Beckett <rbeckettvt@gmail.com> | 2025-10-14 15:48:32 -0400 |
|---|---|---|
| committer | Riley Beckett <rbeckettvt@gmail.com> | 2025-10-14 15:48:32 -0400 |
| commit | 5fa96e59fa378af36e90cdd8ee741d164304e3b8 (patch) | |
| tree | 233787686f276f4ca77dc98d61d6efbd6435efb1 /state.h | |
| parent | 26a95fface3c47a870d88cc1abd174c708af0ffe (diff) | |
read stdin input
Diffstat (limited to 'state.h')
| -rw-r--r-- | state.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -21,6 +21,7 @@ typedef struct { float advance_x, advance_y; uint32_t bitmap_width, bitmap_height; + int32_t bearing_x, bearing_y; float texture_offset; float texture_size; } metric_t; @@ -32,6 +33,11 @@ typedef struct { } atlas_t; typedef struct { + char* text; + size_t pixel_len; +} item_t; + +typedef struct { // wayland struct wl_display* display; struct wl_registry* registry; @@ -73,6 +79,8 @@ typedef struct { bool running; + item_t* items; + } client_state; #endif // STATE_H_ |
