Commit Graph

338 Commits

Author SHA1 Message Date
Colin Davidson
4d74d5bc99 Add user-defaults config to enable force-smooth-scrolling for SDL 2023-02-18 19:54:40 -08:00
Colin Davidson
ed371f2b0d Add open file dialog panel to foundation 2023-02-18 14:56:51 -08:00
gingerBill
fcc920ed39 Fix typo 2023-02-02 00:24:36 +00:00
hikari
6ec7284467 vendor/d3d11: fixed function definition 2023-01-29 01:38:28 +02:00
gingerBill
d50c6d72db Merge pull request #2310 from Lperlind/staging/ns-application-delegate-fix
Fix a few bindings in NSApplicationDelegate
2023-01-19 11:03:21 +00:00
gingerBill
15c5e92d63 Merge pull request #2309 from Lperlind/staging/ns-window-delegate
Fully implement NSWindowDelegate
2023-01-19 11:03:02 +00:00
Lucas Perlind
f040ef41cb Fix a few bindings in NSApplicationDelegate 2023-01-19 21:18:30 +11:00
Lucas Perlind
91ab184175 Fully implement NSWindowDelegate 2023-01-19 19:12:14 +11:00
gingerBill
d52921edd4 Merge pull request #2308 from Lperlind/staging/ns-application-delegate
(almost) Fully implement NSApplicationDelegate
2023-01-18 12:21:39 +00:00
Lucas Perlind
fed65742df (almost) Fully implement NSApplicationDelegate 2023-01-17 18:53:17 +11:00
Sanian
b918acd871 Removed some more SDL_'s in sdl_render.odin 2023-01-16 23:45:03 +01:00
Sanian
a046c41c7c Removed another missed SDL_ in sdl_mouse.odin
`sdl2.SDL_MouseWheelDirection` is now `sdl2.MouseWheelDirection`
2023-01-16 23:41:11 +01:00
Sanian
2513403014 Removed an SDL_ prefix that was missed 2023-01-16 22:46:46 +01:00
gingerBill
a11b6a9e5f Merge pull request #2265 from JooperGH/more_dwmapi_bindings
More dwmapi bindings
2023-01-06 12:18:10 +00:00
William Roe
8a822bdd9a Update stb macOS libraries to be universal
This updates all the darwin stb libraries to be built as universal
libraries - meaning they contain both Intel and Apple Silicon versions.
This should make these more generally compatible.

Also, add stb_vorbis.a in the same way. Not sure why it was missing
before.
2022-12-23 23:15:14 +00:00
William Roe
d1a3842e39 Add Darwin-target for building vendor/stb macos universal libs
This Darwin-specific target builds each stb library with macOS-specific
options so that the results are universal static libraries that should
work on Intel (x86_64) and Apple Silicon (arm64) machines. They also
should work on macOS 10.12 and above (which should match what Odin
compiles for).

The default Makefile target will build the darwin rule if its invoked on
a macOS machine, otherwise it'll invoke the more general unix target.
2022-12-23 23:15:14 +00:00
JooperGH
de0d860880 Added more DWMAPI bindings 2022-12-19 11:43:16 +00:00
hikari
ce1ee962f5 OpenGL: updated README 2022-12-06 00:00:05 +02:00
gingerBill
a3d53a6288 Merge pull request #2203 from janivanecky/content_layout_rect
Add NSWindow::content_layout_rect
2022-11-29 19:51:19 +00:00
gingerBill
b54fc8ff95 Fix UUID 2022-11-21 11:53:49 +00:00
gingerBill
8745942255 Fix #2174 2022-11-21 11:42:43 +00:00
Colin Davidson
7076cf69e4 fix missing wasm memory case 2022-11-18 23:41:47 -08:00
Jan Ivanecky
6ae8adaa45 Add NSWindow::content_layout_rect 2022-11-17 17:57:34 -05:00
Michael Kutowski
8daecf7532 Update constants.odin 2022-11-15 01:06:03 +01:00
Michael Kutowski
11d665c25a Update enums.odin 2022-11-15 01:05:38 +01:00
gingerBill
503b897677 Fix formatting 2022-11-04 12:31:53 +00:00
gingerBill
d69c74665a Add @(require_results) 2022-11-04 12:31:39 +00:00
gingerBill
fcf081283c Move LICENSE 2022-11-04 12:23:48 +00:00
gingerBill
7a6e8543a6 Use #by_ptr and @(require_results) were useful 2022-11-04 12:21:01 +00:00
gingerBill
f30755a871 Update README.md 2022-11-04 11:59:37 +00:00
gingerBill
503220e4c1 Add README.md 2022-11-04 11:59:26 +00:00
gingerBill
051814a69c Wrap parse procedures to allow for multiple return values 2022-11-04 11:59:20 +00:00
gingerBill
21843da9e3 Add //+build windows 2022-11-04 11:47:42 +00:00
gingerBill
30f49f81c1 Use slices and Odin string where possible due to struct field ordering 2022-11-04 11:44:49 +00:00
gingerBill
b743f56fb9 Fix +build ignore 2022-11-04 11:39:54 +00:00
gingerBill
1fc3f6cb2e Add vendor:cgltf 2022-11-04 11:39:38 +00:00
gingerBill
f76316f889 Merge branch 'master' into allocator-mode-alloc-non-zeroed 2022-11-03 12:47:11 +00:00
Hyp-X
1d9d79542c d3d12: Fixed RESOURCE_STATE_GENERIC_READ flags 2022-11-03 10:49:45 +01:00
gingerBill
1a6d4c955a Add more bit_sets to direct packages 2022-11-02 23:12:43 +00:00
gingerBill
717522efe4 Correct more flags for d3d12 2022-11-02 22:45:05 +00:00
gingerBill
765c1546c5 Make many d3d12 flags enums into bit_set 2022-11-02 16:43:29 +00:00
gingerBill
b7ea169c81 Fixed #2170 2022-11-02 11:36:49 +00:00
Julian Ceipek
ee89c0458f Fix STB lib import references on ODIN_OS == .Darwin 2022-10-29 22:19:01 -04:00
gingerBill
a5f8c3f692 Update many enums to bit_sets for D3D11 2022-10-23 13:17:37 +01:00
Jeroen van Rijn
648e3c65ea Add RawMouseMotionSupported 2022-10-21 19:20:15 +02:00
Julian Ceipek
8ceb691cec Fix indentation 2022-10-20 21:38:43 -04:00
Julian Ceipek
f26516f6fa Add objc_registerClassPair to allow subclassing 2022-10-20 21:18:11 -04:00
Julian Ceipek
fda8e8a30b Use c.size_t to match C declaration more directly 2022-10-20 21:16:53 -04:00
Julian Ceipek
2242178d96 Fix signature for objc_allocateClassPair 2022-10-20 21:07:14 -04:00
terids
06d1df4cae Fix GetInstanceProcAddr crash
It was trying to initialise itself with itself when calling load_proc_addresses(Instance)
Discord bug channel reference https://discord.com/channels/568138951836172421/585072813954564100/1030265964572450867
2022-10-14 02:03:57 +01:00