Benjamin Otte
4729460a4f
gtk-demo: Adapt textview example for stipple removal
2010-08-10 21:02:28 +02:00
Benjamin Otte
3fc31e88b0
gdk: Remove _gdk_drawable_get_scratch_gc()
...
The function is unused now.
2010-08-10 21:02:28 +02:00
Benjamin Otte
db5fc43759
gdk: Draw redirected windows using Cairo
2010-08-10 21:02:28 +02:00
Benjamin Otte
56e7abb8a4
gdk: Refactor redirection code
...
This will make future patches easier
2010-08-10 21:02:28 +02:00
Benjamin Otte
755bd51757
gdk: Simplify code
...
Use new Cairo APIs to make the code simpler.
2010-08-10 21:02:28 +02:00
Benjamin Otte
a6fcc75774
gdk: Remove excess variables
2010-08-10 21:02:28 +02:00
Benjamin Otte
3df6726656
gdk: Do end_implicit_paint copy with Cairo
2010-08-10 21:02:28 +02:00
Benjamin Otte
f1620b5ce1
gdk: Implement gdk_window_get_source_drawable() using Cairo
...
Do we have a test case for this?
2010-08-10 21:02:28 +02:00
Benjamin Otte
46206f8bb8
gdk: Implement end_implicit_paint() with Cairo
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
66048b2f92
style: Replace last gdk_draw_rectangle() with Cairo
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
c661eb73a1
testgtk: Remove image from drawable test
...
The test only tested old APIs.
2010-08-10 21:02:27 +02:00
Benjamin Otte
a3057d0150
style: replace draw_frame_gap with Cairo calls
2010-08-10 21:02:27 +02:00
Benjamin Otte
5eb76955fd
style: Replace draw_diamond vfunc with Cairo calls
2010-08-10 21:02:27 +02:00
Benjamin Otte
8f21b09eee
tests: remove "draw drawable" button from testwindows test
...
draw_drawable is gone soon. And testing the proper functioning of
drawing calls is Cairo's job anyway.
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
d2b1da4e84
API: remove gtk_paint_polygon()
...
Almost noone uses it in real applications and it's broken in most theme
engines.
2010-08-10 21:02:27 +02:00
Benjamin Otte
53b9bdc3fc
iconview: Remove debug drawing code
...
It uses APIs I'm about to deprecate.
2010-08-10 21:02:27 +02:00
Benjamin Otte
1c4ce45a42
style: apply cleanup patch from bug 576988
...
Ideally this patch would be split up into chunks, but the git branch it
came from doesn't exist anymore. Only this patch is left in a bug
report.
It it's adapted to use accessors and contains some fixes that were
spotted while using the patch.
https://bugzilla.gnome.org/show_bug.cgi?id=576988
2010-08-10 21:02:27 +02:00
Benjamin Otte
89d28eb09d
API: remove gdk_draw_glyphs() and gdk_draw_glyphs_transformed()
2010-08-10 21:02:27 +02:00
Benjamin Otte
92f4882497
API: remove gdk_draw_trapezoids() and GdkTrapezoid struct
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
9b713fa4fd
gdk: Remove testgdk code
...
The file wasn't build anyway and it's using all the APIs that are
getting removed.
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
2a72ffd4de
API: remove gdk_drawable_get_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
a1a1b135ac
API: remove gdk_pixbuf_get_from_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
7489c260eb
colorsel: Use gdk_pixbuf_get_from_drawable()
...
Instead of fiddling with GdkImage directly.
2010-08-10 21:02:26 +02:00
Benjamin Otte
84015d4d3f
Implement gdk_pixbuf_get_from_drawable() with Cairo
...
Use gdk_pixbuf_get_from_surface() instead of
gdk_pixbuf_get_from_image().
2010-08-10 21:02:26 +02:00
Benjamin Otte
39b47eaf25
API: Add gdk_pixbuf_get_from_surface()
...
New API to copy any cairo surface into a pixbuf.
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
d18abf42b7
API: Get rid of GdkRGB
2010-08-10 21:02:26 +02:00
Benjamin Otte
17b8bee168
demos: Convert testpixbuf-save to Cairo
2010-08-10 21:02:26 +02:00
Benjamin Otte
46794cc65c
demos: Remove testpixbuf
...
Another test mainly utilizing inline pixbufs and GdkRGB, both of which
are kinda outdated.
2010-08-10 21:02:26 +02:00
Benjamin Otte
638e415a6d
demos: remove testpixbuf-drawable
...
It only tested GdkRGB, and we're about to kill that.
2010-08-10 21:02:26 +02:00
Benjamin Otte
a513bdf3f7
testgtk: Remove alpha drawing test
...
We use Cairo for that these days.
2010-08-10 21:02:26 +02:00
Benjamin Otte
8f19db7565
Replace gdk_rgb_find_color()
...
Use gdk_colormap_alloc_color() instead.
2010-08-10 21:02:26 +02:00
Benjamin Otte
548ebc29e5
debug: remove GdkRGB debuggability
...
GdkRGB is on its way out, so there's no need to have a debugging
category for it.
2010-08-10 21:02:26 +02:00
Benjamin Otte
119d48c89b
gdk: Remove unused gdkrgb.h includes
2010-08-10 21:02:26 +02:00
Benjamin Otte
d54c2cfeee
API: remove gdk_screen_get_rgb_colormap/visual()
...
People want to use gdk_screen_get_default_colormap/visual().
Also, GdkRGB is about to die.
2010-08-10 21:02:26 +02:00
Benjamin Otte
32c95ebe27
tests: remove testrgb test
...
This is in preparation for the GdkRGB removal
2010-08-10 21:02:25 +02:00
Benjamin Otte
24a867f8da
image: remove GdkImage as a possible image type
...
GdkImage is about to be deprecated.
2010-08-10 21:02:25 +02:00
Benjamin Otte
4f8dbd4a8d
API: Remove gdk_draw_pixbuf()
2010-08-10 21:02:25 +02:00
Kristian Rietveld
11ee2abacc
Add missing cairo_destroy() call
2010-08-10 21:02:25 +02:00
Benjamin Otte
a66e4ebe1a
docs: Add sgml goo for new notebook APIs
2010-08-10 21:02:25 +02:00
Benjamin Otte
472b9d6f66
docs: Add sgml goo for new GtkExpander APIs
2010-08-10 21:02:25 +02:00
Benjamin Otte
1481ab6626
docs: Add sgml goo for gdk_display_is_closed()
2010-08-10 21:02:25 +02:00
Benjamin Otte
50266ca95d
filechooser: Remove unused functions.
...
The last user is gone since 3a1ba3bd1e
2010-08-10 21:02:25 +02:00