Commit Graph

558 Commits

Author SHA1 Message Date
Camilla Löwy
98bdd36231 Fix glfwVulkanSupported semantics 2017-02-07 21:28:50 +01:00
Camilla Löwy
5a74b5008d Cleanup
Related to #842.
2017-02-06 15:16:27 +01:00
Liam Middlebrook
72ac5badb0 Add GLFW_CENTER_CURSOR
Adds a hint for controlling whether the cursor is centered over newly
created full screen windows.

Fixes #749.
Closes #842.
2017-02-06 15:16:26 +01:00
Camilla Löwy
a46c95c7f2 Clarify requirements for receiving joystick events
As of c5694b3013 this is now consistent
enough across platforms to describe.

Fixes #887.

[ci skip]
2017-02-01 05:40:48 +01:00
Camilla Löwy
5a11d19940 Start adding links to GLU replacements 2017-01-24 21:45:03 +01:00
Camilla Löwy
3edaa5280d Add GLFW_INCLUDE_ES32 2017-01-02 06:06:01 +01:00
Camilla Löwy
4661315192 Add GLFW_COCOA_FRAME_AUTOSAVE
Fixes #195.
2017-01-01 19:58:34 +01:00
Camilla Löwy
6eae8f22dc X11: Load Xxf86vm at run-time 2016-12-11 00:05:15 +01:00
Camilla Löwy
21eeaffc23 Documentation fix
Doxygen cannot handle line breaks in Markdown links.
2016-12-09 01:32:09 +01:00
Camilla Löwy
58ceab5f1e Add GLFW_COCOA_RETINA_FRAMEBUFFER
Look, a can of worms!  I wonder what's inside.

This adds the first platform specific window hint, transforming
a compile-time option to a run-time per-window one.
2016-12-08 16:56:05 +01:00
Camilla Löwy
766a9dc9fd Documentation work
Related to glfw/website#34.
2016-12-08 16:56:05 +01:00
Camilla Löwy
9e56099edd Add glfwSetWindowAttrib
This function allows updating the GLFW_DECORATED, GLFW_RESIZABLE,
GLFW_FLOATING and GLFW_AUTO_ICONIFY attributes for existing windows.

Fixes #537.
2016-12-06 15:59:18 +01:00
Camilla Löwy
ce161c2c02 Documentation work
[ci skip]
2016-12-06 13:58:45 +01:00
Camilla Löwy
fd127d59fa Cocoa: Improve OpenGL version restriction messages
Fixes #904.
2016-12-03 20:15:26 +01:00
Camilla Löwy
29b72c59f3 Documentation work
Related to #902.

[ci skip]
2016-12-03 20:15:26 +01:00
Camilla Berglund
fef21361c5 OSMesa: Cleanup
Fixes formatting, semantics and documentation.  Adds
glfwGetOSMesaContext.  Adds support for OSMesa context attributes.
Updates changelog and credits.  Adds license and copyright headers.
Removes superfluous code (the shared code provides many conveniences).
Removes loading of unused OSMesa functions.  Removes empty platform
structs.  Fixes version string format.  Removes build dependency on
the OSMesa header and library (only the library is needed and only at
runtime).

Closes #850.
2016-11-09 01:36:21 +01:00
Camilla Berglund
e94d16667b Cocoa: Add basic support for Vulkan via MoltenVK
This adds basic support for MoltenVK, a Vulkan implementation on top of
Metal, on macOS 10.11 and later.  It looks for MoltenVK in the process
via RTLD_DEFAULT symbol lookup if _GLFW_VULKAN_STATIC is disabled.

glfwCreateWindowSurface now creates and sets a CAMetalLayer for the
window content view, which is required for MoltenVK to function.

You must help CMake find MoltenVK for the Vulkan test to be built.

Fixes #870.
2016-11-01 21:39:54 +01:00
Camilla Berglund
8d6f265441 Update default name from OS X to macOS
Note that earlier releases are still referred to by their proper names;
OS X <version> or Mac OS X <version>.
2016-10-20 00:53:37 +02:00
linkmauve
bc8b0480e9 Wayland: Document when behaviour differs
This should describe all of the Wayland-specific points, mostly in
three categories:
- Missing GLFW features, for example window frame, screensaver
  inhibition, clipboard or file drop.
- Missing protocols, like setting gamma on a monitor or specifying a
  window icon.
- Fundamental incompatibilities with Wayland concepts, like trying to
  handle global positioning of a window in a 2D space, trying to bring
  a window to front, or trying to change the monitor’s mode.

Closes #881.
2016-10-16 16:52:39 +02:00
Camilla Berglund
efc6b35615 Rename joystick ID variables 2016-10-16 14:07:18 +02:00
Camilla Berglund
c156b50e4c Add glfwSetWindowMaximizeCallback
Fixes #778.
2016-09-29 01:24:56 +02:00
Camilla Berglund
433db8f9f9 Allow combining Vulkan and GL/GLES header macros 2016-09-14 22:59:12 +02:00
Camilla Berglund
bb3cb8f233 Cleanup
Clean up code and documentation for glfwGetKeyScancode and add
implementation for Wayland and Mir.

