Add platform::Window::titlebar_height

This commit is contained in:
Nathan Sobo
2021-08-06 09:08:29 -06:00
parent 34eb2c446f
commit e16c62ed0e
3 changed files with 18 additions and 0 deletions
+1
View File
@@ -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);
}