Kristian Rietveld
23c9cee274
quartz: Fix up _gdk_quartz_window_translate
2010-08-10 21:02:29 +02:00
Benjamin Otte
6a48a042c7
API: remove GdkGC
...
XXX: Some traces in the win32 code are left. I suppose they'd best be
replaced using Cairo.
2010-08-10 21:02:29 +02:00
Benjamin Otte
61d4a019f8
API: remove gdk_draw_drawable()
2010-08-10 21:02:29 +02:00
Benjamin Otte
0cef9c2bbe
quartz: Do repeated fill with Cairo
...
Some things are so easy with Cairo...
XXX: I did not compile this, this is just proof of concept.
2010-08-10 21:02:28 +02:00
Benjamin Otte
65ac54bb23
gdk: Make window moves a custom vfunc
...
The window move code needs special attention for multiple reasons:
- invalid areas for expose events need to be modified
- self-copy is not supported by Cairo
- in X11, copying from an overlapped Window might cause unexposed areas
to be copied in, spo expose events for those need to be generated.
This was all special cased in various parts of the code. By making it an
explicit vfunc, we can work around it.
2010-08-10 21:02:28 +02:00
Benjamin Otte
600fbd3e74
API: remove gdk_draw_rectangle()
2010-08-10 21:02:28 +02:00
Benjamin Otte
9ee5176492
API: remove gdk_draw_point(s)
2010-08-10 21:02:27 +02:00
Benjamin Otte
a9e99e7f5b
API: remove gdk_draw_{line,lines,segments}
...
Those were the 3 intermixed line drawing calls.
2010-08-10 21:02:27 +02:00
Benjamin Otte
e85dfc7cc4
API: remove gdk_draw_polygon()
2010-08-10 21:02:27 +02:00
Benjamin Otte
559ae63f01
API: remove gdk_draw_arc()
2010-08-10 21:02:27 +02:00
Benjamin Otte
14fe04ec89
API: remove GdkImage
...
It was unused and buggy.
2010-08-10 21:02:26 +02:00
Benjamin Otte
6f5084551a
API: remove gdk_drawable_copy_to_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
b926ce719b
API: remove gdk_draw_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
4f8dbd4a8d
API: Remove gdk_draw_pixbuf()
2010-08-10 21:02:25 +02:00
William Jon McCann
0cfb94cdd4
[gdk] Add gdk_keymap_get_num_lock_state
...
https://bugzilla.gnome.org/show_bug.cgi?id=623239
2010-07-01 21:44:09 -04:00
Kristian Rietveld
be27fba3f3
Remove dummy for gdk_event_get_graphics_expose()
...
This was a deprecated function that has been removed.
2010-06-30 21:43:25 +02:00
Kristian Rietveld
1564d8922a
Fix typos in Cairo region conversion so that Quartz actually compiles
2010-06-30 11:10:29 +02:00
Kristian Rietveld
53fbf2a30a
Update Quartz DnD code to set device on DnD events
2010-06-30 10:56:44 +02:00
Kristian Rietveld
03a313d2a9
Implement gdk_drag_context_{get,set}_device in Quartz backend
2010-06-30 10:56:44 +02:00
Benjamin Otte
300e6b84cd
s/GdkRegion/cairo_region_t/ in all of gtk
...
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
3e96cfe8fc
Deprecate the GdkRegion API
...
Includes fixing all callers to use the cairo region API instead. This is
usually just replacing the function names, the only difference is
gdk_region_get_rectangles() being replaced by
cairo_region_num_rectangles() and cairo_region_get_rectangle() which
required a bit more work.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Christian Dywan
655dcff096
Remove deprecated GdkFont
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604196
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-06-28 23:38:03 +02:00
Javier Jardón
c1affa4f3c
Remove deprecated code from X interaction
2010-06-28 23:38:03 +02:00
Javier Jardón
c3987f9ee2
[GdkGC] Remove deprecated GdkFont from GdkGCValues structure
2010-06-28 23:38:03 +02:00
Kristian Rietveld
7f2e4c38a9
Move Leopard-specific type definitions to gdkquartz.h
...
Update includes subsequently where it matters. Fixes build on Mac OS
X 10.4.
(cherry picked from commit e634f3fbe0
)
2010-06-27 11:00:42 +02:00
Kristian Rietveld
64f11c366a
Refactor to use API that's available in OS X 10.4 as well
...
(cherry picked from commit 3770d914ec
)
2010-06-27 11:00:31 +02:00
John Ralls
98d47b57bf
Bug 622333 - Crash in gdk_window_impl_quartz_begin_paint_region
...
(cherry picked from commit 093a867e51
)
2010-06-27 11:00:20 +02:00
Kristian Rietveld
019ccc686d
Flip clip mask image when setting clip mask on GC
...
(cherry picked from commit 9f5f47f8be
)
2010-06-27 11:00:09 +02:00
Kristian Rietveld
88cae1769b
Rework color translation to support gray scale and bitmaps
...
(cherry picked from commit 49f72c1fb4
)
2010-06-27 10:59:46 +02:00
Kristian Rietveld
18b233fe2a
Add gray visual, implement "get_best" functions
...
(cherry picked from commit 42d07ad6ce
)
2010-06-27 10:59:11 +02:00
Matthias Clasen
8a590711da
Remove stray references to gtk-2.0
2010-06-26 21:40:55 -04:00
John Ralls
d722adb76a
[quartz] Delete the typedef of GdkDevicePrivate
...
It's in gdkdevice.h now.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622765
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-06-26 00:23:32 +02:00
Carlos Garnacho
6cde835acd
GdkDeviceManager: Add gdk_device_manager_get_client_pointer().
...
This function makes a better replacement for
gdk_display_get_core_pointer(), wherever it might yet be needed, for
XI2 resorts to XIGetClientPointer(), for the others return the only
core pointer.
https://bugzilla.gnome.org/show_bug.cgi?id=621685
2010-06-24 02:30:53 +02:00
Javier Jardón
3c8a54b2f7
Remove GdkWChar deprecated code
2010-06-20 00:22:26 +02:00
Javier Jardón
ca046f0cfb
Remove deprecated gdk_text_* and gdk_string_* functions
...
Remove gdk_string_extents(), gdk_text_extents(),
gdk_text_extents_wc(), gdk_string_width(), gdk_text_width(),
gdk_text_width_wc(), gdk_string_measure(), gdk_text_measure(),
gdk_string_height(), gdk_text_height()
2010-06-20 00:22:26 +02:00
Javier Jardón
4cf4470fcd
Remove deprecated GdkDrawable functions
...
Remove gdk_drawable_get_data(), gdk_drawable_set_data(),
gdk_drawable_ref(), gdk_drawable_unref(),
gdk_draw_string(), gdk_draw_text(), gdk_draw_text_wc()
2010-06-19 21:39:22 +02:00
Javier Jardón
71c501d895
Use a GPid on gdk_spawn_on_screen[_with_pipes] instead a gint
...
Reported by Nick Schermer in bug
https://bugzilla.gnome.org/show_bug.cgi?id=602289
2010-06-10 03:52:35 +02:00
Javier Jardón
2ace397eb5
Remove deprecatedd code from GdkColor
...
https://bugzilla.gnome.org/show_bug.cgi?id=619649
2010-06-07 00:35:40 +02:00
Colin Walters
95bc0f5405
Use g_source_set_name for all custom GSources in GTK+
...
Naming the sources allows easier debugging with e.g. SystemTap
probes.
https://bugzilla.gnome.org/show_bug.cgi?id=620511
2010-06-03 21:49:22 -04:00
Javier Jardón
019563c322
Remove gdk_*et_use_xshm() deprecated functions
2010-05-26 05:18:05 +02:00
Matthias Clasen
bd4609b140
Merge the xi2-for-master branch
2010-05-25 18:38:44 -04:00
Matthias Clasen
50a72eda2d
Seal gdk
...
Add G_SEAL annotation for struct members, and add accessors for
the (useful) fields. Patch based on work by Garrett Regier,
see bug #592580 .
2010-05-25 12:01:04 -04:00
Javier Jardón
618d15e991
Remove deprecated gdk_window_get_toplevels() function
2010-05-14 18:18:10 +02:00
Paul Davis
aea9f1b6cf
Remove arbitrary limit on number of redraw rectangles
...
The aim of this limit was to not degrade performance too much, however,
it actually did degrade performance to a large extent.
2010-05-12 12:11:40 +02:00
Javier Jardón
2b64a7fd54
Remove some deprecated stuff from GdkWindow
...
Also, substitute the deprecated functions with the correct ones
2010-05-12 04:29:55 +02:00
Javier Jardón
8424256a39
[gdk] Remove gdki18n.h completely
2010-05-03 01:51:21 +02:00
Javier Jardón
906a510007
Remove deprecated code from GdkImage
2010-05-03 01:48:45 +02:00
Javier Jardón
7894951cee
Remove deprecated code from GdkEvent
2010-05-03 01:48:45 +02:00
Javier Jardón
8c46ef830b
Remove deprecated code from GdkDnd
2010-05-03 01:45:00 +02:00
Matthias Clasen
13d69e552d
Fix a compatibility problem
...
It turns out that my attempt at handling Super, Hyper and Meta better
is causing problems, mostly because Alt and Meta are commonly colocated
in the modmap, and apps do a check for the Alt modifier regularly.
See e.g bug 607697.
2010-02-12 18:55:42 -05:00