forked from AuroraMiddleware/gtk
c77a8b9183
Sat Jan 19 00:32:14 2002 Owen Taylor <otaylor@redhat.com> * examples/*: Add an extrodinarily ugly example. * src/pixbuf-draw.c (draw_simple_image): Never shape the window, even if we are allowed to. Shaping is ugly -- if the widget isn't NO_WINDOW (most are), you'll just have to draw it rectangular. * src/pixbuf-render.c (pixbuf_render): Always use gdk_pixbuf_render_alpha() with FULL_ALPHA() as the type. * pixbuf.h src/pixbuf-render.c (theme_pixbuf_compute_hints): To speed up scaling, cache whether pixbufs have constant rows or constant columns. * src/pixbuf-render.c (pixbuf_render): Speed up scaling by using the hints from compute_hints(). |
||
---|---|---|
.. | ||
examples/bubble | ||
.cvsignore | ||
ChangeLog | ||
Makefile.am | ||
pixbuf-draw.c | ||
pixbuf-main.c | ||
pixbuf-rc-style.c | ||
pixbuf-rc-style.h | ||
pixbuf-render.c | ||
pixbuf-style.h | ||
pixbuf.h | ||
README |
The code in this directory is a GTK+ theme engine based on the earlier pixmap theme engine. The config files are meant to be compatible, but instead of rendering using Imlib, it renders using GdkPixbuf. This makes the memory management much more understandable, and also allows us to use GdkPixbuf's high quality scaling. Most of the code was reworked/rewritten in the process to make it more understandable and maintainable. There are lots of bugs here, a considersable number of bugs. But it's cleaned up a great deal from the older pixmap engine. Please don't make it uglier again. Owen Taylor <otaylor@redhat.com> 6 February 2000