Benjamin Otte
39b9acf56d
tests: Update testgestures example for pinch/pan gesture.
...
FIXME: This is a hack.
2012-03-14 19:32:55 +01:00
Benjamin Otte
4f2a7bb96d
API: Add a pinch/pan/rotate gesture
...
For lack of a better name, it's called GtkPinchPanGesture. Suggest a
better name and I'll change it.
2012-03-14 19:32:55 +01:00
Benjamin Otte
e89f76a944
eventtracker: Redo list implementation
...
Instead of using a GQueue, use an inline list.
This way, we can figure out the next/previous tracker from the current
tracker, which may come in useful later.
2012-03-14 19:32:55 +01:00
Benjamin Otte
20dd5c5b43
tests: Add a simple test for gestures
2012-03-14 19:32:55 +01:00
Benjamin Otte
61c1737cde
API: gtk: Add a swipe gesture
...
First event recognizer.
2012-03-14 19:32:55 +01:00
Benjamin Otte
2640918761
gtk: Add sequence trackers
...
Sequence trackers are a private object that hides the fact that some
event sequences are provided by mice, some by touchscreens and some by
touchpads. It just provides an API based on pixels.
2012-03-14 19:32:55 +01:00
Benjamin Otte
1b48a544e5
gtk: Invoke trackers and recognizers
...
Adds the basic plumbing necessary to ensure recognizers and trackers get
invoked.
2012-03-14 19:32:55 +01:00
Benjamin Otte
6a14c755c8
API: widget: Add API for adding recognizers
...
Apart from adding and removing them, nothing can be done with them.
2012-03-14 19:32:55 +01:00
Benjamin Otte
dd499e9829
docs: Add docs for event recognizers
2012-03-14 19:32:55 +01:00
Benjamin Otte
f08fb83b21
API: Add the basics of the event recognizer implementation
2012-03-14 19:32:55 +01:00
Benjamin Otte
d1975edb6a
API: gdk: Add GdkAxisUse entries for relative axes
...
Those are necessary for touchpads.
2012-03-14 19:32:55 +01:00
Benjamin Otte
a0ab7cc207
x11: Use the new event sequence to store axis values
...
This way, we can put the correct number into the event.touch.axes member
instead of random 0s when values didn't change.
Somebody should do the same thing for buttons.
2012-03-14 19:32:55 +01:00
Benjamin Otte
4da18923c5
gdk: Make event sequences real objects
...
So far this fact is hidden from the implementation. The usefulness of
this change will soon become apparent.
2012-03-14 19:32:54 +01:00
Benjamin Otte
d3cdf494d9
gdk: Move GdkEventSequence declaration
...
Put it in gdktypes.h - Makes a bunch of future features easier.
2012-03-14 19:32:54 +01:00
Benjamin Otte
82838a2056
API: gdk: Add gdk_device_get_axis_label()
2012-03-14 19:32:54 +01:00
Bastien Nocera
dd402bd7af
gtk: Prefer group-0 keycodes
...
As we don't give out information about the group or level when
giving back keycodes, we should prioritise group-0, level-0, followed by
level-0 only, and then any keycodes.
This fixes "q" being pressed when the Wacom tablet code in
gnome-settings-daemon is supposed to generate an "a" ("uk" keymap
in group-0, "fr" in group-1).
https://bugzilla.gnome.org/show_bug.cgi?id=671065
2012-03-13 18:28:49 +01:00
Alexander Larsson
e9f070db0f
win32: Fix up toolbar rendering on XP
...
It seems XP doesn't correctly set the alpha when rendering toolbar
buttons on an alpha target, we fix this up afterwards if necessary.
2012-03-13 17:10:44 +01:00
Alexander Larsson
94f1ed3031
win32: Fixup XP version of menu radio/checks
2012-03-13 17:10:11 +01:00
Alexander Larsson
a869ca51f4
Convert to unix line endings
2012-03-13 15:52:36 +01:00
Alexander Larsson
38d56c8e20
win32: Fix up notebook theming a bit
2012-03-13 15:50:32 +01:00
Alexander Larsson
95a903d020
win32: Use a separate css file for xp
...
Only vista and later has e.g. the menu theme parts
2012-03-13 15:14:36 +01:00
Alexander Larsson
68880e9a35
win32: Bump up padding on entry and button
2012-03-13 15:14:35 +01:00
Alexander Larsson
12fdf165ee
win32: Fix up notebook themeing
2012-03-13 15:14:35 +01:00
Javier Jardón
90e938bf15
Use gdk_event_triggers_context_menu() instead of checking for event->button == 3
2012-03-13 13:10:30 +00:00
Javier Jardón
45f660ef75
Use GDK symbolic names for button numbers
2012-03-13 13:10:30 +00:00
Antonio Fernandes C. Neto
35af127530
Updated Brazilian Portuguese translation
2012-03-13 09:15:13 -03:00
Yuri Myasoedov
bb11fc2a72
Updated Russian translation
2012-03-13 15:38:25 +04:00
Kenneth Nielsen
f7696fd401
Updated Danish translation of the properties
2012-03-13 09:23:06 +01:00
Matthias Clasen
de115c3fd3
Avoid infinite recursion when removing a grab
...
https://bugzilla.gnome.org/show_bug.cgi?id=671819
2012-03-12 22:01:18 -04:00
Yuri Myasoedov
232314d0fd
Updated Russian translation
2012-03-12 17:04:01 +04:00
Marek Kasik
abf1c57bd0
printing: Increase reference count for user data
...
Increase reference count for data passed to colord's callbacks (#671419 ).
2012-03-12 12:36:50 +01:00
Sweta Kothari
943c873364
Updated Gujarati Translations
2012-03-12 14:47:51 +05:30
Sweta Kothari
096b27982f
Updated Gujarati Translations
2012-03-12 14:34:32 +05:30
Matthias Clasen
8b7cfa448a
Add some docs for the wayland backend
...
This commit also includes some tweaks to the other backend-specific
docs.
2012-03-11 14:23:53 -04:00
Matthias Clasen
014c3d726f
Trivial rewording
2012-03-10 23:54:43 -05:00
Matthias Clasen
715fe2e426
Add a short Broadway section to the docs
2012-03-10 23:48:03 -05:00
Matthias Clasen
de62a1096b
Drop support for pre-R6 X
...
X11 R6 was released in 1995 - time to let go.
2012-03-10 23:27:21 -05:00
Matthias Clasen
f8fccae852
Drop unused automake condition for XI2
...
We fail the build if XI2 is not present, nowadays.
2012-03-10 23:15:12 -05:00
Matthias Clasen
82041de9b5
Drop unneeded XI2 defines
...
The X headers don't use these defines anywhere.
2012-03-10 23:13:19 -05:00
Мирослав Николић
39964b944a
Updated Serbian translation
2012-03-10 23:20:12 +01:00
Paolo Borelli
9ff75882c0
Explicitely mention -1 in the insert_with_values docs
...
-1 means "append". Spell it out like we do for ListStore docs.
2012-03-10 19:37:07 +01:00
Cosimo Cecchi
14e63a7370
scrolledwindow: take into account border/padding for junction
...
When the scrolled window has a frame (and the scrollbar is within the
bevel), we should take into account the CSS border/padding of the frame
and offset the scrollbars junction rendering with it.
2012-03-10 11:46:26 -05:00
Kalev Lember
526fc2fbdb
win32: Finish making query_state() vfunc a void vfunc
...
Commit 114b45c converted all the backends but missed a few details in
gdkdevice-win32. This fixes it up.
2012-03-10 13:40:42 +02:00
Kristjan SCHMIDT
d5822b7246
Updated Esperanto translation
2012-03-10 08:39:45 +01:00
Kristjan SCHMIDT
d36be1604b
Updated Esperanto translation
2012-03-09 23:01:36 +01:00
Benjamin Otte
02f9d51177
gdk: clean up logic error
...
Fallout from previous query_state() cleanups.
2012-03-09 12:36:11 -05:00
Bruce Cowan
baa9e47601
Updated British English translation
2012-03-09 15:59:23 +00:00
Alexander Larsson
10d8c0621f
win32: Fix text color on XP
...
Use a different base text color as the old one leads to
white on white on XP.
2012-03-09 16:43:00 +01:00
Alexander Larsson
f4a68dff88
Fix rendering of theme parts on Windows XP
...
It seems XP doesn't handle drawing non-alpha theme parts
on alpha destinations. We fix this by using alpha bitmaps only when
needed.
However this means any non-drawn area by the theme part is now draw
black, so we must take more care to only draw where the theme part draws,
so we find the theme part size when available.
2012-03-09 16:43:00 +01:00
Benjamin Otte
114b45c7eb
gdk: Make query_state() vfunc a void vfunc
...
... and make sure the backends implement it that way.
query_state() return value was ignored in all of GDK and caused crashes
when it failed.
2012-03-09 13:23:05 +01:00