Commit Graph

335 Commits

Author SHA1 Message Date
hikari
aa4eb35671 sys/windows: add some procedures 2022-04-19 05:58:22 +03:00
hikari
b78f3a8069 sys/windows: add timeEndPeriod 2022-04-17 19:17:38 +03:00
hikari
1b4d5b73ab sys/windows: add some constants 2022-04-15 22:04:34 +03:00
hikari
d3fbf36df7 sys/windows: add winmm bindings file 2022-04-15 19:18:22 +03:00
hikari
cfae39c29d sys/windows: add procedures and types 2022-04-15 19:16:31 +03:00
hikari
c4a7739d13 sys/windows: add a couple macros 2022-04-07 19:28:24 +03:00
hikari
2a59aebe5b sys/windows: add Dwmapi.lib binding 2022-04-05 14:03:29 +03:00
hikari
4c14e92952 sys/windows: add several procedures and macros 2022-04-02 08:23:12 +03:00
hikari
850d4a1e1b sys/windows: add a couple of procedures and types 2022-04-02 07:38:11 +03:00
hikari
e28525e28c sys/windows: fix some procedure definitions and types 2022-04-01 07:28:18 +03:00
hikari
73f9d12d47 sys/windows: add various procedures 2022-04-01 06:22:27 +03:00
hikari
b21cf05d44 sys/windows: move L into util.odin 2022-04-01 02:25:10 +03:00
hikari
107bede9fd sys/windows: fix building error 2022-04-01 02:23:44 +03:00
hikari
75cbb09744 sys/windows: add intrinsics.constant_utf16_cstring 2022-04-01 02:11:41 +03:00
Jeroen van Rijn
a3c81374be Merge pull request #1670 from ftphikari/master
sys/windows: add WM_SYSCOMMAND related constants
2022-03-29 22:11:16 +02:00
hikari
6a3ec5eb36 sys/windows: add WM_SYSCOMMAND related constants 2022-03-29 22:59:45 +03:00
Jeroen van Rijn
df32b5b46c [windows] Fix leak in glob. 2022-03-29 16:13:17 +02:00
hikari
412c9a99d5 sys/windows: add SetTimer() and KillTimer() procedures 2022-03-29 08:56:05 +03:00
hikari
3ce17607c6 sys/windows: add AdjustWindowRect and GetWindowRect 2022-03-27 04:17:07 +03:00
hikari
76277f83c1 sys/windows: add GetSystemMetrics 2022-03-27 02:23:40 +02:00
hikari
f4125d2d88 sys/windows: add ClientToScreen 2022-03-27 01:42:46 +02:00
Jeroen van Rijn
86a1c34c3a HWND_TOPMOST, HWND_NOTOPMOST constants 2022-03-26 19:33:53 +01:00
hikari
73b81184fa sys/windows: add MessageBox procedures 2022-03-25 20:53:17 +02:00
hikari
f8d3f86d8b sys/windows: fix build 2022-03-25 16:17:53 +02:00
hikari
2f9a410a45 sys/windows: add SetWindowPos() 2022-03-25 16:09:16 +02:00
hikari
5d7b92d391 sys/windows: add mouse states masks 2022-03-24 18:40:23 +02:00
hikari
1d8bc3e917 sys/windows: fix gdi32 raw pointer types 2022-03-24 17:32:11 +02:00
hikari
a3b1ac3133 sys/windows: add basic Gdi32.lib support 2022-03-24 17:27:05 +02:00
hikari
01181517dc sys/windows: add GetKeyState functions 2022-03-24 16:04:27 +02:00
hikari
2ccfaa7d4e sys/windows: add virtual keycodes 2022-03-23 23:39:26 +02:00
hikari
4bd5de34ea sys/windows: add several of constants 2022-03-23 23:39:09 +02:00
hikari
b9efd09d17 sys/windows: fixed calling conventions, added several bindings 2022-03-23 17:37:38 +02:00
Holger Lindner
3d389ee028 sys/windows: Add icon resource constants 2022-03-23 15:02:01 +01:00
Holger Lindner
edce27812f Nixify line endings 2022-03-22 16:41:07 +01:00
Holger Lindner
193822b45d Merge remote-tracking branch 'ftphikari/master' 2022-03-22 16:36:50 +01:00
Holger Lindner
43640a8b59 Add SendMessageA/W to sys/windows/user32.odin 2022-03-22 16:23:38 +01:00
Holger Lindner
bae13b6387 Fix incorrect type for wndproc callback procedure 2022-03-21 20:06:50 +01:00
hikari
e48c0eee74 sys/windows: added rudimentary User32.lib bindings 2022-03-21 18:44:31 +02:00
Holger Lindner
47e9857eb7 Add user32.odin with most basic procedures to core:sys/windows 2022-03-21 17:20:43 +01:00
Jeroen van Rijn
df233f72a9 Merge pull request #1629 from Lperlind/more-window-bindings
Add unregister_class_a and unregister_class_w for windows bindings
2022-03-18 13:29:53 +01:00
Tetralux
4f9df50dc1 Remove incorrect #packed from sys/windows.STARTUPINFO 2022-03-18 11:42:25 +00:00
Lucas Perlind
34187424b8 Add unregister_class_a and unregister_class_w for windows bindings 2022-03-18 19:35:36 +11:00
gingerBill
633157f4f8 Merge pull request #1613 from semarie/linux_arm64
fix Linux arm64 support
2022-03-14 11:37:45 +00:00
Sébastien Marie
ca67cf032c freebsd_amd64 support 2022-03-13 11:42:42 +00:00
Sébastien Marie
8982ae34e3 fix linux_arm64
- SYS_fork doesn't exist, uses SYS_clone
- properly cast AT_FDCWD to uintptr
2022-03-12 09:19:52 +00:00
Sébastien Marie
5676c9e7eb initial OpenBSD support 2022-02-25 08:49:25 +00:00
Sébastien Marie
14f1793b3e use context.temp_allocator instead of general allocation + delete()
where clone_to_cstring is used with foreign code, it is prefered to use `context.temp_allocator` instead of using the general allocator and manually delete the memory after use.
2022-02-24 11:28:42 +00:00
gingerBill
8f13724a4b Merge pull request #1504 from odin-lang/directx-packages
DirectX Package Support
2022-02-17 23:15:38 +00:00
Tail Wag Games
78eb388110 Adding capture procedures to user32
Adding `GetCapture`, `SetCapture` and `ReleaseCapture` functions - https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setcapture
2022-02-17 00:58:38 -06:00
gingerBill
002ac6a1b7 Add vendor:directx packages: dxgi, d3d11, and d3d12
TODO: enums marked with `bit_set` may need conversions
2022-02-16 21:26:34 +00:00