[Bf-committers] Properties header to new RNA-based layout

Bastien Montagne montagne29 at wanadoo.fr
Wed Jun 19 17:57:44 CEST 2013


Hi devs,

Here is another patch (http://www.pasteall.org/43304/diff), this time 
tackling the "context" buttons in Properties header, which are still 
using "ugly" old UI code.

It removes buttons_header.c file, adds a (small) space_properties.py 
one, with a PROPERTIES_HT_header class, which simply uses the RNA enum 
to draw the context buttons. It also fixes that enum, btw, it always 
featured all contexts, which means you could (try to!) set through RNA 
invalid contexts...

As usual, other devs' review and comments are much welcomed!

Best regards,
Bastien


More information about the Bf-committers mailing list