diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-15 14:46:38 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-15 17:24:42 -0300 |
| commit | 40c19fd4f52d20df94c2dfa2d68102b89bd9d3f1 (patch) | |
| tree | 642150be8703f1d9a0766ff18516f06bfdc8801a /src/macos/pardes.h | |
| parent | 379f4fe55c7c9c7c8cc7b97dc921c83e2c24698b (diff) | |
| download | pardes-40c19fd4f52d20df94c2dfa2d68102b89bd9d3f1.tar.gz pardes-40c19fd4f52d20df94c2dfa2d68102b89bd9d3f1.zip | |
Add optional compact tagline styling for source context
Diffstat (limited to 'src/macos/pardes.h')
| -rw-r--r-- | src/macos/pardes.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/macos/pardes.h b/src/macos/pardes.h index f94e37eb..9f9aef60 100644 --- a/src/macos/pardes.h +++ b/src/macos/pardes.h @@ -337,6 +337,13 @@ void pardes_mouse(pardes_mouse_button_e button, pardes_mouse_kind_e kind, uint16_t col, uint16_t row, uint32_t mods); // The pointer left the view. A clamped motion on its final cell is not the // same event: it would keep hover previews and resize hints alive off-window. +void pardes_mouse_pixel(pardes_mouse_button_e button, pardes_mouse_kind_e kind, + uint16_t col, uint16_t row, uint32_t mods, float x, float y, + float body_w, float body_h, float tagline_w, float tagline_h); +void pardes_row_metrics(uint16_t body_w, uint16_t body_h, uint16_t tagline_w, uint16_t tagline_h); +uint32_t pardes_body_layer_limit(void); +uint32_t pardes_body_layer_value(uint32_t index, uint32_t field); +const pardes_cell_s *pardes_body_layer_cells(uint32_t index); void pardes_pointer_leave(void); // Host file watchers call this after their debounce interval. `pane` is the |
