William Jon McCann
47469eb296
Use proper quotes in gdk
2014-02-05 15:08:42 -05:00
William Jon McCann
22586ea7c2
docs: use #*-struct instead of <structname>
2014-01-27 19:59:55 -05:00
Alexander Larsson
e8b38fedbd
gdk: Convert mouse position to doubles, add new getters
...
We've long had double precision mouse coordinates on wayland (e.g.
when rotating a window) but with the new scaling we even have it on
X (and, its also in Xinput2), so convert all the internal mouse/device
position getters to use doubles and add new accessors for the
public APIs that take doubles instead of ints.
2013-07-03 14:39:25 +02:00
Matthias Clasen
ca81028901
Add GDK_AVAILABLE_IN_ALL annotations in gdk
...
This is in preparation to modernizing our handing
of exported symbols.
2013-05-05 15:38:46 -04:00
Matthias Clasen
5adecf183b
Move single-include guards inside include guards
...
gcc has optimizations for include guards that only work
if they are outermost in the the header.
https://bugzilla.gnome.org/show_bug.cgi?id=689810
2012-12-28 09:57:56 -05:00
Matthias Clasen
aa60e02795
gdk: Remove an unused enumeration
...
We don't have any API using the GdkExtensionMode enumeration, so
no point in carrying it in the headers.
2012-03-04 20:05:42 -05:00
Matthias Clasen
7844f935b5
gdk: Add device types for touch-capable devices
...
We introduce GDK_SOURCE_TOUCHSCREEN and GDK_SOURCE_TOUCHPAD
for direct and indirect touch devices, respecively. These
correspond to XIDirectTouch and XIDependentTouch in XI2.
2012-03-01 16:19:57 -05:00
Javier Jardón
9d0febc9a6
Change FSF Address
2012-02-27 17:06:11 +00:00
Javier Jardón
7c688cb8a6
gdk: Use const instead G_CONST_RETURN
2011-06-10 13:07:54 +01:00
Benjamin Otte
c1f8330a28
gdk: Fix typo in documentation string
2011-02-08 08:58:49 +01:00
Benjamin Otte
42fbccd3d2
API: gdk: Remove gdk_device_set_source()
...
The source of a device is not changeable.
2010-12-27 20:08:50 +01:00
Benjamin Otte
9746991548
API: gdk: Make gdk_display_get_window_at_device_position() a device API
...
It's now called gdk_device_get_window_at_position(). It doesn't make
sense to keep device-specific API part of the display.
2010-12-27 18:46:41 +01:00
Benjamin Otte
0c285341a9
API: gdk: gdk_display_get_device_state() => gdk_device_get_position()
...
The API was not display-specific, but belonged to the device. Also, we
didn't find a user of the modifier mask, so we dropped it.
2010-12-27 18:46:41 +01:00
Matthias Clasen
92f163d40a
Consistently hide class structs
...
And, since we've decided to keep the structs private, there is
no point in having the standard GObject clas macros anymore either.
2010-12-24 15:54:12 -05:00
Matthias Clasen
b1aaa10b6a
Detangle includes for device subclasses
2010-12-21 12:07:10 -05:00
Benjamin Otte
66f7c3a562
API: gdk: gdk_display_warp_device() => gdk_device_warp()
...
warping devices has nothing to do with displays, so putting it there
seems weird.
2010-12-21 12:07:06 -05:00
Matthias Clasen
ff8a334725
Hide GdkDevice struct
...
Once its hidden, we can kill the GdkDevicePrivate struct too.
2010-12-21 12:06:58 -05:00
Carlos Garnacho
be7de347bf
xi2: Improve device hierarchy handling
...
The xi2 device manager now handles slaves being detached and/or
attached to a master.
gdk_device_list_slaves() has been added so it is possible to
know how slaves relate with masters. The other backends (X11 and not)
don't neeed to to anything special here since their hierarchy is
fully flat.
2010-12-15 03:17:59 +01:00
Michael Natterer
aaf8530177
gdk: remove GdkDeviceKey and GdkDeviceAxis from the public API
...
move GdkDeviceKey to gdkdevice.c because it's still used there, remove
GdkDeviceAxis entirely.
2010-11-24 20:28:19 +01:00
Michael Natterer
fb5dd9f72f
Move all GdkDevice members to private and add one missing accessor
2010-11-23 20:25:13 +01:00
Michael Natterer
a1134e5622
gdk: change signature of gdk_device_get_history() back to what it used to be
...
"n_events" went back from guint to gint.
2010-10-19 13:30:42 +02:00
Matthias Clasen
db21688908
Remove remaining single-include guards
2010-06-04 19:40:43 -04:00
Matthias Clasen
bd4609b140
Merge the xi2-for-master branch
2010-05-25 18:38:44 -04:00