Related to #830.
2016-09-07 16:46:48 +02:00
Michael Stocker
e745b0dd47 Add glfwGetKeyScancode
Allows retrieval of platform scancode from GLFW_KEY_*.  Implemented for
Win32, Cocoa and X11.  Stubs for Mir and Wayland.

Closes #830.
2016-09-07 16:38:22 +02:00
Camilla Berglund
53fafad915 Start 3.3 2016-08-18 23:55:49 +02:00
Camilla Berglund
999f3556fd Documentation work 2016-08-18 13:32:27 +02:00
Camilla Berglund
80ba9944e5 Remove msvcrt recommendation 2016-08-12 13:33:03 +02:00
Camilla Berglund
0f12be7549 Documentation work 2016-08-12 01:57:17 +02:00
Camilla Berglund
c98d09f15d Documentation work 2016-08-12 01:46:17 +02:00
Camilla Berglund
7c3706763a Cleanup
Cleanup of 8bdb105897.

Add build macro to configuration header and documentation.  Add
corresponding CMake option.  Add change log entry and credit.  Add
loader static library to link dependencies and add detection to
FindVulkan.cmake.
2016-08-05 01:00:08 +02:00
Camilla Berglund
fb418b26d7 Fix grammar
Fixes #776.
2016-07-17 15:39:25 +02:00
Camilla Berglund
c1b1e0aab1 Documentation work
[ci skip]
2016-07-14 18:21:43 +02:00
Camilla Berglund
4bccb3dc9f Start 3.2.1 2016-06-15 01:35:05 +02:00
Camilla Berglund
f6ec835599 Fix documentation for timer thread safety 2016-06-02 16:13:47 +02:00
Camilla Berglund
9e86826eab Documentation work 2016-06-01 21:25:18 +02:00
Camilla Berglund
278bffe059 Remove severely outdated Rift guide 2016-06-01 21:25:09 +02:00
Camilla Berglund
7314501d62 Formatting 2016-05-31 15:38:12 +02:00
Camilla Berglund
1615edf5fb Clarify wording
Related to #766.
2016-05-31 15:37:20 +02:00
Camilla Berglund
20bce151c1 Documentation work 2016-05-30 17:00:21 +02:00
Camilla Berglund
85f6c6b2df Add description of 3.2 release 2016-05-29 17:55:08 +02:00
Camilla Berglund
ef80beab81 Add run-time context creation API selection
Fixes #145.
2016-05-04 17:00:07 +02:00
Camilla Berglund
e2d5071e59 Fix typo 2016-03-31 16:56:43 +02:00
Camilla Berglund
8a7fa306ce Add glfwSetJoystickCallback 2016-03-31 12:12:09 +02:00
Camilla Berglund
13e2ad2840 Documentation work 2016-03-29 11:37:22 +02:00
Camilla Berglund
bc713dabc4 Documentation work
[ci skip]
2016-03-29 11:12:56 +02:00
Camilla Berglund
7ab7d8b4b1 Make use of uint32_t where appropriate
This change does not affect the ABI.
2016-03-28 12:34:57 +02:00
Camilla Berglund
5661d03be8 Replace GLFWuint64 with uint64_t
C99 stdint.h is provided by VS 2010 and later.  GLFW has not provided
testing or binaries for VS 2008 for several releases.

For earlier versions of VS there are third-party alternatives:

https://msinttypes.googlecode.com/svn/trunk/stdint.h
http://www.azillionmonkeys.com/qed/pstdint.h

This change does not affect the ABI.
2016-03-28 12:34:44 +02:00
Camilla Berglund
728a088cd7 Fix event processing guide section 2016-03-18 12:08:43 +01:00
Camilla Berglund
6570d0c4b7 Add glfwSetWindowMonitor
This adds the ability to switch between windowed and full screen modes,
move a full screen window between monitors and update its desired
resolution and refresh rate.

Fixes #43.
2016-03-18 11:13:24 +01:00
Camilla Berglund
b823f7151e Add glfwSetWindowIcon
Adds support for setting window icons programmatically on platforms
where this makes sense.

