WIP: Start rendering GPUI views to macOS status bar
This commit is contained in:
parent
f50c6af001
commit
6578af6f3b
5 changed files with 235 additions and 132 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue