Commit Graph

10 Commits

Author SHA1 Message Date
Matthias Clasen
cd1c63583c Move G_GNUC_INTERNAL before function declarations. (#352276, Damien
2006-12-22  Matthias Clasen  <mclasen@redhat.com>

        * modules/engines/pixbuf/pixbuf.h:
        * modules/engines/pixbuf/pixbuf-rc-style.h:
        * modules/engines/pixbuf/pixbuf-style.h: Move
        G_GNUC_INTERNAL before function declarations.  (#352276,
        Damien Carbery)
2006-12-23 03:35:21 +00:00
Matthias Clasen
8cb0674b6b Clean up exported symbols 2006-03-11 02:13:11 +00:00
Matthias Clasen
2ff662e7e2 Apply a patch by Alexander Nedotsukov to support customized drawing of
2006-01-16  Matthias Clasen  <mclasen@redhat.com>

	* pixbuf-draw.c:
	* pixbuf-rc-style.c:
	* pixbuf.h: Apply a patch by Alexander Nedotsukov to
	support customized drawing of expanders and resize
	grips. (#325289).
2006-01-16 19:53:10 +00:00
Owen Taylor
1ffde0469e Add a fake STEPPER function that is used for drawing scrollbar steppers,
Sun Apr 21 14:10:04 2002  Owen Taylor  <otaylor@redhat.com>

        * pixbuf-rc-style.c pixbuf.h pixbuf-draw.c: Add a fake STEPPER
        function that is used for drawing scrollbar steppers,
        so that themes that want to draw the button and arrow
        separately can override the default handling.

        * pixbuf-draw.c: Remove draw_polygon() since it was
        just a cut-and-paste of the default one. Remove
        some unused code.
2002-04-21 19:00:52 +00:00
Owen Taylor
6090d199a5 Optimize the case where a component is entirely transparent by skipping
Sun Jan 27 23:58:13 2002  Owen Taylor  <otaylor@redhat.com>

        * pixbuf-render.c (compute_hint): Optimize the case
        where a component is entirely transparent by skipping
        drawing it.

        * pixbuf-rc-style.c (theme_parse_image): Catch case
        where background or overlay border/stretch are specified
        without a background image.

        * pixbuf-render.c (theme_pixbuf_destroy): Actually free
        the structure and filename.
2002-01-28 05:34:17 +00:00
Owen Taylor
c77a8b9183 Add an extrodinarily ugly example.
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().
2002-01-19 05:39:43 +00:00
Owen Taylor
d8c421f35d Fix trailing comma on enumeration. (#54071)
Thu May  3 05:36:06 2001  Owen Taylor  <otaylor@redhat.com>

        * pixbuf.h: Fix trailing comma on enumeration. (#54071)
2001-05-03 09:38:45 +00:00
Owen Taylor
2aa67df2e1 Updates to work with GTK+-2.0 theme engine architecture. It won't even
Tue Jul 18 12:13:19 2000  Owen Taylor  <otaylor@redhat.com>

        Updates to work with GTK+-2.0 theme engine architecture.
	It won't even sort of work with GTK+-1.2 any more.

	* configure.in src/Makefile.am: Look for GTK+-2.0,
	install engine into GTK+-2.0 location.

	* src/pixbuf-style.h src/pixbuf-rc-style.[ch]: New
	files for GtkRcStyle and GtkStyle subclasses. Parsing,
	etc, moves to pixbuf-rc-style.[ch]

	* src/pixbuf-draw.c: Chain up to parent implementation
	when images aren't found for a certain element.
2000-07-18 16:21:33 +00:00
Owen Taylor
b8c691e6b2 Handle drawing transparency without a mask correctly.
Mon Mar  6 11:02:07 2000  Owen Taylor  <otaylor@redhat.com>

	* pixmap_theme_pixbuf.c: Handle drawing transparency without a
	mask correctly.

	* pixmap_theme_main.c pixmap_theme_draw.c: Remove duplicate
	includes.
2000-03-06 16:12:22 +00:00
Owen Taylor
1ac1bfb995 Initial revision 2000-02-07 02:36:39 +00:00