Commit graph

6995 commits

Author SHA1 Message Date
Vlad K c65f1fb7bc Initial d&d x11 event support 2017-06-16 22:09:06 +03:00
Vlad K 9062f8ed30 Clean up 2017-06-16 22:08:33 +03:00
Vlad K 90e9c28cbd Added Windows D&D support 2017-06-16 22:08:24 +03:00
Vlad K 18dd603696 Fix of memory leak 2017-06-16 22:07:11 +03:00
Vlad K e792bd80fe Add initial d&d support for GameWindow. Add SDL2 d&d support 2017-06-16 22:02:55 +03:00
Malcolm Still 6f86eca124 Merge branch 'develop' of github.com:malcolmstill/opentk into develop 2017-06-13 17:30:43 -05:00
VPeruS 52206ec13b Add requsted changes 2017-06-14 00:56:42 +03:00
Malcolm Still 543bdc107c Remove Fixed24 struct 2017-06-13 16:53:57 -05:00
Malcolm Still d360026dfe Remove DRM cursor on Dispose. 2017-06-13 16:53:57 -05:00
Malcolm Still 612b86bd5a Moving the LockSurface after waiting for the page flip stops the rendering glitches on Linux/KMS. 2017-06-13 16:53:57 -05:00
Malcolm Still f08d210ba3 Some casts required in the absolute motion handler now that the query functions return doubles. 2017-06-13 16:53:57 -05:00
Malcolm Still 64e6346ac4 Mistake in change. The Debug.Print statement should not be there. 2017-06-13 16:53:57 -05:00
Malcolm Still bbbbc75e75 Relative pointer motion should use the relative (Delta) query functions. 2017-06-13 16:53:57 -05:00
Malcolm Still 9494457c26 Use new axis querying functions to update mouse scroll state. 2017-06-13 16:53:57 -05:00
Malcolm Still fa8f19a40a Use new Libinput.CreateContext and Libinput.AssignSeat functions in Setup(). 2017-06-13 16:53:57 -05:00
Malcolm Still 8558e86e81 Removed @ symbol from IntPtr name 2017-06-13 16:53:57 -05:00
Malcolm Still 5db38956d6 Pointer coordinate query functions now return doubles. 2017-06-13 16:53:57 -05:00
Malcolm Still 0f65acc165 libinput v0.8 removed libinput_event_pointer_get_axis and replace with libinput_event_pointer_has_axis and libinput_event_pointer_get_axis_value now takes a specified PointerAxis 2017-06-13 16:53:56 -05:00
Malcolm Still 17a7464793 libinput v0.4 removed libinput_udev_create_for_seat and replaced with two functions libinput_udev_create_context and libinput_udev_assign_seat to separately create a context and assign it a seat name. 2017-06-13 16:53:56 -05:00
Malcolm Still 79bccee535 Remove Fixed24 struct 2017-06-13 16:19:50 -05:00
Jarl Gullberg 5dce9161bd
RootWindow is now accessed through GDK.Screen instead. It is deprecated in GTK3. 2017-06-13 23:06:39 +02:00
Jarl Gullberg cb42feef20
Added more method and class comments. 2017-06-13 22:49:49 +02:00
Jarl Gullberg 5c69098f63
Correct usage of variable name under GTK2. 2017-06-13 22:46:28 +02:00
Jarl Gullberg 0a95b20860
GdkWindow is deprecated in GTK3. Splitting out into two accessors. 2017-06-13 22:45:10 +02:00
Jarl Gullberg 3d60cf2bf6
Split the different Destroy and Dispose signatures. 2017-06-13 22:42:52 +02:00
Jarl Gullberg af5be093a8
Revert "Removed redundant field initializers."
This reverts commit 5abcfedf11.
2017-06-13 22:34:32 +02:00
Jarl Gullberg accdc55731
Revert "Introduced optional parameters for GLWidget constructor, removing a redundant constructor."
This reverts commit 1634a652c2.
2017-06-13 22:34:29 +02:00
Jarl Gullberg 632c3f8722
Revert "Converted GraphicsContextFlags into an auto-property."
This reverts commit be037bbdb0.
2017-06-13 22:34:26 +02:00
Jarl Gullberg 12ed99e9eb
Revert "Added ReSharper warning suppressions."
This reverts commit c98fbde35c.
2017-06-13 22:34:14 +02:00
Jarl Gullberg c98fbde35c
Added ReSharper warning suppressions. 2017-06-13 22:13:20 +02:00
Jarl Gullberg be037bbdb0
Converted GraphicsContextFlags into an auto-property. 2017-06-13 22:11:19 +02:00
Jarl Gullberg 1634a652c2
Introduced optional parameters for GLWidget constructor, removing a redundant constructor. 2017-06-13 22:10:49 +02:00
Jarl Gullberg 5abcfedf11
Removed redundant field initializers. 2017-06-13 22:09:32 +02:00
Jarl Gullberg f240a75208
Enforced use of explicit private modifiers for clarity. 2017-06-13 22:08:58 +02:00
Jarl Gullberg 8b32c9aa5e
Improved comments. 2017-06-13 22:08:23 +02:00
Jarl Gullberg 91eac27c99
Deleted now obsolete code. 2017-06-13 22:02:21 +02:00
Jarl Gullberg 57004cceb8
Added new files to project. 2017-06-13 22:01:34 +02:00
Jarl Gullberg cf678dfc48
Replaced in-class initialization with calls to platform-specific classes. 2017-06-13 22:01:11 +02:00
Jarl Gullberg e05f34377b
Broke out window info initialization into their own classes. 2017-06-13 22:00:41 +02:00
Jarl Gullberg 2dc4c1b12a
Dropped to C# 6.0 to maintain support for AppVeyor. 2017-06-13 21:42:16 +02:00
Jarl Gullberg 7f29705f0a
Removed obsolete GtkSharp references. 2017-06-13 20:43:44 +02:00
Jarl Gullberg 993d1a60c9
Merge branch 'develop' into glwidget-gtk3 2017-06-13 20:29:58 +02:00
Jarl Gullberg fc954ef09b
Removed invalid character. 2017-06-13 20:24:38 +02:00
Jarl Gullberg d962586000
Corrected use of versioned folder. 2017-06-13 20:22:08 +02:00
Jarl Gullberg 1ea2975aab
Reverted use of SolutionDir. 2017-06-13 20:12:09 +02:00
Jarl Gullberg 0361cf9fcc
Updated FSharp.Core reference as a side effect. 2017-06-13 19:59:58 +02:00
Jarl Gullberg 46dcea2a61
Fixed incorrect chooser. 2017-06-13 19:59:29 +02:00
Jarl Gullberg 1dab0a23cf
Reenabled building of GLWidget project. 2017-06-13 19:59:04 +02:00
Jarl Gullberg 4c059644bf
Updated with new reference to gtk-sharp3. 2017-06-13 19:58:49 +02:00
Jarl Gullberg 7180293dbe
Changed to a more recent GTK#3 NuGet package. 2017-06-13 19:51:52 +02:00