[Bf-taskforce25] RNA groups proposal, implementation stage 2

Vekoon vekoon at gmail.com
Tue Jan 13 02:41:38 CET 2009


An update on the status of the implementation...after almost a week, 
well better than never (or maybe not).
Anyway as of now I implemented automatic contextual buttons and some 
other minimal stuff but the important thing is that the system for 
handling groups is completed and fully functional (and very fast too).
A video demo (still converting at the moment of writing): 
http://www.vimeo.com/2809120
Stage 2 details: 
http://sites.google.com/site/vekoon/rna-groups/status/stage2

Don't kill me for the UI, it's temporary and it's there just to "show" 
something. Groups UI also is there as demo but is fully replaceable 
(even with the old panels if wanted, although they would not make a lot 
of sense) and it's just an icon button + label, no custom drawing of 
course. Please don't think that I'm "pushing" for UI implementation or 
anything like that, I know it's something that will be taken care of 
later on, is just to show the underlining system and that groups can 
really be helpful for a possibly more automated UI. Note that as of now 
groups are not used for UI automation (of course); all of the properties 
are just brutally drawn using a function I ripped from the outliner. 
Also note I've already thought of a way to integrate into the system the 
possibility to have a custom draw/order function to tweak or make more 
sense of UIs that cannot possibly be automated by the system itself and 
such feature is easily integrable.


Vekoon wrote, on 07/01/2009 4.45:
> Hi, some time ago I had this idea which I already proposed to brecht 
> in IRC and I decided to post it here too after reading campbell's 
> e-mail about using structs for UI grouping. A couple of days ago I 
> started implementing my idea.
> Here's a demonstration of the current status: 
> http://www.vimeo.com/2725856
> In the video description you can find a link for more details. Also 
> remember to download the source video if possible as vimeo's 
> compression made it unreadable (it's only 15MB).
> Also I know it looks scary all those lines for defining the groups but 
> the process is really automatic as it is just copy/paste and changing 
> 2 strings (I exported all rna_object.c's groups in like less than 10 
> minutes).
>


More information about the Bf-taskforce25 mailing list