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

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