Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2013-06-26 11:28:55 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2013-06-26 11:28:55 +0400
commit063be8fdc03e2fed9d2bec4fc80db6b55fec42c1 (patch)
treefb830bcb53fd5a6575c66d9b598038de98dbbd98 /source/blender/collada/AnimationExporter.cpp
parentc0c9f5386bac539e3824a5a97bd2243484598594 (diff)
Fix [#35750] list items in properties editor (text colors not following list item theme).
Issue goes back since we stopped using LISTROW button to draw item's name (i.e. since we have custom buttons in list items!). This commit: * Adds a new flag to uiBlock, UI_BLOCK_LIST_ITEM, to mark blocks used for each list item. * Adds a new button type, LISTLABEL, which basically behaves exactly as LABEL, but uses wcol_list_item color set. * When uiItemL is called, it checks whether current block has UI_BLOCK_LIST_ITEM set, and if so, switch produced button to LISTLABEL type. * Adds a new helper func, ui_layout_list_set_labels_active, called after the active list item has been "drawn", to set all LISTLABEL buttons as UI_SELECT. Note custom widget_state_label() was removed, in interface_widgets.c, as it did nothing more than default widget_state(). Thanks to Brecht for the review and advices.
Diffstat (limited to 'source/blender/collada/AnimationExporter.cpp')
0 files changed, 0 insertions, 0 deletions