gtk2/demos/gtk-demo
Owen Taylor 3d737ee8ba Add GdkPangoRenderer, a subclass of PangoRenderer targeting GDK drawables.
Sat Nov 20 15:13:51 2004  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkpango.[ch]: Add GdkPangoRenderer, a subclass of
	PangoRenderer targeting GDK drawables. Use to implement the old
	gdk_draw_layout() and friends.

	* gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkwindow.c gdk/gdkpixmap.c:
	Add gdk_draw_glyphs_transformed() gdk_draw_trapezoids() and
	the corresponding members of GdkDrawableClass. Add a fallback
	implementation of gdk_draw_trapezoids() in terms of pixbufs.

	* gdk/gdkwindowing.h gdk/x11/gdkg-x11.h: Add
	_gdk_windowing_gc_get_foreground() to enable the fallback
	trapezoid implementation.

	* gdk/x11/gdkdrawable-x11.c gdk/x11/gdkdisplay-x11.h: Implement
	draw_glyph_transformed,	draw_trapezoids.

	* gdk/x11/gdkdrawable-x11.[ch]: Add
	_gdk_x11_drawable_draw_xtrapezoids, _gdk_x11_drawable_draw_xft_glyphs
	for use of GdkX11Renderer.

	* gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Implement
	GDK_TILED, GDK_STIPPLED, GDK_OPAQUE_STIPPLED in the RENDER codepath.

	* gdk/gdkpango-x11.c: Add GdkX11Renderer... a subclass of
	PangoXftRenderer that does tiles/stipples and fallback rendering
	of trapezoids without the RENDER extension.

	* gdk/gdkpango-x11.c gdk/x11/gdkscreen-x11.[ch] _gdk_x11_renderer_get:
	Add _gdk_x11_renderer_get() to get a singleton GdkX11Renderer
	for the screen.

	* gdk/x11/gdkdrawable-x11.c (get_impl_drawable): Fix a None/NULL
	confusion.

	* gtk/gtklabel.[ch] gtk/gtk.symbols: Add gtk_label_set/get_angle(),
	and an ::angle property.

	* gtk/gtklabel.c: Remove #if 0'd dead code gtk_label_paint_word().

	* gtk/gtktextdisplay.c: Switch to using a GtkTextRenderer subclass
	of GdkPangoRenderer for drawing.

	* gtk/gtktextlayout.[ch] gtk/gtktextdisplay.c: Switch to using
	gtk_attr_shape_new_with_data() to store backreferences to
	embedded pixmaps and widgets. Leave line_display->shaped_objects
	around for backwords compatibility.

	* gdk/gdkpango.[ch] (gdk_pango_context_set_colormap): Describe
	as deprecated, remove implementation.

	* gtk/gtkwidget.c (gtk_widget_create_pango_context): Remove
	call to gdk_pango_context_set_colormap.

	* demos/gtk-demo/Makefile.am demos/gtk-demo/rotated_text.c: Add
	a demo showing drawing rotated text.

	* tests/testgtk.c: Add a rotated-label test, and also a rotated
	drawing test (differs from demos/gtk-demo/rotated_text by also
	using a tile)
2004-11-21 16:24:01 +00:00
..
.cvsignore shut up cvs 2003-10-27 23:41:12 +00:00
alphatest.png fix some shell typos 2001-05-07 15:58:47 +00:00
apple-red.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
appwindow.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
background.jpg fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
button_box.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
changedisplay.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
clipboard.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
colorsel.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
demo-common.h Version 1.3.11 Require GLib-1.3.11, Pango-0.22, ATK-0.7. Restore to 2001-11-23 21:46:44 +00:00
dialog.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
drawingarea.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
editable_cells.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
entry_completion.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
expander.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
floppybuddy.gif fix some shell typos 2001-05-07 15:58:47 +00:00
geninclude.pl.in Call the do_ functions with the toplevel as argument. 2003-11-08 22:08:05 +00:00
gnome-applets.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
gnome-calendar.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
gnome-foot.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
gnome-fs-directory.png Add a simple file browser based on the icon view. 2004-07-04 20:35:35 +00:00
gnome-fs-regular.png Add a simple file browser based on the icon view. 2004-07-04 20:35:35 +00:00
gnome-gimp.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
gnome-gmush.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
gnome-gsame.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
gnu-keys.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
gtk-logo-rgb.gif Handle case where we need to parse the xsetting as if it were an RC file 2001-06-04 23:15:51 +00:00
hypertext.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
iconview.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
images.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
list_store.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
main.c Fix many sparse warnings. 2004-10-28 15:00:05 +00:00
Makefile.am Add GdkPangoRenderer, a subclass of PangoRenderer targeting GDK drawables. 2004-11-21 16:24:01 +00:00
makefile.msc.in make it compile and more similar to the X11 implementation [backward 2004-08-06 19:20:42 +00:00
menus.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
panes.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
pixbufs.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
rotated_text.c Add GdkPangoRenderer, a subclass of PangoRenderer targeting GDK drawables. 2004-11-21 16:24:01 +00:00
sizegroup.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
stock_browser.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
textview.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
tree_store.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00
ui_manager.c Don't include config.h in the examples. 2004-11-16 15:49:17 +00:00