Camilla Berglund
11615fcaf2
Added scancode to key callback.
2013-06-05 23:46:09 +02:00
Camilla Berglund
5fd409b679
Documentation work.
2013-06-05 19:42:59 +02:00
Camilla Berglund
44e8401f7b
Clarified default profile token name.
2013-06-05 16:15:20 +02:00
Camilla Berglund
c3bb5c9e7b
Documented not freeing returned values.
2013-06-05 16:04:04 +02:00
Camilla Berglund
128e5b4a73
Removed deprecated key aliases.
2013-06-05 15:39:19 +02:00
Camilla Berglund
180a4ee640
Fixed constness of joystick data.
2013-06-04 18:20:38 +02:00
Camilla Berglund
3498163da1
Separated window and framebuffer sizes.
2013-06-04 01:51:54 +02:00
Camilla Berglund
2cd34386bc
Added back refresh rate window hint.
2013-05-30 20:42:59 +02:00
Camilla Berglund
53b39a61b9
Token value cleanup.
2013-05-30 18:55:45 +02:00
Camilla Berglund
731812cfc1
Added refresh rate to GLFWvidmode.
2013-05-30 15:52:42 +02:00
Camilla Berglund
95835af0ac
Quartz lies.
2013-05-30 13:53:25 +02:00
Camilla Berglund
e991a0e7cc
Removed tags for fixed bugs.
2013-05-29 22:09:27 +02:00
Camilla Berglund
c159411944
Added struct member descriptions.
2013-05-27 22:29:06 +02:00
Camilla Berglund
393e439ac3
Token value cleanup.
2013-05-27 22:16:59 +02:00
Camilla Berglund
1f5f20eeef
Documentation work.
2013-05-27 17:10:34 +02:00
Camilla Berglund
ad1f6f0341
Renamed glfwGetWindowParam to glfwGetWindowAttrib.
...
Parameters are something specified at creation time and are often
immutable, while many of the values returned by glfwGetWindowParam
reflected current state not controlled by any parameter or hint.
2013-05-27 15:30:32 +02:00
Camilla Berglund
fdd4518ae5
Fixed documentation for glfwJoystickPresent.
2013-05-27 15:13:09 +02:00
Camilla Berglund
98cbf6fda1
Added documentation for modifier bits.
2013-05-23 14:53:33 +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
15ed715f4e
Moved public headers to the GLFW directory.
2013-05-22 22:46:34 +02:00
Camilla Berglund
ce1e84def6
Made glfwGetVideoMode consistent with getters.
2013-05-22 22:16:43 +02:00
Camilla Berglund
5d308db654
New gamma ramp API.
2013-05-22 21:56:14 +02:00
Camilla Berglund
6df692b61e
Renamed CURSOR_CAPTURED to CURSOR_DISABLED.
2013-05-22 21:56:14 +02:00
Camilla Berglund
9264b5da0e
Removed double mode for cursor mode.
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
7f2eb7b15b
New joystick API.
2013-05-22 21:56:14 +02:00
Camilla Berglund
c00d057eda
Documented that out parameters always get set.
2013-05-15 15:01:42 +02:00
John Bartholomew
93f4effd2b
Do not export internal symbols from a unix shared library.
2013-05-01 13:08:09 +01:00
Camilla Berglund
3ec2925da4
Added note on coordinate truncation.
2013-04-25 18:03:15 +02:00
Camilla Berglund
9bc6b7f550
Removed addressed bug.
2013-04-24 22:34:09 +02:00
Camilla Berglund
4538a525f0
Added notes on synthetic release events.
2013-04-24 19:51:48 +02:00
Camilla Berglund
11a27de3d3
Added return by setters of previous callback.
2013-04-18 18:20:25 +02: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
Camilla Berglund
948cc0488d
Documentation work.
2013-04-16 19:58:48 +02:00
Camilla Berglund
608109c249
Documentation work.
2013-04-14 15:41:34 +02:00
Camilla Berglund
2e8446fe74
Fixed member order in GLFWvidmode.
2013-04-11 01:31:00 +02:00
Camilla Berglund
fa0cbd9a44
Documentation work.
2013-04-11 01:07:07 +02:00
Camilla Berglund
159f9b9526
Changed default cursor mode for fullscreen.
2013-04-11 01:04:13 +02:00
Camilla Berglund
8282a8fbe0
Documentation work.
2013-04-10 23:01:12 +02:00
Camilla Berglund
7b5b33ee3b
Documented GLFW_DECORATED.
2013-04-08 15:28:38 +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
e248fb6056
Documentation work.
2013-04-08 03:26:54 +02:00
Camilla Berglund
13ccf7d9de
Fixed bullet lists.
2013-04-07 13:50:53 +02:00
Camilla Berglund
129e94da2e
Changed cursor pos to double.
2013-04-04 16:29:40 +02:00
Camilla Berglund
8fe816d248
Removed GLFW_NO_ERROR.
...
As glfwGetError was removed (due to a race between glfwInit error
reporting and manual TLS setup on OS X), this token has no purpose.
2013-03-18 19:23:21 +01:00
Camilla Berglund
2d5fb77c90
Documentation work.
...
Added window hints table, added detailed description of all public
functions, added project brief and added missing language to transition
guide.
2013-03-18 19:11:02 +01:00
Camilla Berglund
23f6176fbf
Expanded docs on init and terminate.
2013-03-14 00:00:37 +01:00
Camilla Berglund
378c75d153
Added GLFW_INCLUDE_NONE.
2013-03-13 20:44:00 +01:00
Camilla Berglund
39fe1f1ea6
Documented input modes.
2013-03-12 19:39:36 +01:00
Camilla Berglund
bb10cae0be
Added note on outstanding bug.
2013-03-12 19:39:25 +01:00
Camilla Berglund
401033c257
Begun adding notes on API changes.
2013-03-12 19:17:07 +01:00
Camilla Berglund
67df2ce98d
Removed fixed bug from list.
2013-03-12 18:58:27 +01:00
Camilla Berglund
71d2b574f8
Converted docs to hybrid Markdown.
2013-03-12 15:33:05 +01:00
Camilla Berglund
64afb193e8
Removed return value of close callback.
2013-03-06 23:29:37 +01:00
Camilla Berglund
a59c82c71e
Documentation tag fix.
2013-03-01 15:20:29 +01:00
Camilla Berglund
6fadf37bda
Replaced window close parameter with mutable flag.
...
Replaced the GLFW_SHOULD_CLOSE window parameter with the
glfwWindowShouldClose and glfwSetWindowShouldClose functions, allowing
the setting of the close flag from any point in the program.
2013-03-01 14:13:45 +01:00
Camilla Berglund
f8f81e5754
Documentation work.
2013-02-28 21:49:24 +01:00
Camilla Berglund
5d6256c649
Documented error return values.
2013-02-25 17:53:02 +01:00
Camilla Berglund
182e0afe25
Made character unsigned.
2013-02-25 17:02:28 +01:00
Camilla Berglund
fb8f3fd521
Added external documentation files.
...
Added initial quick tutorial, compatibility appendix, transition guide
and external main page.
2013-02-25 14:09:57 +01:00
Camilla Berglund
8954af61d3
Documented known bugs.
2013-02-20 19:45:52 +01:00
Camilla Berglund
253e0d6b23
Added GLFW_REPEAT.
2013-02-15 13:21:11 +01:00
Camilla Berglund
a933d8c109
Added GLFW_INCLUDE_ES3.
2013-02-14 19:28:59 +01:00
Camilla Berglund
b48128f339
Tagged functions one may not call from callbacks.
2013-02-14 19:08:34 +01:00
Camilla Berglund
6f8084f061
Documentation work.
...
Enabled Doxygen tree view, added CMake options for native and internal
modules, improved internal and native documentation.
2013-02-14 17:26:27 +01:00
Camilla Berglund
92a71e07d3
Made gamma ramp functions per-monitor.
2013-02-12 14:03:51 +01:00
Camilla Berglund
52f718d026
Fixed inconsistent coordinate parameter names.
2013-02-12 12:31:41 +01:00
Camilla Berglund
984539cbd4
Documentation formatting.
2013-02-11 19:43:22 +01:00
Camilla Berglund
7c1932381b
Reintroduced glfwGetWindowPos, glfwSetWindowPos.
2013-02-11 19:43:08 +01:00
Camilla Berglund
ee5f30ea8f
Replaced glfwGetMonitorParam with glfwGetMonitor*.
...
Having one way to retrieve the cursor position and another (more
verbose) way to retrieve the monitor position is inconsistent. Having
them both work the same way is the least surprising thing.
The expected glfwGetMonitorSize function gets an added Physical in its
name so users won't confuse it with glfwGetVideoMode.
2013-02-04 12:33:10 +01:00
Camilla Berglund
dba2d80009
Documentation work.
2013-02-04 12:33:09 +01:00
Camilla Berglund
ac5fee4d20
Re-used POSITION_* tokens for monitor position.
2013-02-04 12:33:09 +01:00
Camilla Berglund
2cea6e37cf
Removed glfwGetScrollOffset.
...
Scroll events do not represent an absolute state, but rather an interpretation
of a relative change in state, like character input. So, like character input,
there is no sane 'current state' to return. The here removed solution, that of
accumulating an offset since the last call to event processing, is at best
mildly confusing. If a user wishes to implement this solution, it is better for
it to be explicit in client code than implicit in GLFW calls.
2013-02-04 12:33:09 +01:00
Camilla Berglund
2fca5c5df1
Formatted public header, removed per-token docs.
...
Some tokens are used for more than one purpose, making it difficult to write
good documentation on the token itself. These tokens should instead be
described in the documentation for each function or callback that uses them.
2013-01-25 00:43:07 +01:00
Camilla Berglund
d406b48007
Added constraints subheading.
2013-01-17 18:59:35 +01:00
Camilla Berglund
9492fc5cc1
Documentation work (fixed all Doxygen warnings).
2013-01-17 18:59:35 +01:00
Camilla Berglund
cc45a9e53d
Updated native API and merged into related files.
2013-01-15 22:38:14 +01:00
Camilla Berglund
f8df91d815
Inclusion guard fixes.
2013-01-15 02:00:03 +01:00
Camilla Berglund
1856251ffe
Added documentation for native API.
2013-01-15 01:41:58 +01:00
Camilla Berglund
1bd59844c8
Documentation work.
2013-01-13 22:06:57 +01:00
Camilla Berglund
9bfb925d1a
Documentation updates.
2013-01-07 17:22:02 +01:00
Camilla Berglund
316ee1d77d
Made glfwGetVideoMode return a GLFWvidmode.
2013-01-05 22:07:06 +01:00
Camilla Berglund
9af960e2dd
Made the pointer-ness of object handles explicit.
2013-01-05 21:13:28 +01:00
Camilla Berglund
4305c76049
Removed monitor user pointer.
2013-01-02 00:41:37 +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
21f41a2bb7
Renamed GLFW_SAMPLES and GLFW_SHOULD_CLOSE.
2012-12-31 19:55:41 +01:00
Camilla Berglund
52dac79219
Ripped out horribly broken refresh rate mess.
2012-12-31 02:06:19 +01:00
Camilla Berglund
23c6def880
Merge branch 'master' into multi-monitor
...
Conflicts:
src/cocoa_window.m
src/init.c
tests/iconify.c
tests/reopen.c
2012-12-30 22:18:15 +01:00
Camilla Berglund
9cc8fc0d0a
Removed glfwGetError and glfwErrorString.
...
The cached error code cannot be made per-thread unless it required
glfwInit (due to lack of __thread on OS X), which would be confusing and
partially defeats the purpose of it.
Beginners would use the generic error string facility instead of the
error callback and then be confused by its nondescript messages.
Storing the provided error code from within the error callback, whether
globally or per-thread, requires just a few lines of code and hands
control to the user without compromising thread safety.
2012-12-30 01:50:03 +01:00
Camilla Berglund
948be592be
Documented callback clearing at window destruction time.
2012-12-27 18:26:51 +01:00
Camilla Berglund
f558563621
Merge branch 'master' into multi-monitor
2012-12-27 18:22:45 +01:00
Camilla Berglund
ed9e403750
Documentation work.
2012-12-23 15:59:09 +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
1395ec2269
Documentation work.
2012-12-22 19:21:35 +01:00
Camilla Berglund
f98d3a250f
Added documentation cross-references to some tokens.
2012-12-22 18:40:35 +01:00
Camilla Berglund
7be7da16af
Merge branch 'master' into multi-monitor
...
Conflicts:
include/GL/glfw3.h
2012-12-13 02:23:38 +01:00
Camilla Berglund
3f5843f500
Renamed tokens used for other client APIs.
2012-12-13 02:22:39 +01:00
Camilla Berglund
052c587dd5
Shortened monitor-related tokens.
2012-12-13 01:56:33 +01:00