- fun frame_core( display: D ) is abstract
-
- #fun start do end
- #fun stop do end
- #fun destroy do end
-
- # Called when asked by the system (mainly for Android)
- fun save do end
-
- # Called when asked by the system (mainly for Android)
- fun pause do end
-
- # Called when asked by the system (mainly for Android)
- fun resume do end
-
- # System notification
- fun gained_focus do end
-
- # System notification
- fun lost_focus do end
-
- # Main init method for graphical stuff
- # Is called when display is ready so graphical assets
- # can be loaded at this time.
- fun init_window do end
-
- # Called before destroying the window
- fun term_window do end
-
- # Helper function for logging
- fun log_error( msg: String ) do print "#nit error: {msg}"
-
- # Helper function for logging
- fun log_warning( msg: String ) do print "#nit warn: {msg}"
-
- # Helper function for logging
- fun log_info( msg: String ) do print "#nit info: {msg}"