Blender Git Loki

Blender Git "temp-ui-widget-refactor" branch commits.

Page: 2 / 3

July 18, 2015, 07:59 (GMT)
Remove redundant draw call
July 18, 2015, 07:56 (GMT)
Fix uninitialized usage of uiWidgetDrawBase
July 17, 2015, 00:48 (GMT)
New widget types for drawing scrollbars using widget pipeline

Had to add UI_WTYPE_SCROLL_BACK and UI_WTYPE_SCROLL_INNER since they need different rectangles, drawing and states. Also renamed UI_WTYPE_SCROLL to UI_WTYPE_LISTSCROLL as it's only used for lists.
July 16, 2015, 22:50 (GMT)
Cleanup: Naming, comments, redundant defines, ...
July 16, 2015, 21:22 (GMT)
Cleanup: Move widget_type function to widgets.c and widget type enum to widget.h

And suddenly, things are soooo much nicer ;)
July 16, 2015, 19:55 (GMT)
Merge branch 'master' into temp-ui-widget-refactor
July 16, 2015, 19:44 (GMT)
New widget type for preview menu items

Also to avoid special draw calls.

Note: This adds iconid and str args to uiWidgetDrawType->text callback, which is currently only needed for preview menu items (could also be done differently), but in future this might be handy to get rid of uiBut usage on this level.
July 16, 2015, 17:50 (GMT)
Avoid special drawing calls for labels within menus by adding a widget type for them
July 16, 2015, 17:09 (GMT)
Aaaand finally: Use new pipeline for text drawing as well
July 16, 2015, 01:43 (GMT)
Time to use new pipeline for widget states

Still don't really like having this on low draw level, think a better solution would be to handle this via flags and update widgets based on these flags before drawing, but old logic is pretty confusing and spaghettiish here, so would prefer to rework states from scratch at some point.
July 15, 2015, 23:20 (GMT)
Merge branch 'master' into temp-ui-widget-refactor
July 14, 2015, 19:09 (GMT)
Merge branch 'master' into temp-ui-widget-refactor
July 14, 2015, 19:06 (GMT)
Fix weirdly appearing and disappearing compile error
July 14, 2015, 00:11 (GMT)
Merge branch 'master' into temp-ui-widget-refactor
July 14, 2015, 00:07 (GMT)
Get rid of uiWidgetType drawing callbacks (which are now used on a lower level)
July 13, 2015, 23:49 (GMT)
Let's not use default callbacks for uiWidgetType->draw
July 13, 2015, 21:45 (GMT)
Fix drawing glitch with menu items
July 13, 2015, 21:31 (GMT)
Use new pipeline for link line drawing as well
July 10, 2015, 01:31 (GMT)
Porting second half of widgets to new drawing pipeline
July 9, 2015, 23:10 (GMT)
Merge branch 'master' into temp-ui-widget-refactor
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021