Skip to main content

appcui/ui/threestatebox/
events.rs

1use super::{ThreeStateBox, State};
2use crate::{system::Handle, ui::common::traits::EventProcessStatus};
3
4pub trait ThreeStateBoxEvents {
5    fn on_status_changed(&mut self, _handle: Handle<ThreeStateBox>, _state: State) -> EventProcessStatus {
6        EventProcessStatus::Ignored
7    }
8}
9#[derive(Copy, Clone)]
10pub(crate) struct EventData {
11    pub(crate) state: State,
12}