comparison src/window.nim @ 5:4ed9cb098315

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
4:af9183acb173 5:4ed9cb098315
1 when defined(linux):
2 import ./platform/linux/xlib
3 export xlib
4 elif defined(windows):
5 import ./platform/windows/win32
6 export win32