Cem Karan
a676f4d5d0
Bug fixes to filters.c: All windows now show same contents regardless of position.
...
The auxiliary windows now reflect what is happening in the primary window.
Unfortunately, there is still a bug in the primary window code that affects
the orthographic projection. Basically, the object that is drawn is resized
along with the contents of the window instead of remaining a constant size
while the window is resized around it.
2015-12-18 13:41:34 -05:00
Cem Karan
c7c9b54459
Incorporated code from Matt Reagan on the Cocoa-dev mailing list for fast window position updates.
...
This is a direct copy of Matt's code, which is able to determine the current
position of a window while it's being dragged.
2015-12-18 09:57:53 -05:00
Cem Karan
3229ae91b2
Created examples/filters.c to demonstrate how to draw in one window based on
...
the position of a different window.
This illustrates the idea of filters; windows that draw their contents based
on the content of a different window (similar to what you'd see if you viewed
something through a colored filter). This works on OS X. Untested on other
platforms.
2015-12-17 15:49:28 -05:00
Cem Karan
f5e83caeeb
Moved hint clamping into glfwWindowHint() per @elmindreda
2015-12-17 11:34:16 -05:00
Cem Karan
c8c7ad249a
Changed 'alphaMask' to 'transparent' per @elmindreda's request.
2015-12-17 11:25:45 -05:00
Cem Karan
69fca03d78
Renamed GLFW_ALPHA_MASK as GLFW_TRANSPARENT as per @elmindreda
2015-12-17 11:18:17 -05:00
Cem Karan
cca3254967
Removed 'build' directory per @elmindreda's request.
2015-12-17 11:12:51 -05:00
Cem Karan
444fe6efe9
Added tests/transparent_threads.c.
...
This is a minor variant of tests/threads.c that uses transparent windows. You
should be able to drag the windows around and see whatever is behind them.
2015-12-17 11:09:41 -05:00
Cem Karan
1cdb60bb74
Updated .gitignore to ignore 'build' directory.
...
This is a local build directory that may be in GLFW's root. Since this is
just for local builds, I ignore it.
2015-12-16 16:36:51 -05:00
Cem Karan
619c41692d
Merged in @andsve changes with the latest in the master branch. Transparent windows now work!
2015-12-16 16:28:20 -05:00
Camilla Berglund
ecd04539ec
Add mention of command-line CMake option setting
2015-12-16 03:44:20 +01:00
Camilla Berglund
864ca4dd57
Remove duplicate inclusion
2015-12-15 22:37:25 +01:00
Camilla Berglund
f079d0625d
Platform affix cleanup
...
Fixes #659 .
2015-12-15 22:37:24 +01:00
Camilla Berglund
37c93ba031
Compiler flag cleanup
2015-12-15 22:37:23 +01:00
Camilla Berglund
addb977ef1
Use monitor callback event more strictly
2015-12-15 22:37:22 +01:00
Camilla Berglund
810bab7391
Add history to public types
2015-12-15 22:37:22 +01:00
Camilla Berglund
87883b592f
Update .gitignore
2015-12-15 22:37:21 +01:00
Camilla Berglund
b56fce1570
Fix typo
...
Fixes regression cased by 10c0eb648a
.
2015-12-15 22:35:59 +01:00
Camilla Berglund
10c0eb648a
Cleanup
2015-12-15 15:21:25 +01:00
Camilla Berglund
ec9fe02a30
Sort initial joystick set on Linux
...
Fixes #654 .
2015-12-15 14:57:02 +01:00
Camilla Berglund
6b0f660180
Fix EGL backend MinGW build errors
2015-12-13 16:56:11 +01:00
Camilla Berglund
12871db0f9
Only poll requested joystick on OS X
2015-12-13 15:15:50 +01:00
Camilla Berglund
45efb935c5
Use more GLFWbool
2015-12-13 15:09:33 +01:00
Camilla Berglund
2b52008405
Check Linux joystick init on Wayland and Mir
2015-12-13 14:51:44 +01:00
Camilla Berglund
7fec7a0569
Make source file names more consistent
...
Use platform prefix for files specific to that platform AND that have no
credible alternative API on that platform.
The exception is WinMM, which will be replaced before 3.2.
2015-12-13 14:51:44 +01:00
Camilla Berglund
12b6c56903
Add suffixes to platform specific helper functions
...
Also merge win32_tls.h into win32_platform.h.
2015-12-13 14:50:59 +01:00
Camilla Berglund
0a3b5952e0
Make WGL backend more readable
2015-12-13 14:49:55 +01:00
Camilla Berglund
66b462d6e1
Make GLX backend more readable
2015-12-13 14:49:55 +01:00
Camilla Berglund
02fdd6459e
Make EGL backend more readable
2015-12-13 14:49:55 +01:00
Camilla Berglund
0df4e06f11
Make more RFC 2119 compliant use of may
2015-12-13 14:49:01 +01:00
Camilla Berglund
8f0f1cf6c1
Only poll requested joystick on Linux
...
This also performs minor cleanup.
2015-12-13 14:49:01 +01:00
Camilla Berglund
ee27930628
Update changelog
2015-12-12 20:35:26 +01:00
Camilla Berglund
a61d8dea36
Update .gitignore
2015-12-12 20:32:30 +01:00
Camilla Berglund
eea46be4e6
Fix missing MinGW import library prefix
...
Fixes #657 .
2015-12-12 18:08:45 +01:00
Camilla Berglund
fdc65e49e4
Fix bad Win32 updates
2015-12-10 12:16:13 +01:00
Camilla Berglund
75f1dfaf8a
Move DWM enabled test to file where it is used
2015-12-09 19:39:16 +01:00
Camilla Berglund
72632a846b
Cleanup
2015-12-09 19:39:16 +01:00
Camilla Berglund
5668b64839
Fix segfault on DISP_CHANGE_RESTART
...
Fixes #647 .
2015-12-09 19:39:16 +01:00
Camilla Berglund
b3d0bd6081
Fix type of OpenGL bundle reference
2015-12-08 15:10:23 +01:00
Camilla Berglund
1ea66b9033
Cleanup
2015-12-07 21:17:03 +01:00
Camilla Berglund
e82e2b7570
Fix full screen window position on OS X
...
Fixes #653 .
2015-12-07 21:14:24 +01:00
Camilla Berglund
001761ed58
Add note on event processing to context guide
2015-11-23 20:48:52 +01:00
Camilla Berglund
5c98a44603
Move Win32 clipboard code to helper window
2015-11-23 20:48:51 +01:00
Camilla Berglund
4cd493dd9a
Add Win32 helper window
2015-11-23 20:48:51 +01:00
Camilla Berglund
b4b210526a
Move to RegisterWindowClassEx for no real reason
2015-11-23 20:38:18 +01:00
Camilla Berglund
1bf33a7402
Clarify WNDPROC window pointer handling
2015-11-21 20:55:13 +01:00
Camilla Berglund
12903ee9b5
Remove no-op ReleaseDC
2015-11-21 20:55:12 +01:00
Camilla Berglund
fc250c3df7
Cleanup
2015-11-21 20:54:24 +01:00
Camilla Berglund
486354d63f
Fix libGL not being found on NetBSD
...
Fixes #646 .
2015-11-17 23:29:13 +01:00
Emmanuel Gil Peyrot
9ac9c61433
Wayland: Make sure the cursor buffer is valid
...
Fixes #645 .
2015-11-17 00:13:44 +01:00