Benjamin Otte
4dd215f82d
tests: Remove GdkPixmap from test
...
It's not used anymore. (Was it ever?)
2010-09-26 15:11:30 +02:00
Benjamin Otte
b7f2f9a678
gtk: Remove special code for detecting pixmaps as event targets
2010-09-26 15:11:30 +02:00
Benjamin Otte
6607f2b794
API: Rename gdk_set_source_pixmap() to gdk_set_source_window()
...
That's what it's used for now.
2010-09-26 15:11:30 +02:00
Benjamin Otte
332652f702
API: Change offscreen windows to use a cairo_surface_t
...
This requires changes to all the offscreen surface getters that used to
return a GdkPixmap before.
2010-09-26 15:11:29 +02:00
Benjamin Otte
804fd4b15a
dnd: Replace last pixmap usage with cairo surfaces.
2010-09-26 15:11:11 +02:00
Benjamin Otte
b370cb0d4c
API: image: Remove ability to set image from a pixmap
2010-09-26 15:11:11 +02:00
Benjamin Otte
3ba78fed2a
API: Remove the ability to set the dnd icon from a pixmap
2010-09-26 15:11:11 +02:00
Benjamin Otte
ca8a835874
API: Remove gtk_widget_get_snapshot()
...
It will be replaced with gtk_widget_draw().
2010-09-26 15:11:11 +02:00
Benjamin Otte
8ac0e98f98
ruler: Make the backing store use a surface
2010-09-26 15:04:02 +02:00
Benjamin Otte
b186680a43
API: make gtk_icon_view_create_drag_icon() return a cairo_surface_t
...
GdkPixmap is going to die!
2010-09-26 15:04:02 +02:00
Benjamin Otte
db47dd6197
API: make gtk_tree_view_create_row_drag_icon() return a cairo_surface_t
...
GdkPixmap is going to die!
2010-09-26 15:04:02 +02:00
Benjamin Otte
f085bc67cd
treeview: Convert GtkTreeViewColumn rendering to Cairo
2010-09-26 15:03:01 +02:00
Benjamin Otte
b259dd9aba
iconview: Port to Cairo rendering
2010-09-26 15:03:01 +02:00
Benjamin Otte
e9dd3dc46a
cellview: Port to Cairo rendering
2010-09-26 15:03:01 +02:00
Benjamin Otte
42947e3cdc
API: Add gtk_cell_renderer_render_cairo()
...
It's like gtk_cell_renderer_render(), just cooler.
2010-09-26 15:03:01 +02:00
Benjamin Otte
e31e77eeb8
API: Change cellrenderer->render vfunc to take a cairo_t
...
Also constify the rectangle arguments. They were const anyway.
2010-09-26 15:03:01 +02:00
Benjamin Otte
4138e86ad4
testview: Convert _gtk_text_util_create_rich_drag_icon() to use surfaces
2010-09-26 15:03:01 +02:00
Benjamin Otte
331999d84d
textview: API: change gtk_text_layout_draw() to take a cairo_t
...
This simplifies the API a lot and allows more magic to happen later.
2010-09-26 15:03:01 +02:00
Benjamin Otte
ac48f2330d
API: Add gtk_cairo_draw_insertion_cursor()
...
For now just add it instead of replacing the current function. In the
end, this one should probably be renamed to
gtk_draw_insertion_cursor() and the current
gtk_draw_insertion_cursor() should die.
2010-09-26 15:03:00 +02:00
Benjamin Otte
3d340d7449
text: Make _gtk_text_util_create_drag_icon() return a surface
...
And change its callers to handle it that way.
2010-09-26 15:03:00 +02:00
Benjamin Otte
3dfb47bc3c
API: Add gtk_drag_set_icon_surface()
...
The function is supposed to replace gtk_drag_set_icon_pixmap().
2010-09-26 15:03:00 +02:00
Benjamin Otte
0d9d599b50
menu: set tearoff background using new background API
2010-09-26 15:03:00 +02:00
Benjamin Otte
134683c9be
Use gdk_window_set_background_pattern() to set parent-relative bakground
2010-09-26 15:03:00 +02:00
Benjamin Otte
20d1030823
iconview: No need to set background
2010-09-26 15:03:00 +02:00
Benjamin Otte
84c77c0be3
style: Rewrite background handling to use cairo_pattern_t
2010-09-26 15:03:00 +02:00
Benjamin Otte
603a840de9
trayicon: Use new gdk_window_set_background_pattern() API
2010-09-26 15:03:00 +02:00
Benjamin Otte
5e4aaba482
gtk: Remove calls that try to set GDK_NO_BG on their windows
...
These calls aren't necessary anymore.
2010-09-26 15:03:00 +02:00
Benjamin Otte
806a7239ae
widget: shape_combine_mask => shape_cobine_region
...
Replace gtk_widget_shape_combine_region() with
gtk_widget_shape_combine_mask() and
gtk_widget_input_shape_combine_region() with
gtk_widget_input_shape_combine_mask().
As GdkBitmap is going away, and the region equivalents already exist,
this seems like pretty much the default step to take.
Includes code to fix up the users.
2010-09-26 15:02:59 +02:00
Benjamin Otte
8b4d50dd1d
treeview: Port to gdk_window_shape_combine_region()
...
gdk_window_shape_combine_mask() is going away. It's using a GdkPixmap
and falls back to gdk_window_shape_combine_region() anyway.
2010-09-26 15:02:59 +02:00
Benjamin Otte
0178bff5c0
colorsel: Use gdk_cursor_new_from_pixbuf() to create the cursor
...
gdk_cursor_new_from_pixmap() is about to die.
2010-09-26 15:02:59 +02:00
Benjamin Otte
37a62e9367
window: Remove call to gdk_window_set_icon()
...
Also remove all the functions taking care of it. This is now handled by
the X11 backend directly. And the other backends ignored this function
anyway.
2010-09-26 15:02:59 +02:00
Benjamin Otte
be1d190b2e
style: Convert draw_spinner vfunc to Cairo version
2010-09-26 15:02:59 +02:00
Benjamin Otte
81f15cf908
style: Convert draw_resize_grip vfunc to Cairo version
...
Includes removal of now unused draw_simple_image_no_cairo() function
from pixbuf engine.
2010-09-26 15:02:59 +02:00
Benjamin Otte
d80e2897b9
style: Convert draw_layout vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
ff6e75adbc
style: Convert draw_expander vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
e5e228debf
style: Convert draw_handle vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
f0fd2e3a6e
style: Convert draw_slider vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
24304a2e93
style: Convert draw_focus vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
4d4871203e
style: Convert draw_extension vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
45a2656e32
style: Convert draw_box_gap vfunc to Cairo version
...
Includes removal of now unused draw_gap_image_no_cairo() function from
pixbuf theme engine.
2010-09-26 15:02:58 +02:00
Benjamin Otte
3f7b36d5cc
style: Convert draw_shadow_gap vfunc to a Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
e1544bcc7f
style: Convert draw_tab vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
f2dc8a26ed
style: Convert draw_option vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
fed19bcf50
style: Convert draw_check vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
bea727a142
style: Convert draw_flat_box vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
8c325f0d60
style: Convert draw_shadow vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
e59cbd5605
style: Convert draw_vline vfunc to a Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
abaecf4308
style: Convert draw_hline vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
07662f288d
API: change gtk_style_apply_default_background()
...
It now takes a cr to apply the default background to. And it no longer
takes a set_bg parameter
2010-09-26 15:02:57 +02:00
Benjamin Otte
eda14b2d47
notebook: Fix compilation warnings
...
A quark is not a pointer.
2010-09-26 15:02:00 +02:00