Add platform::Window::titlebar_height
This commit is contained in:
@@ -92,6 +92,7 @@ pub trait Window: WindowContext {
|
||||
pub trait WindowContext {
|
||||
fn size(&self) -> Vector2F;
|
||||
fn scale_factor(&self) -> f32;
|
||||
fn titlebar_height(&self) -> f32;
|
||||
fn present_scene(&mut self, scene: Scene);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user