Fixes #453.
Closes #467.
2016-03-10 17:26:26 +01:00
Camilla Berglund
793eef1d0a Fix missing word 2016-03-08 15:29:03 +01:00
Camilla Berglund
ee33dcdf33 Fix speling
[ci skip]
2016-03-07 14:43:10 +01:00
Camilla Berglund
5620895e88 Add glfwWaitEventsTimeout
This function will put the calling thread to sleep until an event
arrives or until the specified timeout has elapsed.
2016-03-06 17:28:40 +01:00
Camilla Berglund
337c77a39b Documentation work 2016-03-06 14:11:14 +01:00
Camilla Berglund
9fb00f2ad0 Fix speling 2016-03-06 11:51:32 +01:00
Camilla Berglund
31f67dd3cc Add glfwGetTimerValue and glfwGetTimerFrequency
This adds raw timer access to the public API and builds the
floating-point time functions on top.  It also makes the GLFWuint64 type
public.
2016-03-06 11:51:23 +01:00
Camilla Berglund
239ede725d Add cache variable setting to source tree method
By default both tests, examples and documentation is built when the GLFW
source tree is included in a larger CMake project.
2016-02-26 11:38:36 +01:00
Camilla Berglund
22a09a53e6 Centralize documentation generation logic 2016-02-26 11:38:36 +01:00
Camilla Berglund
baf574494d Add glfwFocusWindow
This removes the (undocumented) behavior where glfwShowWindow would
bring the window to front and set input focus.  That function now
does what it says.
2016-02-25 21:37:40 +01:00
Camilla Berglund
7669ade19c Make instance extension count unsigned
Fixes #714.
2016-02-22 10:44:43 +01:00
Camilla Berglund
bda18bc899 Remove XInput2 XI_Motion support
Sadly, this interferes with the Steam overlay.

Fixes #304.
2016-02-21 18:32:57 +01:00
Camilla Berglund
a10caa4631 Add glfwMaximizeWindow and GLFW_MAXIMIZED
Fixes #266.
2016-02-21 15:32:26 +01:00
Camilla Berglund
cbcadded18 Update documentation main page 2016-02-19 11:44:11 +01:00
Camilla Berglund
80c203f3bb Separate guide and reference documentation tags 2016-02-19 10:38:30 +01:00
Camilla Berglund
bad778c1c4 OpenGL headers not required for compilation 2016-02-18 22:28:26 +01:00
Camilla Berglund
65870346e4 Add Vulkan functions to thread safety section 2016-02-18 15:17:27 +01:00
Camilla Berglund
511183e76c Remove CRLF line endings 2016-02-18 14:22:11 +01:00
Camilla Berglund
b0b77bc0f2 Documentation work 2016-02-17 21:48:09 +01:00
Camilla Berglund
be94eb67be Add support for EGL_KHR_gl_colorspace
Fixes #285.
2016-02-17 17:27:33 +01:00
Camilla Berglund
08ea80b708 Clarify language on instance function loading 2016-02-17 15:09:48 +01:00
Camilla Berglund
95c44ab298 Fix cursor coordinate phrasing
Fixes #387.
2016-02-17 15:06:56 +01:00
Camilla Berglund
41b82903a8 Documentation work 2016-02-17 09:10:48 +01:00
Camilla Berglund
9b75bffc88 Add basic Vulkan support
Added GLFW_INCLUDE_VULKAN.  Added glfwVulkanSupported,
glfwGetRequiredInstanceExtensions, glfwGetInstanceProcAddress,
glfwGetPhysicalDevicePresentationSupport and glfwCreateWindowSurface.
Added port of LunarG SDK tri example.
2016-02-16 14:58:58 +01:00
Camilla Berglund
f51cf81148 Add error sections to reference docs
[ci skip]
2016-02-05 03:47:17 +01:00
Camilla Berglund
58a83ca8ad Documentation work 2016-02-04 20:34:22 +01:00
Camilla Berglund
b63b992fd6 CMake documentation work 2016-02-02 06:10:26 +01:00
Marcus Geelnard
075140aefe Add public header path to target interface
Closes #697.
2016-02-02 06:00:18 +01:00
Nicholas Vitovitch
453631773e Export transitive dependencies for static library 2016-02-02 06:00:18 +01:00
Camilla Berglund
832c2ffa3b History work 2016-01-31 22:36:34 +01:00
Camilla Berglund
951a9583fa Add Doxygen aliases for custom paragraphs 2016-01-31 22:35:37 +01:00
Camilla Berglund
ecd04539ec Add mention of command-line CMake option setting 2015-12-16 03:44:20 +01:00
Camilla Berglund
addb977ef1 Use monitor callback event more strictly 2015-12-15 22:37:22 +01:00
Camilla Berglund
0df4e06f11 Make more RFC 2119 compliant use of may 2015-12-13 14:49:01 +01:00
Camilla Berglund
001761ed58 Add note on event processing to context guide 2015-11-23 20:48:52 +01:00
Camilla Berglund
9c315412e1 Add glfwGetKeyName
Fixes #464.
2015-11-09 14:46:09 +01:00
Camilla Berglund
584d5f0f31 Remove dependency on eglplatform.h header
Fixes #636.
2015-11-08 15:48:34 +01:00
Camilla Berglund
43d6292328 Formatting 2015-11-07 21:08:25 +01:00
Camilla Berglund
98b478fec1 Add more GLFW_NO_API documentation 2015-11-05 13:52:04 +01:00
Camilla Berglund
d00579bf60 Clarify pre-initialization threading limitations 2015-11-05 11:38:45 +01:00
Camilla Berglund
ba1f1f8ee9 Update tutorial
Related to #628.
2015-10-28 23:26:57 +01:00
Camilla Berglund
d946337724 Document GLFW_CONTEXT_NO_ERROR caveat 2015-10-27 21:11:36 +01:00
Camilla Berglund
7be8209d14 Add GLFW_CONTEXT_NO_ERROR window hint
This adds support for the GL_KHR_no_error extension.
2015-10-27 20:36:20 +01:00
Camilla Berglund
88660fdf64 Add note on C++11/C11 UTF-8 literals 2015-10-24 21:41:39 +02:00
Camilla Berglund
f47e2f3ae4 Documentation work 2015-10-24 21:28:28 +02:00
Camilla Berglund
318e8acfae Header file documentation work 2015-10-24 21:18:52 +02:00
Camilla Berglund
b312f5e208 Fix grammar 2015-10-24 20:28:25 +02:00
Camilla Berglund
c9040bce55 Improve tutorial ending 2015-10-24 20:28:25 +02:00
Camilla Berglund
ce52210832 Add note about non-magic boolean values 2015-10-24 20:28:25 +02:00
Camilla Berglund
37b10d1a0e New release 2015-10-24 20:28:25 +02:00
Camilla Berglund
143c52e4cd Add OpenGL tutorial links to tutorial 2015-10-24 20:28:25 +02:00
Camilla Berglund
156cd33c7f Add use of glad to tutorial 2015-10-24 20:28:25 +02:00
Camilla Berglund
bbae72cea2 Improve header section of tutorial 2015-10-24 20:28:24 +02:00
Camilla Berglund
02b1710ab2 Remove mention of GLU from tutorial 2015-10-24 20:28:24 +02:00
Camilla Berglund
af5b82acf5 Documentation work 2015-10-19 16:01:42 +02:00
Camilla Berglund
42efd26698 Remove support for Universal Binaries 2015-10-18 19:34:33 +02:00
Camilla Berglund
d84772d620 Add size limits and aspect ratio functions
Fixes #555.
2015-10-18 17:18:29 +02:00
Camilla Berglund
22eca139fb Remove compile-time client library selection 2015-10-14 13:43:05 +02:00
Camilla Berglund
0eccf75f65 Replace GL booleans with public macros 2015-10-13 00:46:02 +02:00
Camilla Berglund
95a07f3340 Start 3.2 2015-10-12 21:59:49 +02:00
Camilla Berglund
be65829055 Clarify GLU deprecation 2015-10-12 19:05:21 +02:00
Camilla Berglund
0b65053ffd Clarify documentation of glfwGetClipboardString
The reference documentation for glfwGetClipboardString did not link to
GLFW_FORMAT_UNAVAILABLE.

