diff options
| author | Federico Angelilli <code@fedang.net> | 2024-11-20 12:15:20 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-11-20 12:15:20 +0100 |
| commit | 2fd774e1c718f6654d34bc6a472ab180d3c8239d (patch) | |
| tree | 6fbc4f8f326dba6ccdb84c4e5d8913f92edd11b8 /src/block.h | |
| parent | eb370ad9065ce222c1bfd6ae0576b9a0f6b3de22 (diff) | |
Start working on slider block
Diffstat (limited to 'src/block.h')
| -rw-r--r-- | src/block.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block.h b/src/block.h index dc1f975..715c017 100644 --- a/src/block.h +++ b/src/block.h @@ -44,7 +44,7 @@ typedef void (*block_render_t)(layout_t *layout, cairo_t *cr); // Triggered when an event is directed towards the block // -typedef void (*block_event_t)(block_t *block, event_t event); +typedef void (*block_event_t)(layout_t *layout, event_t event); // The block struct // @@ -87,7 +87,7 @@ typedef struct { block_t block; block_layout_t layout_fn; block_render_t render_fn; - block_event_t event_fn; + block_event_t event_fn; } block_spec_t; // Called to allocate a block with its default state |
