urraka
40c04a7565
Added support for custom system cursors.
...
This adds 3 functions to the GLFW API: glfwCreateCursor,
glfwDestroyCursor and glfwSetCursor.
ago%!(EXTRA string=11 years)
Camilla Berglund
611006af18
Updated API version in comment headers.
ago%!(EXTRA string=11 years)
Camilla Berglund
8f349e84ae
Cleaned up drop callback design.
ago%!(EXTRA string=11 years)
Camilla Berglund
8ae063bb1b
Cleanup.
ago%!(EXTRA string=11 years)
arturo
89d0723ba3
Initial drag and drop support.
ago%!(EXTRA string=11 years)
Camilla Berglund
e0a26aa62f
Cursor mode cleanup.
ago%!(EXTRA string=12 years)
Camilla Berglund
2c920fbb8b
Clarified character callback parameter.
ago%!(EXTRA string=12 years)
Andri Pálsson
99784fb8f0
Fixed hidden cursor positioning corner case.
ago%!(EXTRA string=12 years)
Camilla Berglund
3cfc400cf9
Simplified source file comment headers.
ago%!(EXTRA string=12 years)
Camilla Berglund
f7282e86c0
Added pointer swap macro for callback setters.
ago%!(EXTRA string=12 years)
siavash
b12c973922
Moved X11 character translation failure test.
ago%!(EXTRA string=12 years)
Niklas Behrens
a55c3f48eb
Fix incorrect cursor position
...
When reactivating the cursor its position was updated visually but not
internally which caused glfwGetCursorPos to return wrong values.
ago%!(EXTRA string=12 years)
Camilla Berglund
11615fcaf2
Added scancode to key callback.
ago%!(EXTRA string=12 years)
Camilla Berglund
11b7d17ea0
Added filtering of duplicate key releases.
ago%!(EXTRA string=12 years)
Camilla Berglund
6df692b61e
Renamed CURSOR_CAPTURED to CURSOR_DISABLED.
ago%!(EXTRA string=12 years)
Camilla Berglund
9264b5da0e
Removed double mode for cursor mode.
ago%!(EXTRA string=12 years)
Camilla Berglund
2d1b835711
Added a conservative set of key modifiers.
ago%!(EXTRA string=12 years)
Camilla Berglund
f175b2dddc
Only apply cursor mode to focused windows.
ago%!(EXTRA string=12 years)
Camilla Berglund
11a27de3d3
Added return by setters of previous callback.
ago%!(EXTRA string=12 years)
Camilla Berglund
008376d450
Restore cursor position on capture mode exit.
ago%!(EXTRA string=12 years)
Camilla Berglund
129e94da2e
Changed cursor pos to double.
ago%!(EXTRA string=12 years)
Camilla Berglund
aec952e8dc
Fixed and clarified invalid char tests.
ago%!(EXTRA string=12 years)
Camilla Berglund
d0e4c874c3
Moved sticky state.
ago%!(EXTRA string=12 years)
Camilla Berglund
182e0afe25
Made character unsigned.
ago%!(EXTRA string=12 years)
Camilla Berglund
719b60dd2b
Added macros for library initialization check.
ago%!(EXTRA string=12 years)
Camilla Berglund
253e0d6b23
Added GLFW_REPEAT.
ago%!(EXTRA string=12 years)
Camilla Berglund
d97dddc8c4
Simplified function comment headers.
ago%!(EXTRA string=12 years)
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.
ago%!(EXTRA string=12 years)
Camilla Berglund
c17a7dd464
Made glfwGetWindowSize immediate.
...
Conflicts:
src/internal.h
ago%!(EXTRA string=12 years)
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.
ago%!(EXTRA string=13 years)
Camilla Berglund
355af57b91
Renamed internal macro to match conventions.
ago%!(EXTRA string=13 years)
Camilla Berglund
8d60214fac
Put window callbacks in a substruct.
ago%!(EXTRA string=13 years)
Camilla Berglund
fcb96967ba
Replaced repeat kluge with detectable auto repeat.
ago%!(EXTRA string=13 years)
Camilla Berglund
9af960e2dd
Made the pointer-ness of object handles explicit.
ago%!(EXTRA string=13 years)
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.
ago%!(EXTRA string=13 years)
Camilla Berglund
1790194828
Renamed _glfwInputError and moved to event API.
ago%!(EXTRA string=13 years)
Camilla Berglund
9c0e19adca
Made error message tags more consistent.
ago%!(EXTRA string=13 years)
Camilla Berglund
998cb5144e
Made glfwSetCursorPos fail silently if lacking focus.
ago%!(EXTRA string=13 years)
Camilla Berglund
c479124e69
Removed key repeat.
ago%!(EXTRA string=13 years)
Camilla Berglund
14355d692f
Fixed active/focused nomenclature mixing.
ago%!(EXTRA string=13 years)
m@bitsnbites.eu
1c21fc1383
Removed GLFW_SYSTEM_KEYS from the GLFW API
...
Rationale: Disabling system commands is inherently
dangerous, and should not be encouraged. Also, it's very
difficult to define and implement a reliable and
consistent cross-platform mechanism.
ago%!(EXTRA string=13 years)
Camilla Berglund
18d71c2b6d
Made window-related callbacks per-window.
...
This makes polymorphic behaviour easier to implement and avoids the problem of
events being triggered before the GLFW window object is fully usable.
ago%!(EXTRA string=13 years)
Camilla Berglund
8ed66ea4d5
Removed calling of callbacks from setters.
ago%!(EXTRA string=13 years)
Camilla Berglund
cef9dea1d2
Unified nomenclature for cursor positions.
ago%!(EXTRA string=13 years)
Camilla Berglund
cea0e30499
Fixed cursor centering using wrong mode.
ago%!(EXTRA string=13 years)
Camilla Berglund
4ef9aec7e0
Made scrolling deltas floating point.
ago%!(EXTRA string=13 years)
Camilla Berglund
21f2327e56
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
f2062e06b7
Removed traces of Captain Obvious.
ago%!(EXTRA string=13 years)
Camilla Berglund
609c008a19
Moved input mode functions to top.
ago%!(EXTRA string=13 years)
Camilla Berglund
5a05da441d
Formatting.
ago%!(EXTRA string=13 years)