Fixes #605.
2015-09-16 18:25:56 +02:00
Camilla Berglund
c8e068712b Fix glfwGetProcAddress documentation 2015-09-08 21:43:05 +02:00
Camilla Berglund
85a01bfd9b Document image data being non-premultiplied
Fixes #426.
2015-08-17 21:09:59 +02:00
Camilla Berglund
dd01dd7bef Replace GLU with linmath.h in examples 2015-08-09 16:54:19 +02:00
Camilla Berglund
04c057238b Added support for EXT_framebuffer_sRGB.
Added sRGB extensions to standards conformance page.
2015-07-16 17:48:00 +02:00
Camilla Berglund
2cc3c16ab1 Documentation tweak. 2015-06-15 20:40:15 +02:00
Camilla Berglund
1c104a385d Clarified note on role of CMake. 2015-06-09 21:04:49 +02:00
Camilla Berglund
6d5753c548 Added support for AMD PowerXpress override.
Generalized _GLFW_USE_OPTIMUS_HPG to _GLFW_USE_HYBRID_HPG to reflect the
change.

Fixes #520.
2015-05-29 13:15:32 +02:00
Camilla Berglund
d3e25db395 Added missing documentation for option. 2015-05-27 02:22:56 +02:00
Camilla Berglund
3c52cb1790 Simplified glXGetProcAddress logic.
Removed compile-time selection of GLX entry point retrieval mechanism.
Made dlopen a required dependency.

This is a stopgap solution until we start requiring GLX 1.4.
2015-05-27 02:20:55 +02:00
Camilla Berglund
8309e0ecb0 Use DwmFlush when DWM is enabled.
Use DwmFlush instead of WGL_EXT_swap_control when desktop compositing is
enabled, to avoid the jitter of DWM and WGL vsync fighting.

Fixes #516.
2015-05-21 18:28:53 +02:00
Camilla Berglund
460c34df4b Documentation tweaks. 2015-04-19 13:50:13 +02:00
Camilla Berglund
5733b0e4cb Removed repetitition in input guide.
Fixes #496.
2015-04-10 13:31:54 +02:00
Camilla Berglund
6b21c4f6c9 Fixed out-of-tree build documentation.
Fixes #489.
2015-04-07 22:19:56 +02:00
Camilla Berglund
427c79b24b Documented framebuffer attribute retrieval.
Related to #476.
2015-03-30 21:53:47 +02:00
Camilla Berglund
f3270d4ce8 Fixed language referring to GLFW 2.
Fixes #476.
2015-03-26 12:42:30 +01:00
Camilla Berglund
5268914b3f Started 3.1.2. 2015-03-20 00:16:24 +01:00
Camilla Berglund
1a004264f4 Removed reference to Carbon by postponed feature. 2015-03-17 16:48:56 +01:00
Camilla Berglund
8f08661d9e Header option macro fixes and documentation work.
This adds compile-time checks and documentation warning about defining
header option macros during compilation of GLFW.

