comparison src/window.nim @ 466:1dd9e2393a9e

add: structure code for crossplatform, add some input handling + bugfixes
author Sam <sam@basx.dev>
date Thu, 22 Dec 2022 00:06:40 +0700
parents
children
comparison
equal deleted inserted replaced
465:2fcb9268072b 466:1dd9e2393a9e
1 when defined(linux):
2 import ./platform/linux/xlib
3 export xlib
4 elif defined(windows):
5 import ./platform/windows/win32
6 export win32