bug-gnustep
[Top][All Lists]
Advanced

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

[PATCH] Various cell cleanups/remove unneeded images.


From: Michael Hanni
Subject: [PATCH] Various cell cleanups/remove unneeded images.
Date: Sat, 26 Jul 2003 00:17:01 -0700 (PDT)

Hi,

This is pretty straight forward, I hope. The menu item cell does not need a
special highlight version of its image, according to what I could see in OS 4.2
screenshots.

(Does the -xlib backend handle alpha?)

2003-07-26  Michael Hanni <mhanni@yahoo.com>

        * Source/NSBrowserCell.m (drawInteriorWithFrame:inView:): Remove
        unnecessary code to set the background of an image.
        * Source/NSButtonCell.m: ditto.
        * Source/NSMenuItemCell.m: remove usage of system image
        "common_3DArrowRightH" as it is unneeded.
        (drawImageWithFrame:inView:): remove unnecessary code to set the
        background of an image.
        (drawKeyEquivalentWithFrame:inView:): ditto.
        (drawStateImageWithFrame:inView:): ditto.
        * Source/NSScroller.m: remove usage of system images
        (common_ArrowUpH, common_ArrowDownH, common_ArrowLeftH,
        common_ArrowRightH) as they are unnecessary.
        (drawParts): reset HighlightsBy: code for all the cells, remove
        all the alternate images.
        * Source/NSTableHeaderCell.m (drawInteriorWithFrame:inView:):
        remove unnecessary call to set the background of an image.
        * Images/(common_ArrowUpH, common_ArrowDownH, common_ArrowLeftH,
        common_ArrowRightH).tiff: removed.

Attachment: multiple.patch
Description: multiple.patch


reply via email to

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