Fixes #445.
2015-03-17 16:39:09 +01:00
Camilla Berglund
d493a82f9e Various error fixes.
Fixed incorrect error types.  Added missing error string prefixes.
Removed some invalid or superfluous error emissions.  Clarified some
error strings.  Joined error string lines to aid grep.  Replaced some
generic error strings with specific ones.  Documentation work.

Fixes #450.
2015-03-15 15:52:27 +01:00
Camilla Berglund
75b7720d00 Removed stray word in window guide. 2015-03-15 15:47:39 +01:00
Camilla Berglund
d79beb9539 Renamed monitor test program. 2015-03-15 15:47:15 +01:00
Camilla Berglund
98e36753e6 Clarified language for windowed full screen.
Fixes #447.
2015-02-22 19:22:48 +01:00
Camilla Berglund
f4c127f75a Made XInput2 optional at compile-time.
This is required for RHEL 5, CentOS 5 and Cygwin-X.

Fixes #314.
2015-02-16 15:40:39 +01:00
Camilla Berglund
ead8a1c333 Started 3.1.1. 2015-01-25 10:42:01 +01:00
Camilla Berglund
4188c263e3 Documentation work. 2015-01-18 17:30:10 +01:00
Camilla Berglund
3efff4e8de Documentation work. 2015-01-17 23:10:54 +01:00
Camilla Berglund
479fa6408a Documentation work. 2015-01-17 23:52:54 +01:00
Camilla Berglund
ce196232a7 Documentation work. 2015-01-16 14:09:03 +01:00
Camilla Berglund
ce8f97c23c Documentation work.
Fixes #212.
Fixes #420.
2015-01-16 01:34:12 +01:00
Camilla Berglund
4e375d0e74 Documentation work. 2015-01-11 18:25:54 +01:00
Camilla Berglund
500f5ebf04 Documentation work.
Fixes #416.
2015-01-11 03:57:28 +01:00
Pontus Stenetorp
e132945f71 Added missing article.
Fixes #409.
2015-01-06 00:02:43 +01:00
Camilla Berglund
138feb8be6 Documentation work. 2015-01-05 18:01:24 +01:00
Camilla Berglund
2085876da6 Documentation work. 2015-01-05 16:17:50 +01:00
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
2bed33ab15 Formatting. 2014-12-31 17:54:22 +01:00
Camilla Berglund
4783b17fa3 Added NvOptimusEnablement DLL caveat. 2014-12-29 03:57:45 +01:00
Camilla Berglund
01c0c3ca1f Fixed misplaced subheading. 2014-12-19 06:25:32 +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
ce0e74f6a9 Fixed word in standards conformance. 2014-12-11 13:54:03 +01:00
Camilla Berglund
5c003d3fbe Added Mir to compilation guide. 2014-11-10 02:04:45 +01:00
Camilla Berglund
1285e07f1b Documentation work. 2014-10-30 14:38:38 +01:00
Siavash Eliasi
f611ba8aa0 Using consistent margins for tips and code blocks. 2014-10-22 10:29:40 +03:30
Camilla Berglund
a21f2377bc Updated TinyCThread URL. 2014-10-15 03:56:16 +02:00
Camilla Berglund
b140606a49 Added GLFW_INCLUDE_GLEXT for glext.h inclusion.
Closes #365.
2014-10-13 23:57:21 +02:00
Camilla Berglund
2d13eb0920 Documentation work. 2014-10-13 17:23:05 +02:00
Camilla Berglund
496567d3f1 Documentation work. 2014-10-13 15:48:40 +02:00
Camilla Berglund
a6c57dc6f1 Documentation work. 2014-10-07 19:43:05 +02:00
Camilla Berglund
96d230becb Documentation work. 2014-10-07 12:24:31 +02:00
Camilla Berglund
e0c26f0ec5 Changed default of GLFW_REFRESH_RATE.
Fixes #354.
2014-10-06 23:52:10 +02:00
Camilla Berglund
6be821c18b Documentation work. 2014-10-06 23:18:33 +02:00
Camilla Berglund
95654cfada Documentation work. 2014-10-06 15:01:58 +02:00
Camilla Berglund
4591ad2d64 Documentation work. 2014-09-22 11:08:33 +02:00
Camilla Berglund
e9c7314d50 Added GLFW_FOCUSED window hint.
Fixes #101.
2014-09-10 11:50:50 +02:00
Camilla Berglund
66c3af7628 Added compatibility paragraphs on flush control. 2014-09-05 13:57:58 +02:00
Camilla Berglund
44c899ce70 Added support for GL_KHR_context_flush_control. 2014-08-21 19:29:04 +02:00
Camilla Berglund
4ce884fa52 Added OpenGL Reference pointers. 2014-08-15 15:16:45 +02:00
Camilla Berglund
c39ebfe1b8 Fixed callback syntax in tutorial. 2014-07-23 23:52:20 +02:00
Camilla Berglund
0364457947 Added custom Doxygen layout file. 2014-07-04 13:27:41 +02:00
Siavash Eliasi
9c545d6a14 Fixed typo. 2014-07-03 10:26:49 +04:30
Camilla Berglund
c015852498 Restored smaller Doxygen code block padding.
This is a revert of db5b089cee.
2014-07-02 18:41:30 +02:00
Siavash Eliasi
5a48f3123f Using a light grey syntax highlighting theme. 2014-07-02 20:44:03 +04:30
Siavash Eliasi
51208601a4 Setting CSS for horizontal rules. 2014-06-26 22:16:09 +02:00
Siavash Eliasi
2ea74e60f9 Using slightly brighter set of colors for message boxes. 2014-06-26 22:16:09 +02:00
Siavash Eliasi
db5b089cee Increasing code block padding. 2014-06-26 22:16:09 +02:00
Siavash Eliasi
ce3ff08932 Using different color for links inside code blocks. 2014-06-26 22:16:09 +02:00
Siavash Eliasi
30eccfd454 No orange links in documentation message boxes. 2014-06-26 22:16:09 +02:00
Siavash Eliasi
eb13951fb2 Removed unnecessary CSS rule. 2014-06-26 22:16:09 +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
e8e05d462c Documentation work.
Fixes #276.
2014-06-19 11:38:22 +02:00
Siavash Eliasi
dcc3e72d39 Introducing extra.less and using Less CSS for higher flexibility.
This will reduce the amount of copy paste involved when performing
slight changes to the default color sets.

