Blender Git Commit Log

Git Commits -> Revision 904129f

Revision 904129f by Bastien Montagne (master)
November 21, 2013, 15:51 (GMT)
Squashed commit of the following:

commit b8b7180760b7c57f15b9930c29207febcf5fefb3
Author: Bastien Montagne <montagne29@wanadoo.fr>
Date: Thu Nov 21 16:31:16 2013 +0100

Code cleanup: replace "LISTLABEL" button type by an "UI_BUT_LIST_ITEM" button flag.

Summary:
Rationals:
I) I was never that happy to have a full button type just to set custom colors to labels inside listitems!
II) If we use (as planned) TEX buttons instead of labels to allow listitems click-rename, I'd like to be able to use listitems' theme color here as well, much easier witha flag than adding yet another button type!

Note: related to D8

Reviewers: brecht

Differential Revision: https://developer.blender.org/D25

Commit Details:

Full Hash: 904129fd9b11988c5915d940773552d2110f23ab
Parent Commit: 254aa8f
Lines Changed: +27, -27

5 Modified Paths:

/source/blender/editors/include/UI_interface.h (+4, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+5, -6) (Diff)
/source/blender/editors/interface/interface_intern.h (+0, -1) (Diff)
/source/blender/editors/interface/interface_layout.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_widgets.c (+16, -17) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021