Introduce tester feature flag

This commit is contained in:
Héctor Ramón Jiménez 2025-06-03 07:23:56 +02:00
parent ed528c9c53
commit 1821dc7ff0
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
13 changed files with 488 additions and 640 deletions

View file

@ -158,6 +158,10 @@ impl<P: Program + 'static> Emulator<P> {
) -> Element<'_, P::Message, P::Theme, P::Renderer> {
program.view(&self.state, self.window)
}
pub fn theme(&self, program: &P) -> P::Theme {
program.theme(&self.state, self.window)
}
}
struct Clipboard {