[Bf-committers] Hello and a patch for your consideration

Ton Roosendaal bf-committers@blender.org
Thu, 8 Apr 2004 17:19:08 +0200


This is being handled on irc. Won't result in commit (yet).


On Wednesday, Apr 7, 2004, at 02:03 Europe/Amsterdam,  
jeremy@marzhillstudios.com wrote:

> Hello,
> My name is Jeremy Wall. Some of you may know me from IRC as Zaphar_ps.  
> I have been tinkering with the blender source code and finally got  
> around to doing something productive in it. :-)
> I noticed while poking around header_oops.c that the code to set the  
> direction that menu's rolled out was the exact same code for all the  
> menu's. I thought it might be useful to abstract that out into a  
> single function. and reduce the number of lines you have to type when  
> adding a menu to the header. I am attaching my patch to this email.  
> All in all I added a new function to interface.c  
> calleduiBlockAutoDirectionSet which automatically decides whether the  
> menu should go up or down. and changed the header_oops.c to use that  
> function. Let me know if you like the idea or not. I tested it on my  
> machine and had some friends test also.
> Jeremy Wall aka Zaphar_ps
> The following section of this message contains a file attachment
> prepared for transmission using the Internet MIME message format.
> If you are using Pegasus Mail, or any other MIME-compliant system,
> you should be able to save it or view it from within your mailer.
> If you cannot, please ask your system administrator for assistance.
>    ---- File information -----------
>      File:  patch.txt
>      Date:  6 Apr 2004, 18:53
>      Size:  21338 bytes.
>      Type:  Text
> <patch.txt>
Ton Roosendaal  Blender Foundation ton@blender.org