These Ruby gems are required for generating extra.css from extra.less:
gem install less therubyracer

Please run this command to regenerate extra.css:
lessc --compress extra.less > extra.css
2014-06-18 18:04:52 +02:00
Siavash Eliasi
0a4796b2a0 Doxygen CSS cleanup. 2014-06-18 18:04:52 +02:00
Siavash Eliasi
9e72bb1775 Setting CSS for missed elements. 2014-06-18 18:04:52 +02:00
Camilla Berglund
3ce7bfef07 Added GLFW_FLOATING.
Fixes #23.
2014-06-18 16:39:39 +02:00
Camilla Berglund
c9808586b3 Added GLFW_DOUBLEBUFFER. 2014-06-18 16:36:53 +02:00
Camilla Berglund
281013002d Added GLFW_DONT_CARE.
This changes the behavior of framebuffer hints set to zero.  Before,
zero meant that any value was acceptable.  This changes zero to be an
explicit preference and adds GLFW_DONT_CARE to mean that any value is
equally acceptable.

Fixes #70.
2014-06-18 16:36:22 +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
Siavash Eliasi
0ffe934a3e Fixed typo in transition guide. 2014-05-26 10:33:22 +04:30
Camilla Berglund
aa5be2dbc3 Removed deprecated Doxygen options. 2014-05-23 13:53:55 +02:00
Siavash Eliasi
f91d1d967f Fixed doxygen navigation bar position for Firefox web browser.
- More unification with website (page padding and width)
- Setting the minimum width of navigation bars to 800px.
2014-04-19 11:03:08 +04:30
Camilla Berglund
42bf473b18 Added linking tutorial caveat. 2014-04-13 18:08:12 +02:00
Siavash Eliasi
f6f5b4ab0d Fixed doxygen navigation bar position for chromium web browser. 2014-04-12 08:52:02 +04:30
Camilla Berglund
eb3f75e03e Added glfwGetWindowFrameSize. 2014-03-30 10:57:32 +02:00
Camilla Berglund
5c8121e7a8 Clarified language for file drop callback. 2014-03-29 21:35:21 +01:00
Camilla Berglund
68d757113b Added custom cursors to news. 2014-03-21 15:58:01 +01:00
Eddie Ringle
d79be3f7fc docs/window.dox: Fix typo
Signed-off-by: Eddie Ringle <eddie@eringle.net>
2014-03-16 17:43:41 -04:00
Camilla Berglund
1ccc23268c Added glfwPostEmptyEvent. 2014-03-09 17:55:55 +01:00
Camilla Berglund
a89a02ff85 Fixed documentation copypaste error. 2014-03-06 15:31:24 +01:00
Siavash Eliasi
aaea58fa2e Removed <code> element background from other undesirable cases. 2014-02-16 15:01:05 +03:30
Siavash Eliasi
9ddaf76b68 Added background colour for non-table and non-note <code> elements. 2014-02-16 14:07:30 +03:30
Camilla Berglund
754536404e Updated version number on main page. 2014-02-13 15:33:34 +01:00
Camilla Berglund
a75c457620 Removed background of <code> elements. 2014-02-13 15:20:12 +01:00
Camilla Berglund
84377c6175 Added _GLFW_USE_RETINA. 2014-02-10 13:45:13 +01:00
Camilla Berglund
5114339136 Added high-DPI viewport note to news. 2014-01-24 02:29:15 +01:00
Camilla Berglund
1d3f3e65a0 Added high-DPI note to transition guide. 2014-01-24 02:28:56 +01:00
Camilla Berglund
040552fcca Added file drop support to news page. 2014-01-21 22:40:19 +01:00
Camilla Berglund
2edc25b729 Added extensions to X11 conformance section. 2014-01-21 21:33:11 +01:00
Camilla Berglund
b4001b78b9 X11 conformance updates. 2014-01-21 21:19:20 +01:00
Camilla Berglund
0b8cd09435 Updated title of X11 conformance section. 2014-01-21 20:58:01 +01:00
Camilla Berglund
313480a09c Added XDND note to conformance page. 2014-01-21 20:54:42 +01:00
Camilla Berglund
b17bed28c8 Added note on gdi32 as non-defaultlib on MinGW.
Some versions of MinGW do not include gdi32 among the default libraries
for Win32 subsystem binaries.
2013-12-23 00:53:04 +01:00
Camilla Berglund
4eea3175f1 Re-worded OS X context creation limits. 2013-12-18 12:42:05 +01:00
Camilla Berglund
8ac7cab100 Added notes on API headers. 2013-12-11 14:38:27 +01:00
Camilla Berglund
5668eb0732 Added paragraph on object sharing. 2013-12-05 03:17:45 +01:00
Camilla Berglund
8443848637 Updated swap interval notes. 2013-11-24 23:31:15 +01:00
Camilla Berglund
e0ee90d50c Fixed news item tag name. 2013-11-20 15:37:08 +01:00
Camilla Berglund
171538d01c Grammar fix. 2013-11-20 15:33:40 +01:00
Camilla Berglund
c21745c886 Added reference to manual compilation guide. 2013-11-20 15:28:30 +01:00
Camilla Berglund
9979da59e3 Manual compilation guide work. 2013-11-20 14:37:04 +01:00
Camilla Berglund
8b1b322771 Added manual compilation guide. 2013-11-20 14:27:05 +01:00
Camilla Berglund
bb3f29d8bc Added note on profile detection. 2013-11-19 17:57:08 +01:00
Camilla Berglund
d82095d7ea Changed from PREFIX to CMAKE_INSTALL_PREFIX. 2013-11-10 15:43:25 +01:00
Camilla Berglund
a79c844c4d Oh dear. 2013-11-10 03:31:10 +01:00
Camilla Berglund
6c12ffc902 Added the GLFW_BUILD_DOCS CMake option. 2013-11-07 18:23:54 +01:00
Camilla Berglund
174c72f2c0 Moved GLFW compilation guide to docs. 2013-10-27 12:53:50 +01:00
Camilla Berglund
394c44ccf9 More words on window closing. 2013-10-25 15:55:24 +02:00
Camilla Berglund
db8e6bed7a Cross-linked build guides. 2013-10-21 22:23:15 +02:00
Camilla Berglund
a5df39e14f Added section on user pointer to window guide. 2013-10-12 20:00:16 +02:00
siavash
1695fd08f0 Fixed page header background image location. 2013-10-11 23:11:11 +03:30
Camilla Berglund
fa765ee719 Removed DOS line breaks. 2013-10-09 21:35:35 +02:00
Camilla Berglund
aab08712dd Fixed zero refresh rate on some monitors. 2013-10-09 19:45:39 +02:00
Camilla Berglund
55530dbd14 Merge pull request #149 from andrewcorrigan/master
Added glfw_ prefix to configuration header.
2013-10-04 08:47:29 -07:00
Camilla Berglund
12f0d8d4ca Build documentation grammar fix. 2013-10-04 17:08:04 +02:00
Andrew Corrigan
34f1c298b6 config.h.in --> glfw_config.h.in 2013-10-04 09:41:08 -04:00
Camilla Berglund
1f6696d433 Added references to build guide. 2013-09-24 22:17:35 +02:00
Camilla Berglund
25eb8dc277 Removed index.html from URL. 2013-09-24 21:32:21 +02:00
siavash
96c5aea3ba Removed invisible element. 2013-09-21 15:18:49 +04:30
siavash
cca61d752d New theme for doxygen generated documentations. 2013-09-21 15:14:37 +04:30
Camilla Berglund
f1397843ee Added GLFW_OPENED to transition guide. 2013-07-11 14:01:06 +02:00
Camilla Berglund
d10eff4531 Updated OS X OpenGL compatibility docs. 2013-07-10 15:47:32 +02:00
Camilla Berglund
e67ee935a2 Fixed documentation tag name. 2013-07-10 15:39:08 +02:00
Camilla Berglund
41a1374744 Updated references to OS X (previously Mac OS X). 2013-07-10 15:38:31 +02:00
Camilla Berglund
4b7ae4918b Documentation work. 2013-07-07 12:59:30 +02:00
Camilla Berglund
1947557eb1 Documentation work. 2013-07-04 13:05:19 +02:00
Camilla Berglund
b6b57b5249 Documentation work. 2013-06-23 15:17:43 +02:00
Camilla Berglund
659157928e Client build documentation work. 2013-06-21 13:04:47 +02:00
Camilla Berglund
f5f55e3ff8 Documentation work. 2013-06-17 14:15:35 +02:00
Camilla Berglund
77572bdf6e Fixed line terminators. 2013-06-13 12:24:07 +02:00
Camilla Berglund
fdaebdd169 Removed 'unfinished' claim. 2013-06-13 12:12:45 +02:00
Camilla Berglund
74d355fae4 News page fixes. 2013-06-13 12:12:10 +02:00
Camilla Berglund
2cc2e8acd7 Added cursor crossing callback to news. 2013-06-13 12:08:42 +02:00
Camilla Berglund
964a5ba952 Sorted Doxygen pages. 2013-06-12 20:58:13 +02:00
Camilla Berglund
30b6e0c868 Removed deprecated Doxygen option. 2013-06-12 20:35:50 +02:00
Camilla Berglund
c449ef2e12 Moved client build docs to Doxygen. 2013-06-12 16:06:45 +02:00
Camilla Berglund
3274dc9a61 Added internal docs. 2013-06-12 15:03:56 +02:00
Camilla Berglund
bfb7b053c2 Added missing news items. 2013-06-06 17:29:06 +02:00
Camilla Berglund
ee91dea741 Added key input to quick tutorial. 2013-06-05 23:46:16 +02:00
Camilla Berglund
362bf5de64 Documentation work. 2013-06-05 23:01:50 +02:00
Camilla Berglund
fbfbf3ce07 Documentation work. 2013-06-05 21:26:40 +02:00
Camilla Berglund
44e8401f7b Clarified default profile token name. 2013-06-05 16:15:20 +02:00
Camilla Berglund
179d90956a Added high-DPI to news page. 2013-06-04 17:50:41 +02:00
Camilla Berglund
2591b6c8c8 Fixed use of legacy token names. 2013-06-03 14:01:25 +02:00
Camilla Berglund
2cd34386bc Added back refresh rate window hint. 2013-05-30 20:42:59 +02:00
Camilla Berglund
a40f348c8d Documentation work. 2013-05-27 21:58:33 +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
15ed715f4e Moved public headers to the GLFW directory. 2013-05-22 22:46:34 +02:00
Camilla Berglund
9264b5da0e Removed double mode for cursor mode. 2013-05-22 21:56:14 +02:00
Camilla Berglund
a8a69006ff Added paragraph on clipboard manager. 2013-05-20 14:22:19 +02:00
Camilla Berglund
19cfc5e6f2 Grammar fix. 2013-05-19 10:24:59 +02:00
Camilla Berglund
690fe6f645 Added undecorated windows to news page. 2013-04-24 23:55:48 +02:00
Camilla Berglund
608109c249 Documentation work. 2013-04-14 15:41:34 +02:00
Camilla Berglund
fa0cbd9a44 Documentation work. 2013-04-11 01:07:07 +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
e248fb6056 Documentation work. 2013-04-08 03:26:54 +02:00
Camilla Berglund
3ee5b0e788 Added note on atexit removal. 2013-04-08 03:25:03 +02:00
Camilla Berglund
13ccf7d9de Fixed bullet lists. 2013-04-07 13:50:53 +02:00
Camilla Berglund
fbda6d4f62 Made docs build (quietly) by default. 2013-03-18 21:31:04 +01:00
Camilla Berglund
ebe02f94af Added CMake target for documentation. 2013-03-18 21:21:12 +01:00
Camilla Berglund
c6ef232dba Clarified language on hint usage. 2013-03-18 21:19:35 +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
87af36830c Added reference to example source file. 2013-03-18 15:57:58 +01:00
Camilla Berglund
469a9cf338 Transition guide work. 2013-03-18 15:54:33 +01:00
Camilla Berglund
c5ea91d6a3 Added tables of contents. 2013-03-12 18:57:38 +01:00
Camilla Berglund
71d2b574f8 Converted docs to hybrid Markdown. 2013-03-12 15:33:05 +01:00
Camilla Berglund
2469a1bac9 Removed option to disable native docs. 2013-03-07 16:38:53 +01:00
Camilla Berglund
64afb193e8 Removed return value of close callback. 2013-03-06 23:29:37 +01:00
Camilla Berglund
5d8fdc64f9 Formatted Doxyfile template. 2013-03-03 13:04:01 +01:00
Camilla Berglund
2939c1dc35 Updated transition guide. 2013-03-01 14:57:11 +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
dfc48d7170 Added glfwMakeContextCurrent to quick tutorial. 2013-02-25 15:49:58 +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
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
26759b8bd5 Refreshed Doxyfile. 2013-02-12 12:02:36 +01:00
Camilla Berglund
d0c298de6e Removed legacy documentation. 2012-05-03 13:00:54 +02:00
Camilla Berglund
011ef7463a Doxygen config improvements. 2012-02-02 19:08:55 +01:00