Camilla Berglund
d459145d28
Made glfwGetCursorPos query system directly.
...
Fixes #103 .
Fixes #153 .
Fixes #193 .
Fixes #355 .
Fixes #381 .
2015-01-04 16:54:19 +01:00
Camilla Berglund
641761ddb0
Changed state attribs to direct access.
...
Changed the window states (focused, iconified and visible) to query the
system directly.
THIS IS A BREAKING CHANGE, although a fairly obscure one. It affects
applications that both care about telling actual key events from
synthetic ones, and are implemented in a non-self-synchronizing way, and
that poll the GLFW_FOCUSED window attribute instead of using the window
focus callback.
If you maintain one of these, please feel free to drop me an email and
I'll help any way I can to transition your application to 3.1.
Fixes #189 .
Fixes #204 .
2015-01-04 16:53:32 +01:00
Camilla Berglund
45eebb39fb
Fixed order of operations.
2014-12-31 22:32:09 +01:00
Camilla Berglund
44372b89f6
Documentation work.
2014-12-18 02:53:14 +01:00
Camilla Berglund
2a1375e97c
Added glfwCreateStandardCursor.
...
This function allows the creation of cursor objects using one of several
standard cursor shapes from the current system cursor theme.
2014-12-15 21:58:44 +01:00
Camilla Berglund
1495134398
Changed all key translation to arrays.
2014-12-15 21:55:17 +01:00
Camilla Berglund
3b9a14fc9c
Moved note to new place of inversion.
2014-10-26 18:29:34 +01:00
Camilla Berglund
4c64e94d39
Fixed X-axis scroll offset inversion (take two).
...
Fixed #239 (properly).
2014-10-26 15:15:42 +01:00
Camilla Berglund
5ca875a7ff
Fixed incorrect full screen window placement.
...
Fixes #213 .
2014-09-10 14:31:22 +02:00
Camilla Berglund
e9c7314d50
Added GLFW_FOCUSED window hint.
...
Fixes #101 .
2014-09-10 11:50:50 +02:00
Camilla Berglund
8d170c7f47
Merged clipboard code into input.
2014-09-09 16:36:41 +02:00
Camilla Berglund
c85294e0b2
Window class cleanup.
2014-08-31 14:21:55 +02:00
Camilla Berglund
96b12ee504
Added character with modifiers callback.
...
The undefined behaviour changed with #40 has been reverted, making the
character-only callback again behave like a system text field. This
behavior has now been documentated.
Fixes #203 .
Fixes #305 .
2014-06-24 10:50:05 +02:00
Camilla Berglund
7cb217ed4a
Fixed plural forms on key/button arrays.
2014-06-18 16:39:41 +02:00
Camilla Berglund
3ce7bfef07
Added GLFW_FLOATING.
...
Fixes #23 .
2014-06-18 16:39:39 +02:00
Camilla Berglund
25e7ff1196
Added GLFW_AUTO_ICONIFY.
...
By default, full screen windows that lose focus will be iconified and
the video mode will be restored. This makes it impossible to create
applications spanning multiple monitors. The GLFW_AUTO_ICONIFY window
hint will allow users to disable this behavior.
Fixes #143 .
2014-06-18 16:33:58 +02:00
Camilla Berglund
4fb5da75dc
Consume WM_ERASEBKGND.
2014-06-18 16:19:17 +02:00
Camilla Berglund
04ea2112bd
Fixed possible use of invalid HWND.
2014-05-23 13:24:36 +02:00
Camilla Berglund
b91116e2bc
Fixed glfwShowWindow restoring maximized windows.
...
Fixes #264 .
2014-05-19 15:01:05 +02:00
Camilla Berglund
cda5b25cb2
Moved to WM_NCCREATE.
2014-04-20 15:26:52 +02:00
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