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

@ -144,8 +144,8 @@ impl super::Platform for Platform {
None
}
fn add_status_item(&self) -> Box<dyn crate::StatusItem> {
todo!()
fn add_status_item(&self) -> Box<dyn crate::Window> {
Box::new(Window::new(vec2f(24., 24.)))
}
fn write_to_clipboard(&self, item: ClipboardItem) {