Add get_scale_factor task to window module
This commit is contained in:
parent
043f030214
commit
0dcec519be
3 changed files with 22 additions and 1 deletions
|
|
@ -80,6 +80,10 @@ where
|
|||
self.entries.iter_mut().map(|(k, v)| (*k, v))
|
||||
}
|
||||
|
||||
pub fn get(&self, id: Id) -> Option<&Window<P, C>> {
|
||||
self.entries.get(&id)
|
||||
}
|
||||
|
||||
pub fn get_mut(&mut self, id: Id) -> Option<&mut Window<P, C>> {
|
||||
self.entries.get_mut(&id)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue