view 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
line wrap: on
line source

when defined(linux):
  import ./platform/linux/xlib
  export xlib
elif defined(windows):
  import ./platform/windows/win32
  export win32