「利用者:Ack-err/GSoC 2013/Weekly Reports/Week 12」の版間の差分

提供: wiki
移動先: 案内検索
(Created page with " = 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 p...")
 
(1版 をインポートしました)
 
(相違点なし)

2018年6月29日 (金) 05:57時点における最新版

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