state: Become the source of layout choice
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.
This commit is contained in:
5
src/popover.h
Normal file
5
src/popover.h
Normal file
@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
/// Popover state.
|
||||
/// Wrapped<actors::popover::State>
|
||||
struct squeek_popover;
|
||||
|
||||
Reference in New Issue
Block a user