267 Commits

Author SHA1 Message Date
Thomas la Cour
6243160ecd Cleanup of ShowCursor after Bill pushed a fix 2024-03-03 19:53:34 +01:00
Thomas la Cour
980ee3310f didn't help :/ so removed it to see if it can build again 2024-03-03 19:53:34 +01:00
Thomas la Cour
c5d5d055ac Trying to resolve a strange nameclash on ShowCursor seems like raylib is also defining that. Unsure why exactly this is related so for now just tried to change the name here to _ShowCursor :/ 2024-03-03 19:53:34 +01:00
Thomas la Cour
a783d4ce5b Callback types 2024-03-03 19:53:33 +01:00
Thomas la Cour
a7b09a24b7 Waveform Functions
https://learn.microsoft.com/en-us/windows/win32/multimedia/waveform-functions
2024-03-03 19:53:33 +01:00
Thomas la Cour
602e000379 hid usage flags
https://learn.microsoft.com/en-us/windows-hardware/drivers/hid/hid-usages
2024-03-03 19:53:33 +01:00
Thomas la Cour
f93074a082 A few extra gdi procs for icons, cursors and drawing 2024-03-03 19:53:33 +01:00
Thomas la Cour
28f05e8aaa SHChangeNotify + flags
https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shchangenotify
2024-03-03 19:53:33 +01:00
Thomas la Cour
9eb1596939 Flags for GlobalAlloc
https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-globalalloc
2024-03-03 19:53:33 +01:00
Thomas la Cour
8412352e5a bitmap v5 header
https://learn.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-bitmapv5header
2024-03-03 19:53:33 +01:00
gingerBill
674bd94f72 Add check to see if raylib is imported with ShowCursor on sys/windows 2024-03-01 18:30:23 +00:00
Lucas Perlind
8777fa1c04 Add more window procedures 2024-02-09 14:04:16 +11:00
gingerBill
3e7e779abf Replace core:* to base:* where appropriate 2024-01-28 22:18:51 +00:00
flysand7
03736d8bcb sys/windows: Make INVALID_FILE_ATTRIBUTES a u32 constant 2024-01-25 20:52:39 +11:00
gingerBill
90ac400ec5 stdcall -> system 2024-01-17 17:25:23 +00:00
gingerBill
75c659fa41 Change stdcall -> system 2024-01-17 17:04:54 +00:00
gingerBill
12e53f2336 Fix imports to be case sensitive correct 2024-01-17 16:26:18 +00:00
gingerBill
7b89174a26 Remove //+build windows tag 2024-01-17 15:57:37 +00:00
gingerBill
0b83e3dae5 Enforce naming the parameters with builtin.quaternion to reduce confusion 2024-01-05 14:29:14 +00:00
Igor Dreher
120b1101fb [core:sys/windows] add System Error Codes enum
Copied error values from https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-
and subsequent pages to an enum
2023-12-29 11:06:50 -03:00
Lucas Perlind
12b8f91249 Format hidpi.odin 2023-12-14 10:29:50 +11:00
Lucas Perlind
e410908ce8 Add Hidpi to Windows 2023-12-12 12:14:18 +11:00
Jeroen van Rijn
dab72d5615 Merge pull request #2952 from Pingar5/master
Add various missing windows procedures
2023-11-24 13:23:47 +01:00
Jeroen van Rijn
f6308ab5b9 Merge pull request #2899 from jakubtomsu/more-sys-windows
More `core:sys/windows` bindings (primarily MiniDump and SHGetKnownFolderPath)
2023-11-23 16:26:29 +01:00
Brennen Shaughnessy
6749639eb1 Add various missing windows procedures 2023-11-22 09:29:56 -05:00
reavencode
e2e18324ed Add DwmGetWindowAttribute to core/sys/windows 2023-11-21 22:44:46 +01:00
skytrias
f97ccca514 added ToUnicode to win32 2023-11-21 21:01:05 +01:00
jakubtomsu
1f969fdc75 Fix tabs 2023-11-03 15:06:46 +01:00
jakubtomsu
5c533e477d Fix indentation and style 2023-10-31 16:32:53 +01:00
jakubtomsu
21247721b4 Add WaitFor* Ex variants 2023-10-28 20:39:46 +02:00
jakubtomsu
7a16618ec6 SHGetKnownFolderPath etc. 2023-10-27 19:12:49 +02:00
jakubtomsu
2b2abc6b9f Dbghelp 2023-10-27 19:12:25 +02:00
hikari
1b06f809de [core:sys/windows] Added SuspendThread 2023-09-08 00:02:27 +03:00
hikari
19fe508fb2 [core:sys/windows] Added couple of procedures 2023-09-07 23:58:19 +03:00
Laytan Laats
0a2678973b Fix the OVERLAPPED_ENTRY type definition 2023-08-29 10:44:21 +02:00
gingerBill
2cc22d118d Require parentheses for #align(N) 2023-08-15 14:55:02 +01:00
gingerBill
89c50bbd82 Adhere to -vet-style 2023-08-08 16:01:22 +01:00
ftphikari
699aec331d Merge branch 'odin-lang:master' into master 2023-07-25 15:32:18 +03:00
hikari
6ac2c5c6dc [core:sys/windows] Added a couple of procedures 2023-07-17 02:40:49 +03:00
ftphikari
7ca0b256eb [core:sys/windows] Added missing MONITORINFOEXW type 2023-07-14 23:02:56 +03:00
ryuukk
e1fae5b902 Fix attribute 2023-07-11 03:51:28 +02:00
ryuukk
20e5e95ff8 Deprecate htons, htonl, ntohl, ntohs 2023-07-11 03:45:08 +02:00
Jeroen van Rijn
5b96712ed0 Merge pull request #2642 from ryuukk/patch-4
core:sys/windows: Add definitions for network byte order conversion procs
2023-07-10 17:04:09 +02:00
ryuukk
bc43a8d38d Add CopyFileW 2023-07-10 06:02:38 +02:00
ryuukk
ccd5685cee Fix doc links 2023-07-10 05:57:12 +02:00
ryuukk
f0f8177a19 Add definitions for network byte order conversion procs 2023-07-10 05:56:26 +02:00
Ryhor Spivak
8012e6fa43 Remove rcDevice field from WINDOWPLACEMENT. Add WaitMessage and SetWindowPlacement.
rcDevice is under #ifdef _MAC in WinUser.h and _MAC is defined only for PowerPC Mac builds.
2023-05-24 15:14:30 +03:00
gingerBill
3108752a0c Fix #2518 2023-05-18 11:55:37 +01:00
Matias Fernandez
3b2864d8a6 Add IsWindow to user32.odin
This is useful for checking if window has been closed without going through the WindowProc.
2023-04-22 17:49:16 -04:00
RestartFU
586e85281e fix SendInput function in user32 2023-04-08 23:13:37 +00:00