Introduce tester feature flag
This commit is contained in:
parent
ed528c9c53
commit
1821dc7ff0
13 changed files with 488 additions and 640 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue