Commit Graph

50 Commits

Author SHA1 Message Date
hikari
6ac2c5c6dc [core:sys/windows] Added a couple of procedures 2023-07-17 02:40:49 +03: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
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
hikari
03c6862d51 sys/windows: added some functions and types for input hooks and tray icons 2023-03-18 06:44:16 +02:00
gingerBill
a11b6a9e5f Merge pull request #2265 from JooperGH/more_dwmapi_bindings
More dwmapi bindings
2023-01-06 12:18:10 +00:00
matias
c03cc21908 Add GetKeyboardState to user32 2023-01-06 07:04:38 -04:00
Jooper
fc3c76f946 Fixed CI error 2022-12-21 22:18:13 +00:00
JooperGH
1e97588e7b One last binding 2022-12-19 15:29:07 +00:00
JooperGH
3ccc0b5aa6 HRGB and Rect functions 2022-12-19 15:22:05 +00:00
JooperGH
5464a605b1 CreateSolidBrush and FillRect 2022-12-19 13:21:16 +00:00
JooperGH
4a70265bfb Merge branch 'master' of https://github.com/odin-lang/Odin into more_dwmapi_bindings 2022-12-19 11:46:35 +00:00
JooperGH
de0d860880 Added more DWMAPI bindings 2022-12-19 11:43:16 +00:00
hikari
1ddbe16d28 sys/windows: add GetMonitorInfoW 2022-12-13 10:25:18 +02:00
hikari
a728047281 sys/windows: add a bunch of stuff 2022-10-01 17:12:23 +03:00
hikari
d1c778680b sys/windows: add a couple of functions and constants, fix formatting 2022-09-27 11:05:01 +03:00
Lucas Perlind
d9adb0fd6b Add much of Win32's Raw Input API 2022-08-28 16:30:55 +10:00
matias
3dc62a67e0 Typo: "Get" -> "Set" 2022-08-14 07:16:54 -04:00
Fabian Sperber
929af320da Add more windows bindings 2022-08-12 21:56:54 +02:00
Hyp-X
e6236e5c3e Update user32.odin
Added UnregisterClassW procedure to windows\user32.odin
2022-08-01 15:59:00 +02:00
gingerBill
c0d2359a91 Merge pull request #1826 from englerj/windows-bindings
Added additional Windows bindings.
2022-06-28 13:14:35 +01:00
hikari
c6903fbcd5 sys/windows: add constants and macro 2022-06-17 15:14:21 +03:00
Josh Engler
6f80174f84 Merge branch 'master' into windows-bindings 2022-06-11 09:48:28 -04:00
hikari
88e9eb7d0c sys/windows: add functions and constants 2022-06-09 17:44:51 +03:00
hikari
176954a6d8 sys/windows: add several functions and constants 2022-06-03 22:12:43 +03:00
Josh Engler
762895bc45 - Added EnumDisplaySettingsW and friends.
- Added additional file access/security/sharing attributes
2022-06-03 07:40:45 -04:00
gingerBill
0c45a46aab Remove A calls in favour of W calls 2022-05-12 14:21:25 +01:00
Aaron Glazer
c9e31dc90d Adding some proc bindings, struct definitions, and constant values. 2022-05-08 02:34:10 -07:00
hikari
b2fdb881eb sys/windows: remove A variant for one SystemParametersInfoW 2022-05-01 13:21:28 +03:00
hikari
d24bebdb9e sys/windows: add a couple procedures and tons of constants 2022-04-30 16:55:37 +03:00
hikari
aa4eb35671 sys/windows: add some procedures 2022-04-19 05:58:22 +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
6a3ec5eb36 sys/windows: add WM_SYSCOMMAND related constants 2022-03-29 22:59:45 +03: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
hikari
73b81184fa sys/windows: add MessageBox procedures 2022-03-25 20:53:17 +02:00
hikari
2f9a410a45 sys/windows: add SetWindowPos() 2022-03-25 16:09:16 +02:00
hikari
01181517dc sys/windows: add GetKeyState functions 2022-03-24 16:04:27 +02:00
hikari
b9efd09d17 sys/windows: fixed calling conventions, added several bindings 2022-03-23 17:37:38 +02: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