diff --git a/lib/vogue/window.v b/lib/vogue/window.v index 11cf894..9666dff 100644 --- a/lib/vogue/window.v +++ b/lib/vogue/window.v @@ -1,33 +1,33 @@ -namespace SDL; +// namespace SDL; -keepalive; +// keepalive; -import sdl from '@kmamal/sdl'; -import util from 'util'; +// import sdl from '@kmamal/sdl'; +// import util from 'util'; -runtime member window; +// runtime member window; -async restore { - // console.log('he...hello?') - window = sdl.video.createWindow({ - // borderless: true, - height: 200, - width: 300, - resizable: true - }); +// async restore { +// // console.log('he...hello?') +// window = sdl.video.createWindow({ +// // borderless: true, +// height: 200, +// width: 300, +// resizable: true +// }); - main_loop: - for (;;) { - let event - while ((event = sdl.events.poll())) { - console.log(event); - if (event.type === 'quit') { - window.destroy() - break main_loop - } - } +// main_loop: +// for (;;) { +// let event +// while ((event = sdl.events.poll())) { +// console.log(event); +// if (event.type === 'quit') { +// window.destroy() +// break main_loop +// } +// } - } -} \ No newline at end of file +// } +// } \ No newline at end of file