bug-gnustep
[Top][All Lists]
Advanced

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

NSMenu* drawing efficency patch (try 1)


From: Michael Hanni
Subject: NSMenu* drawing efficency patch (try 1)
Date: Sun, 10 Feb 2002 21:56:08 -0800 (PST)

Howdy,

This small patch makes NSMenu* much more snappy on my PowerBook 3400c.  It
fixes a FIXME that has existed in the code for awhile and also saves the two
most used drawing selectors in the menu code.

ChangeLog:

2002-02-10  Michael Hanni <mhanni@sprintmail.com>

        * Source/NSMenuItemCell.m: cache drawTitle and drawKeyEquivalent  
        selectors as they were used most often in the menu code.
        * Source/NSMenuView.m ([-drawRect:]): make this more efficent,    
        only redraw cells that we clip.

Cheers!

Michael

=====


__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

Attachment: NSMenu-speedup-try1.patch
Description: NSMenu-speedup-try1.patch


reply via email to

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