A redesign of popover was needed: it can no longer query the application state directly due to current state being its own actor, so instead the popover gets a dedicated copy of the relevant state. I'm not entirely happy with the extra complexity of having an extra actor just for 1 string, but at least the duplication between C and Rust and mutual calls have been reduced.
6 lines
92 B
C
6 lines
92 B
C
#pragma once
|
|
/// Popover state.
|
|
/// Wrapped<actors::popover::State>
|
|
struct squeek_popover;
|
|
|