1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-27 04:28:52 -05:00
Commit Graph

2616 Commits

Author SHA1 Message Date
Camilla Berglund 896d040c68 Merge pull request #316 from jadahl/wayland-input
Wayland input work.
2014-06-29 23:44:35 +02:00
Jonas Ådahl 9ac854b7bb wayland: Add keyboard support
Adds libxkbcommon as a dependency when enabling the Wayland backend.
2014-06-29 23:21:06 +02:00
Jonas Ådahl 2f71bfc152 x11: Move KeySym to unicode converter out of x11 backend
To be used by the Wayland backend.
2014-06-29 23:18:40 +02:00
Jonas Ådahl 819e148510 examples/boing: Add ball-follow-cursor functionality
Make it so that in the boing example, when the user clicks, the ball
follows the mouse cursor.
2014-06-29 23:18:40 +02:00
Jonas Ådahl 7d373477ed wayland: Build with -pthread 2014-06-29 23:18:40 +02:00
Jonas Ådahl a75cf5a163 wayland: Add basic input support 2014-06-29 23:18:40 +02:00
Jonas Ådahl 4c68049d86 wayland: Fix indentation 2014-06-29 23:18:40 +02:00
Ricardo Vieira dea861abd8 Fixed all EGLConfigs listed as single-buffered.
The commit c980858 added a new flag to _GLFWfbconfig that was not being
set by EGLConfig enumeration.  This patch assumes eglCreateWindowSurface
only creates double-buffered surfaces.

Fixes #315.
2014-06-29 23:16:28 +02:00
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 271d9fc76e Formatting. 2014-06-24 13:26:15 +02:00
Doug Binks 55b5ca0bcc Fixed WGL not re-creating for sRGB hint.
Fixes #312.
2014-06-24 13:07:58 +02:00
Camilla Berglund 46a56ea742 Clarified charmods in events test. 2014-06-24 13:04:50 +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 9b6c14b7ae Unified X11 cursor creation. 2014-06-22 13:15:36 +02:00
Camilla Berglund 215924f797 Removed harmless CGDisplay to NSScreen error.
This used to be a failure state, but has since been fixed.

Closes #221.
2014-06-19 13:50:29 +02:00
Camilla Berglund e8e05d462c Documentation work.
Fixes #276.
2014-06-19 11:38:22 +02:00
Camilla Berglund a7b9deb2ca Fixed use of previous member name. 2014-06-18 21:07:54 +02:00
Camilla Berglund 8ac54e8b14 Formatting. 2014-06-18 18:24:42 +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 f3b65445dc Fixed cursor outside new full screen windows.
The cursor was not positioned over newly created full screen windows,
leading to confusing behavior like invisible cursor or window
iconification.

This fix is a stop-gap until the direct cursor position work is merged.

Fixes #111.
2014-06-18 17:13:28 +02:00
Camilla Berglund 7cb217ed4a Fixed plural forms on key/button arrays. 2014-06-18 16:39:41 +02:00
Camilla Berglund cdd44849b8 Updated glad. 2014-06-18 16:39:41 +02:00
Camilla Berglund 35fd08f594 Made windows test show all windows at once. 2014-06-18 16:39:41 +02:00
Camilla Berglund 11587f1dde Added position testing to windows test. 2014-06-18 16:39:40 +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
Camilla Berglund 4fb5da75dc Consume WM_ERASEBKGND. 2014-06-18 16:19:17 +02:00
Camilla Berglund 5e008ad074 Removed tautological test. 2014-06-18 16:19:17 +02:00
Camilla Berglund 20792526c6 Clarified dependency list. 2014-06-18 16:13:49 +02:00
Camilla Berglund 7123bcfc3e Fixed modifier key events being lost. 2014-06-17 11:49:29 +02:00
Camilla Berglund 20b7ac0518 Formatting. 2014-06-12 22:08:37 +02:00
Camilla Berglund 2f30d3e5a3 Only generate Doxyfile if generating docs.
Fixes #307.
2014-06-11 23:07:55 +02:00
Camilla Berglund cb9d194f86 Removed uses of GLU in tests. 2014-06-10 15:04:32 +02:00
Camilla Berglund 7653f3af49 Updated comments on global variables. 2014-06-10 15:04:32 +02:00
Camilla Berglund ae469ee614 Made X11 Unicode table const. 2014-06-10 15:04:32 +02:00
Camilla Berglund 0493d717a4 Merge pull request #306 from SephiRok/patch-1
Start reopen test in fullscreen.
2014-06-10 14:56:59 +02:00
Rok Breulj 093029c2f5 Start reopen test in fullscreen. 2014-06-10 03:39:40 +02:00
Camilla Berglund c6e02c09ff Fixed leaks of joystick mutable arrays. 2014-05-29 13:19:08 +02:00
Camilla Berglund 8f2336f02c Fixed release of get rule objects.
Partial revert of b4c03b992c.

Fixes #262.
2014-05-29 11:28:22 +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