[Soc-2013-dev] Weekly Report #12: Toolbar

Vincent Akkermans vincent at ack-err.net
Fri Sep 6 19:13:32 CEST 2013


= Week 12 = 

== This Week ==

* Tweaked the layout of the toolbar panels, added a compact representation for brush and texture previews
* The operator redo panel is in its old place again. The operator redo panel stays open when the toolbar is hidden, but this only works when region overlap is turned on in the user preferences. It also automatically resizes when its content changes.
* Removed the text menus from the top bar, which now contains only the icon shelf
* Dragging an operator button from a menu now immediately closes the menu and starts the drag
* Changed the drag & drop system so that overlapping regions are preferred (used to be by order of the regions list)
* Implemented a menu in the toolbar header that allows individual panels to be hidden.
* Started to implement operator to icon pairing: wmOperatorType has an extra icon() method that is used to determine which icon to use based on the operator properties set for a button. wmOperatorType also has a default_icon field, exposed to python as bl_icon, that is used if the icon() function is not set. For this to work uiBut has to have a but->icon value of ICON_AUTOMATIC, which is -1.

* When an operator button is dragged the but->opptr of the dragged button is copied over to the newly created custom button.
* Buttons in the icon shelf are now icon-only. The region and buttons are 1.5 * the normal button size. Adding and removing buttons take into account the operator properties.

== Next Week ==

* Implement a way to organise the buttons in the icon shelf, including dividers 
* Finish the system for operator icons so that they can be loaded from a separate icon file
* Polishing

== Questions ==

None currently

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/soc-2013-dev/attachments/20130906/db9c9f48/attachment.htm 


More information about the Soc-2013-dev mailing list