Add Window::is_minimized
Co-authored-by: Kirill Chibisov <contact@kchibisov.com> Co-authored-by: Markus Siglreithmaier <m.siglreith@gmail.com>
This commit is contained in:
parent
de782504ab
commit
809162fbd0
12 changed files with 83 additions and 11 deletions
|
|
@ -287,6 +287,12 @@ impl Window {
|
|||
// Intentionally a no-op, as canvases cannot be 'minimized'
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn is_minimized(&self) -> Option<bool> {
|
||||
// Canvas cannot be 'minimized'
|
||||
Some(false)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn set_maximized(&self, _maximized: bool) {
|
||||
// Intentionally a no-op, as canvases cannot be 'maximized'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue