18ac62d459
testgtk: Remove alpha drawing test
...
We use Cairo for that these days.
2010-08-07 15:35:50 +02:00
b50cdb4b5e
testgtk: Draw rotated text example with pangocairo
2010-08-07 15:35:50 +02:00
4150ffbbe2
tests: Remove gdk_draw_pixbuf() with Cairo equivalent
2010-08-07 15:35:50 +02:00
e75fad5fbd
testgtk: Replace gdk_draw_rectangle() with Cairo
2010-08-07 15:35:50 +02:00
0d42dabf6c
tests: Use gdk_screen_get_default_colormap()
...
We don't need the RGB colormap here.
2010-08-07 15:35:50 +02:00
141b2ceff2
tests: Use GdkPixbuf for taking a screenshot, not GdkImage
2010-08-07 15:35:50 +02:00
8dc19e4158
tests: Make testoffscreen use Cairo
2010-08-07 15:35:50 +02:00
8e537f94ac
test: Convert testinput to Cairo
...
The test is broken though as it draws onto windows outside of expose
events.
And we all know you shouldn't do that.
2010-08-07 15:35:50 +02:00
2b9b125a88
tests: replace gdk_draw_drawable() with Cairo calls in testinput
2010-08-07 15:35:50 +02:00
970ae51e38
demos: Use Cairo instead of gdk_draw_pixbuf()
2010-08-07 15:35:50 +02:00
0ba97c7aae
gtk-demo: Blit backing pixmap using Cairo
2010-08-07 15:35:50 +02:00
ddb905e99a
gtk-demo: Convert drawingarea example to Cairo
2010-08-07 15:35:50 +02:00
f69034a079
gtk-demo: Convert color selection example to Cairo
2010-08-07 15:35:50 +02:00
53cf3d2edc
cups: Fix cast warnings
2010-08-07 15:35:50 +02:00
88b7857bc8
pixbuf-engine: Draw mask with Cairo
...
No more gdk_pixbuf_render_threshold_alpha()
2010-08-07 15:35:50 +02:00
9e1ae0e29a
pixbuf-engine: replace call to gdk_draw_pixbuf() with Cairo equivalent
2010-08-07 15:35:50 +02:00
769c63c7ef
pixbuf-engine: Replace gdk_draw_pixbuf() with Cairo equivalent
...
This replaces the tiled fill call only.
2010-08-07 15:35:50 +02:00
3cbdc7ac89
imcontextxim: Draw with Cairo
2010-08-07 15:35:49 +02:00
e95f6da116
testing: Use Cairo calls instead of gdk_draw_line() to test server sync
2010-08-07 15:35:49 +02:00
d5ff6b6c66
treeview: Draw the dnd pixmaps with Cairo
2010-08-07 15:35:49 +02:00
2e1f12642b
treeview: Draw lines with Cairo
2010-08-07 15:35:49 +02:00
c1292fe01d
treeview: Unify all line drawing into the same function
...
This is useful because the dashing stuff needs to be done and it seems
like a good idea to unify it.
2010-08-07 15:35:49 +02:00
7ee63c07ee
treeview: Draw column reordering arrows with Cairo
2010-08-07 15:35:49 +02:00
09080e3c76
textview: draw dnd icon with Pango
2010-08-07 15:35:49 +02:00
bb3c91bfda
textview: Draw drag icons using Cairo
2010-08-07 15:35:49 +02:00
fe401cdbb4
ruler: Replace gdk_draw_drawable calls with Cairo
...
and get rid of the custom GC
2010-08-07 15:35:49 +02:00
6740d24bb8
menu: replace gdk_draw_drawable() call with Cairo equivalent
2010-08-07 15:35:49 +02:00
e570fe6730
label: Draw all text using PangoCairo
...
This includes the addition of a "small" helper function,
_gtk_pango_fill_layout() that ignores color information. This
functionality is not available inside Pango and until that happens, we
need this fix. The bug is filed at:
https://bugzilla.gnome.org/show_bug.cgi?id=624917
2010-08-07 15:35:49 +02:00
f36bb4d91d
gdk: Simplify deprecation guards in gdkdrawable.h
2010-08-07 15:35:49 +02:00
32c4f471d5
Add gdk_display_is_closed
...
https://bugzilla.gnome.org/show_bug.cgi?id=624224
2010-08-07 23:11:42 +12:00
28f51514f9
colorbutton: Render with Cairo
...
In particular, this gets rid of gdk_draw_pixbuf() and GdkGC usage.
2010-08-07 02:39:21 +02:00
92055d8d32
entry: replace gdk_draw_pixbuf() call with Cairo version
2010-08-07 02:39:21 +02:00
568865ab1b
Stop assuming that priv->label_widget will be a GtkLabel.
...
https://bugzilla.gnome.org/show_bug.cgi?id=623603
2010-08-05 10:35:45 +02:00
0a61e919e2
Add (transfer none) annotation to gtk_tree_selection_get_selected_rows()
...
Closes: bgo#625650
2010-08-05 00:55:56 +01:00
fa509fcc78
Add (inout) annotation to gtk_tree_model_iter_next()
...
Closes: bgo#625650
2010-08-05 00:54:44 +01:00
996fd9dc5e
Annotate GtkTextBuffer insert methods
2010-08-04 21:07:31 +02:00
b41972bd96
Change GtkCalendar's inner border and separator values from hard-coded
...
ones to using style properties.
https://bugzilla.gnome.org/show_bug.cgi?id=624779
2010-08-03 10:53:05 -05:00
3c7bb5b746
Fix 32-bit Windows build using mingw-w64 toolchain
2010-08-03 03:04:39 +02:00
23f7d3a0ea
Annotate gdk_rectangle_intersect
2010-07-28 16:53:14 +02:00
fd75ced492
Generate GdkX11-2.0.typelib (backported from HEAD)
...
https://bugzilla.gnome.org/show_bug.cgi?id=625491
2010-07-28 15:03:28 +02:00
01fea4032f
gdk: Revert making get_size optional
...
49a0ec6e95
added this hunk without
explanations and it's obviously wrong because failing to have a get_size
vfunc will now not set width and height and they'll end up with invalid
values.
In fact, the GdkDrawableImpl{X11,Win32,Quartz} functions do not have
get_size implemented, so the patch was most likely an attempt to work
around calling this function erroneously on the impl objects.
The correct fix is to call impl->wrapper instead.
2010-07-26 11:58:23 +02:00
e1c7ff8ee0
x11: Query size on real drawable
...
The X11 drawable does not have a clue about the real size of the
surface.
This might also be the cause for:
https://bugzilla.gnome.org/show_bug.cgi?id=599574
2010-07-26 11:58:23 +02:00
fafc457a01
cups: Fix cast warnings
2010-07-26 11:58:23 +02:00
7a68f42d2e
Do not return values from a function returning void
2010-07-26 11:58:23 +02:00
ec332bbd42
Moved the drawing of horizontal grid lines after cell drawing.
...
Without the change if the cell background is set the horizontal
grid line cannot be seen.
2010-07-25 14:54:18 +02:00
dc2fea413b
Add gdk_device_get_n_axes
...
https://bugzilla.gnome.org/show_bug.cgi?id=624221
2010-07-25 12:32:43 +12:00
6c25cf872f
Add gdk_cursor_get_cursor_type
...
https://bugzilla.gnome.org/show_bug.cgi?id=624087
2010-07-25 12:32:38 +12:00
05e2004eb6
Clarify what the @event is used for when calling gtk_drag_begin()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-07-23 11:51:23 -05:00
186f858d86
Correct emission of switch-page from the menu
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=624687
2010-07-23 13:52:23 +02:00
13dba0a461
Fix stuck pointer grab due to passing GDK_CURRENT_TIME to gtk_drag_begin()
...
If gtk_drag_begin() gets passed GDK_CURRENT_TIME, try to use
gtk_get_current_event_time(). If it fails, use GDK_CURRENT_TIME when
ungrabbing in gtk_drag_end().
For more see https://bugzilla.gnome.org/show_bug.cgi?id=623865
2010-07-22 16:22:26 -05:00