Mercurial > games > semicongine
annotate src/window.nim @ 471:9eeaeb35eb1c
did: make it work on windows
| author | sam <sam@basx.dev> |
|---|---|
| date | Sat, 24 Dec 2022 22:32:46 +0700 |
| parents | 1dd9e2393a9e |
| children |
| rev | line source |
|---|---|
|
466
1dd9e2393a9e
add: structure code for crossplatform, add some input handling + bugfixes
Sam <sam@basx.dev>
parents:
diff
changeset
|
1 when defined(linux): |
|
1dd9e2393a9e
add: structure code for crossplatform, add some input handling + bugfixes
Sam <sam@basx.dev>
parents:
diff
changeset
|
2 import ./platform/linux/xlib |
|
1dd9e2393a9e
add: structure code for crossplatform, add some input handling + bugfixes
Sam <sam@basx.dev>
parents:
diff
changeset
|
3 export xlib |
|
1dd9e2393a9e
add: structure code for crossplatform, add some input handling + bugfixes
Sam <sam@basx.dev>
parents:
diff
changeset
|
4 elif defined(windows): |
|
1dd9e2393a9e
add: structure code for crossplatform, add some input handling + bugfixes
Sam <sam@basx.dev>
parents:
diff
changeset
|
5 import ./platform/windows/win32 |
|
1dd9e2393a9e
add: structure code for crossplatform, add some input handling + bugfixes
Sam <sam@basx.dev>
parents:
diff
changeset
|
6 export win32 |
