WIP: Start rendering GPUI views to macOS status bar

This commit is contained in:
Antonio Scandurra 2022-09-12 12:03:03 +02:00
parent f50c6af001
commit 6578af6f3b
5 changed files with 235 additions and 132 deletions

View file

@ -495,8 +495,8 @@ impl platform::Platform for MacPlatform {
Window::key_window_id()
}
fn add_status_item(&self) -> Box<dyn platform::StatusItem> {
Box::new(StatusItem::add())
fn add_status_item(&self) -> Box<dyn platform::Window> {
Box::new(StatusItem::add(self.fonts()))
}
fn fonts(&self) -> Arc<dyn platform::FontSystem> {