Camilla Berglund
584879c759
Fixed flipped M and N key.
2014-03-31 21:59:45 +02:00
Camilla Berglund
1900d9a656
Included extended flag in Win32 scan code.
2014-03-30 20:54:38 +02:00
Camilla Berglund
eb3f75e03e
Added glfwGetWindowFrameSize.
2014-03-30 10:57:32 +02:00
Doug Binks
dc987edf34
First draft of physical key fix for Windows.
2014-03-20 23:46:43 +01:00
Camilla Berglund
7ac3d85126
Formatting.
2014-03-20 11:30:27 +01:00
Camilla Berglund
8fa9cc0de3
Added GLFWimage struct.
2014-03-20 11:30:27 +01:00
Camilla Berglund
608de57358
Cleanup.
2014-03-20 11:30:27 +01:00
urraka
40c04a7565
Added support for custom system cursors.
...
This adds 3 functions to the GLFW API: glfwCreateCursor,
glfwDestroyCursor and glfwSetCursor.
2014-03-20 11:30:27 +01:00
Camilla Berglund
1ccc23268c
Added glfwPostEmptyEvent.
2014-03-09 17:55:55 +01:00
Camilla Berglund
d2205aa1a0
Added missing suffix for WNDCLASSW.
2014-03-06 23:21:13 +01:00
Camilla Berglund
6d8e78cc95
Further separation of window and context.
...
The context related parts of _GLFWwndconfig have been moved to
_GLFWctxconfig and given better names. Window hint and attribute
members have been renamed to match.
2014-03-06 20:07:58 +01:00
Camilla Berglund
0701d4ce6e
Made use of Win32 W-suffixed symbols explicit.
2014-03-06 18:30:14 +01:00
Camilla Berglund
7f4e947447
Fixed return value for WM_DROPFILES.
2014-02-11 00:56:52 +01:00
Camilla Berglund
cf177905e5
Allowed drops from less privileged processes.
...
By default, UAC will prevent less privileged processes from sending
these messages. This resolves that on Windows 7 and later. Windows
Vista is still affected by this issue, as it has UAC but lacks
ChangeWindowMessageFilterEx.
Fixes #227 .
2014-02-10 15:13:05 +01:00
Camilla Berglund
611006af18
Updated API version in comment headers.
2014-01-22 01:32:00 +01:00
Camilla Berglund
8f349e84ae
Cleaned up drop callback design.
2014-01-21 18:23:25 +01:00
Camilla Berglund
2b876da52d
Fixed broken includes.
2014-01-21 15:25:49 +01:00
Camilla Berglund
8ae063bb1b
Cleanup.
2014-01-21 15:25:49 +01:00
arturo
89d0723ba3
Initial drag and drop support.
2014-01-21 15:25:49 +01:00
Camilla Berglund
e0a26aa62f
Cursor mode cleanup.
2014-01-15 14:23:34 +01:00
Camilla Berglund
d937b74b8f
Fixed glfwSetWindowSize stealing focus.
2013-12-28 20:56:57 +01:00
Camilla Berglund
56e600d7a1
Fixed iconify callback not triggered by Alt+Tab.
2013-12-05 02:19:41 +01:00
Camilla Berglund
a5b6a306ae
Added note.
2013-11-13 12:47:44 +01:00
Camilla Berglund
109e3d13ed
Fixed reporting of negative window positions.
...
MSDN recommends LOWORD and HIWORD for WM_MOVE, but these do not
handle negative window positions correctly.
Fixes #172 .
2013-11-13 12:39:41 +01:00
Camilla Berglund
7af99bce88
Fixed cursor centering for odd window sizes.
2013-11-13 12:39:40 +01:00
Camilla Berglund
adbd52ba27
Formatted todos and notes.
2013-11-10 14:03:07 +01:00
Camilla Berglund
0153dab346
Clarified WGL re-creation comment.
2013-10-28 14:50:33 +01:00
Camilla Berglund
16a8fafab2
Made disabled mode disable Win32 cursor image.
2013-10-07 16:28:19 +02:00
Camilla Berglund
6e68d89e0f
Fixed focus for Win+D window restoration.
2013-10-07 16:12:23 +02:00
Camilla Berglund
9c5d9f8614
Fixed clip rect being set for unfocused windows.
2013-10-07 15:30:57 +02:00
Camilla Berglund
9c20737b60
Allowed characters regardless of modifier keys.
2013-08-19 13:08:35 +02:00
Camilla Berglund
3cfc400cf9
Simplified source file comment headers.
2013-07-30 14:46:52 +02:00
Camilla Berglund
421810325a
Win32 fixes.
2013-06-12 19:58:30 +02:00
Camilla Berglund
11615fcaf2
Added scancode to key callback.
2013-06-05 23:46:09 +02:00
Camilla Berglund
edebf3b560
Clarified comment.
2013-06-05 15:17:16 +02:00
Camilla Berglund
36de6d3ce3
Fixed AltGr on Windows.
2013-06-05 13:11:00 +02:00
Camilla Berglund
3498163da1
Separated window and framebuffer sizes.
2013-06-04 01:51:54 +02:00
Camilla Berglund
aaa955f51f
Moved mode setting to after window re-creation.
2013-05-26 18:05:57 +02:00
Camilla Berglund
a90389044d
Fixed styles for undecorated windows on Windows.
2013-05-26 18:00:38 +02:00
Camilla Berglund
ffc55c3509
Removed broken initial cursor pos kluges.
2013-05-26 17:19:13 +02:00
Noel Cower
eff85f9500
Added super modifier bit.
...
Edited during merge.
2013-05-23 14:21:35 +02:00
Camilla Berglund
3bcffba24a
Renamed control modifier bit to match key token.
2013-05-23 14:21:35 +02:00
Camilla Berglund
6df692b61e
Renamed CURSOR_CAPTURED to CURSOR_DISABLED.
2013-05-22 21:56:14 +02:00
Camilla Berglund
2d1b835711
Added a conservative set of key modifiers.
2013-05-22 21:56:14 +02:00
Camilla Berglund
7423cfa5bf
Corrected type of cursor coordinates.
2013-04-22 16:04:24 +02:00
Camilla Berglund
6fd396f766
Removed C99-ism.
2013-04-21 16:28:08 +02:00
Camilla Berglund
e9712739ba
Formatting.
2013-04-17 15:29:17 +02:00
Camilla Berglund
1ffd8f667f
Cleanup.
2013-04-16 23:33:35 +02:00
Camilla Berglund
7b7ef1e07b
Cleanup of Win32 mouse button handling.
2013-04-16 22:50:19 +02:00
Camilla Berglund
c12759880d
Fixed Win32 cursor mode switch jitter.
2013-04-16 20:50:59 +02:00
Camilla Berglund
2caee225ea
Fixed hidden cursor mode for focus events.
2013-04-16 19:58:48 +02:00
Camilla Berglund
6164eb603b
Added tracking of cursor visibility.
2013-04-14 15:41:34 +02:00
Camilla Berglund
082306b1db
Added support for WM_UNICHAR.
2013-04-11 01:08:02 +02:00
Camilla Berglund
49db3b2a9e
Formatting.
2013-04-08 15:24:24 +02:00
NathanSweet
8e2e7b37a1
Undecorated window support on win/mac/linux.
2013-04-08 15:24:24 +02:00
Camilla Berglund
129e94da2e
Changed cursor pos to double.
2013-04-04 16:29:40 +02:00
Camilla Berglund
0356aa620d
Fixed resize mode setting on Windows.
2013-03-12 17:25:33 +01:00
Camilla Berglund
200e07027c
Implemented hidden cursor on Windows.
2013-03-11 22:57:39 +01:00
Camilla Berglund
51ee3a5c0a
No swap interval on composition.
2013-03-11 21:07:29 +01:00
Camilla Berglund
3897a174b5
Fixed VC++ warnings.
2013-03-08 14:19:40 +01:00
SephiRok
1ae9ce1e0a
Fixed print screen key input for all platforms.
2013-02-21 18:41:27 +01:00
Camilla Berglund
941a671bfa
Minor cleanup of Win32 window code.
2013-02-20 18:15:03 +01:00
Camilla Berglund
e666835ca6
Unified Win32 cursor clip rect setting.
2013-02-20 18:15:03 +01:00
Camilla Berglund
7b3783abe2
Made glfwGetMonitorPos immediate.
2013-02-20 18:15:03 +01:00
Camilla Berglund
719b60dd2b
Added macros for library initialization check.
2013-02-20 18:15:03 +01:00
Camilla Berglund
d97dddc8c4
Simplified function comment headers.
2013-02-11 19:43:22 +01:00
Camilla Berglund
7c1932381b
Reintroduced glfwGetWindowPos, glfwSetWindowPos.
2013-02-11 19:43:08 +01:00
Camilla Berglund
c17a7dd464
Made glfwGetWindowSize immediate.
...
Conflicts:
src/internal.h
2013-02-04 12:33:09 +01:00
Camilla Berglund
231ee1bdc7
Removed cached instance handle.
2013-02-01 04:05:12 +01:00
Camilla Berglund
3e78570a31
Removed duplicate documentation.
...
The public, platform, native, event and utility functions are already
documented in-source. Having duplicate documentation inevitably means
having them contradict one another. Furthermore, most of the function
descriptions simply repeated the name of the function.
2013-01-25 01:25:40 +01:00
Camilla Berglund
6abb8e4c86
Fixed leak of wide string window title.
2013-01-25 00:44:41 +01:00
Camilla Berglund
cc45a9e53d
Updated native API and merged into related files.
2013-01-15 22:38:14 +01:00
Camilla Berglund
cb8c7740e6
Removed superfluous whitespace.
2013-01-15 20:56:08 +01:00
Camilla Berglund
2757b0fa6f
Removed unused code and duplicate variables.
2013-01-04 06:42:37 +01:00
Camilla Berglund
46c1e4028f
Begun integrating mode setting and monitor API.
2013-01-03 17:56:59 +01:00
Camilla Berglund
b72a97d531
Renamed global struct and substructs.
...
Renamed _glfwLibrary to _glfw and made all substructs lower-case, making
global variable names easier to read and type. Partially inspired by the
internal naming conventions of glwt.
2013-01-02 01:44:57 +01:00
Camilla Berglund
835f00eb10
Merge branch 'master' into multi-monitor
...
Conflicts:
include/GL/glfw3.h
readme.html
src/fullscreen.c
src/internal.h
src/window.c
src/x11_fullscreen.c
2012-12-31 21:13:10 +01:00
Camilla Berglund
1790194828
Renamed _glfwInputError and moved to event API.
2012-12-31 21:05:28 +01:00
Camilla Berglund
52dac79219
Ripped out horribly broken refresh rate mess.
2012-12-31 02:06:19 +01:00
Camilla Berglund
692f34b536
Merge branch 'master' into multi-monitor
...
Conflicts:
include/GL/glfw3.h
src/window.c
tests/glfwinfo.c
2012-12-22 19:40:15 +01:00
Camilla Berglund
bd31ea0a69
WGL context option cleanup.
2012-12-13 22:50:55 +01:00
Camilla Berglund
41bc0d18f4
Merge branch 'master' into multi-monitor
...
Conflicts:
include/GL/glfw3.h
readme.html
src/CMakeLists.txt
src/win32_window.c
src/window.c
src/x11_window.c
tests/clipboard.c
tests/defaults.c
tests/events.c
tests/fsfocus.c
tests/glfwinfo.c
tests/joysticks.c
tests/peter.c
tests/sharing.c
tests/tearing.c
tests/title.c
tests/windows.c
2012-11-27 16:55:04 +01:00
Camilla Berglund
14355d692f
Fixed active/focused nomenclature mixing.
2012-11-22 17:04:44 +01:00
m@bitsnbites.eu
424e7c7b53
Removed glfwSetWindowPos and glfwGetWindowPos
...
glfwGetWindowPos is superseded by glfwGetWindowParam()
with GLFW_POSITION_X and GLFW_POSITION_Y as parameters.
glfwSetWindowPos can easily lead to bad practices
(moving windows around without the users consent), and
has been replaced with the GLFW_POSITION_X/Y window
hints that allow setting the window position for a
newly created window.
2012-11-10 22:19:55 +01:00
m@bitsnbites.eu
c9f4dedd96
Introduced window positioning hints and window position properties
2012-11-10 22:19:55 +01:00
Camilla Berglund
e82683d498
Merge branch 'master' into multi-monitor
2012-11-08 16:29:56 +01:00
Camilla Berglund
a9d1fdfc44
Fixed VC++ warnings.
2012-10-30 17:37:34 +01:00
Camilla Berglund
0e170f4902
Merge branch 'master' into multi-monitor
2012-10-22 02:46:06 +02:00
Camilla Berglund
2108360671
Removed 'screen' from monitor nomenclature.
2012-10-22 02:39:22 +02:00
Camilla Berglund
467d501621
Cleanup of context clearing during window destruction.
2012-10-21 21:57:29 +02:00
Camilla Berglund
6ac7af38d9
Began using monitor position for window placement.
2012-10-05 04:10:42 +02:00
Camilla Berglund
1be1636326
Begun integrating monitor and window.
2012-09-27 21:38:35 +02:00
Camilla Berglund
7aaeb6955b
Merge branch 'master' into multi-monitor
...
Conflicts:
src/x11_window.c
2012-09-23 15:26:53 +02:00
Camilla Berglund
c0dcb5a056
Fixed fullscreen regressions.
2012-09-23 15:08:43 +02:00
Camilla Berglund
6a5ebbc870
Merge branch 'master' into multi-monitor
2012-09-23 14:44:56 +02:00
Camilla Berglund
d6d5fb2684
Simplified character input.
2012-09-19 13:17:53 +02:00
Camilla Berglund
dbd4d1657e
Formatting.
2012-09-13 21:57:42 +02:00
Camilla Berglund
1071966d55
Merge branch 'master' into multi-monitor
...
Conflicts:
src/CMakeLists.txt
src/fullscreen.c
2012-09-12 21:42:21 +02:00
Camilla Berglund
4408d2134c
Added use of standard lParam macros.
2012-09-12 21:37:36 +02:00
Camilla Berglund
830f2b439c
Cleanup.
2012-09-12 20:41:14 +02:00