[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

W32 image patch (was Re: XPM via Lisp in the toolbar)

From: Jason Rumney
Subject: W32 image patch (was Re: XPM via Lisp in the toolbar)
Date: 15 Nov 2002 17:47:47 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Below is a patch to improve image support on MS-Windows. Hopefully it
is enough to make images with masks work in the toolbar. I currently
am unable to check this in, so if someone else with write access to
CVS and access to MS-Windows to ensure the patch applies cleanly,
compiles and works can check this in, it would be greatly appreciated.

If this patch works as well for others as it does for me, then I'll
take back what I said last week about needing to disable image
support on Windows if we start pretesting from HEAD in the near

2002-11-15  Jason Rumney  <address@hidden>

        * w32term.c (x_draw_image_foreground, x_draw_image_glyph_string)
        (w32_draw_image_foreground_1): Handle image masks.
        (x_draw_image_glyph_string): Don't BitBlt transparently.

        * w32fns.c (w32_defined_color): Adjust RGB values for Emacs.
        (x_from_xcolors): Adjust RGB values for W32.
        (image_background, image_background_transparent)
        (postprocess_image, x_to_xcolors, x_disable_image)
        (x_build_heuristic_mask): Adapt for W32 and enable.
        (x_create_x_image_and_pixmap): Mark images with palettes as such.
        (xbm_load): Remove unused variable.

Attachment: w32img.patch
Description: W32 image patch

reply via email to

[Prev in Thread] Current Thread [Next in Thread]