MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / Window

Class Window

src/window.rs:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14static SDL_INIT: AtomicBool = AtomicBool::new(false);
15
16pub struct Window {
17 window: *mut SDL_Window,
18 gl: SDL_GLContext,
19
20 visible: bool,
21}
22
23impl Window {
24 pub fn new(title: &str, width: i32, height: i32) -> Window {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected