Camilla Berglund
eba8168a03
Fixed glfwGetFramebufferSize on OS X.
2013-06-16 18:32:16 +02:00
Camilla Berglund
f6a9338b06
Hooked up monitor callback on OS X.
2013-06-06 01:28:01 +02:00
Camilla Berglund
11615fcaf2
Added scancode to key callback.
2013-06-05 23:46:09 +02:00
Camilla Berglund
3498163da1
Separated window and framebuffer sizes.
2013-06-04 01:51:54 +02:00
Camilla Berglund
89588a4508
Cleanup.
2013-06-04 01:51:40 +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
c4d856bcb2
Fixed window positioning on OS X.
2013-05-22 21:37:41 +02:00
Camilla Berglund
0b5de6dd28
Fixed cursor positioning on OS X.
2013-05-22 20:52:45 +02:00
Camilla Berglund
efe3ee8818
Initial OS X fullscreen iconification work.
...
glfwIconifyWindow now pulls the view out of fullscreen mode and restores
the original display mode, reversing the process when deminiaturized.
2013-05-02 18:24:37 +02:00
Camilla Berglund
cdfbe68a96
Cleanup.
2013-05-02 17:01:19 +02:00
Camilla Berglund
7ecd2eb53b
Fixed NSBeep on certain chords.
2013-04-30 19:02:31 +02:00
Camilla Berglund
3ec843a1da
Fixed captured cursor mode on OS X.
2013-04-24 19:29:28 +02:00
Camilla Berglund
2891c9629f
Fixed hidden cursor mode on OS X.
2013-04-22 00:12:25 +02:00
Camilla Berglund
a2745574c8
OS X hidden cursor cleanup.
2013-04-21 22:46:35 +02:00
Camilla Berglund
74d6a5d883
Nomenclature fix.
2013-04-21 21:54:33 +02:00
Camilla Berglund
f5ba0d9f22
Video mode setting cleanup.
2013-04-21 21:28:07 +02:00
Camilla Berglund
b0ae7a6957
Added refresh event for resize on OS X.
2013-04-21 17:39:10 +02:00
Camilla Berglund
dc58dd1bef
Merge pull request #52 from nilium/osx-cursor-hidden-patch
...
Added support for hidden cursor mode on OS X.
2013-04-18 06:22:53 -07:00
Camilla Berglund
57751a5494
Added initial NSScreen integration.
...
This (tentatively) fixes the bug of full screen windows on OS X always
opening on the primary monitor.
2013-04-17 23:11:04 +02:00
Noel Cower
662958ef11
Make resetMouseCursor consistent with setCursorMode
2013-04-16 16:49:43 -06:00
Noel Cower
1ba8fd05c0
Add GLFW_CURSOR_HIDDEN.
...
Uses addCursorRect:cursor: as discussed.. well, too long ago. Anyhow,
this will effectively hide the cursor while it is inside a window with
GLFW_CURSOR_HIDDEN or GLFW_CURSOR_CAPTURED enabled. This shouldn't mess
up cursor retain counts either, unlike previous uses of the hide/unhide
methods on NSCursor.
It does allocate a small, single-pixel image for an invisible cursor,
as well as the cursor itself, but that shouldn't be too much trouble.
2013-04-16 16:46:55 -06:00
Noel Cower
1f148f2bd6
Keep cursor centered in window while captured.
...
Previously, cmd-tabbing out would result in the cursor position maybe
ending up outside the window, so if one cmd-tabbed back in with the
cursor still outside, any click would go outside the window and cause
it to lose focus. Not really a good thing. So, this is a bit of a hack,
but it works.
2013-04-16 16:46:49 -06:00
Camilla Berglund
1ffd8f667f
Cleanup.
2013-04-16 23:33:35 +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
NathanSweet
85b64edcf0
Fix modifier keys.
...
The wrong mask was used making all modifier keys not be recognized.
2013-04-08 15:23:10 +02:00
Camilla Berglund
810d889539
Fixed function signature on OS X.
2013-03-28 00:30:08 +01:00
Camilla Berglund
129e94da2e
Changed cursor pos to double.
2013-04-04 16:29:40 +02:00
Camilla Berglund
6a7dbfee29
Simplified Cocoa key input.
2013-03-07 17:37:07 +01:00
Camilla Berglund
cd78d70b25
Put findAppName under _GLFW_USE_MENUBAR.
2013-02-24 22:04:54 +01:00
Keith Pitt
34ce04a122
Added fading to Cocoa display mode setting.
2013-02-24 21:12:21 +01:00
SephiRok
1ae9ce1e0a
Fixed print screen key input for all platforms.
2013-02-21 18:41:27 +01:00
Camilla Berglund
719b60dd2b
Added macros for library initialization check.
2013-02-20 18:15:03 +01:00
Camilla Berglund
253e0d6b23
Added GLFW_REPEAT.
2013-02-15 13:21:11 +01:00
Camilla Berglund
5e976757ed
Fixed various Cocoa editing slip-ups.
2013-02-11 23:10:49 +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
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
8c766b57e7
Renamed chdir option, added OS X menu bar option.
...
Some command-line programs want to render to hidden windows without any
visible UI. This option makes this possible on OS X.
2013-01-25 00:53:38 +01:00
Camilla Berglund
cc45a9e53d
Updated native API and merged into related files.
2013-01-15 22:38:14 +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