File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,9 @@ use winit::window::{Window as WinitWindow, WindowAttributes};
44
55use crate :: consts:: APP_NAME ;
66use crate :: event:: AppEventScheduler ;
7- #[ cfg( target_os = "macos" ) ]
8- use crate :: window:: mac:: NativeWindowImpl ;
97use crate :: wrapper:: messages:: MenuItem ;
108
119pub ( crate ) trait NativeWindow {
12- fn init ( ) { }
1310 fn configure ( attributes : WindowAttributes , event_loop : & dyn ActiveEventLoop ) -> WindowAttributes ;
1411 fn new ( window : & dyn WinitWindow , app_event_scheduler : AppEventScheduler ) -> Self ;
1512 fn update_menu ( & self , _entries : Vec < MenuItem > ) { }
@@ -37,10 +34,6 @@ pub(crate) struct Window {
3734}
3835
3936impl Window {
40- pub ( crate ) fn init ( ) {
41- native:: NativeWindowImpl :: init ( ) ;
42- }
43-
4437 pub ( crate ) fn new ( event_loop : & dyn ActiveEventLoop , app_event_scheduler : AppEventScheduler ) -> Self {
4538 let mut attributes = WindowAttributes :: default ( )
4639 . with_title ( APP_NAME )
You can’t perform that action at this time.
0 commit comments