(
context: AttachedContext<'a>,
mouse_region_manager: &'a mut MouseRegionManager,
redraw_requested: &'a mut bool,
)
| 29 | |
| 30 | impl<'a> UpdateContext<'a> { |
| 31 | pub fn new( |
| 32 | context: AttachedContext<'a>, |
| 33 | mouse_region_manager: &'a mut MouseRegionManager, |
| 34 | redraw_requested: &'a mut bool, |
| 35 | ) -> UpdateContext<'a> { |
| 36 | UpdateContext { |
| 37 | context, |
| 38 | mouse_region_manager, |
| 39 | redraw_requested, |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | pub fn add_mouse_region(&mut self, mouse_region: MouseRegion) { |
| 44 | self.mouse_region_manager.add_region(mouse_region); |
nothing calls this directly
no outgoing calls
no test coverage detected