From 3fc178b19e4c11ac384731c4088b2bd3fa809794 Mon Sep 17 00:00:00 2001 From: Nathan Craddock Date: Thu, 26 Nov 2020 14:19:05 -0700 Subject: Outliner: Highlight icons on cursor hover The icons for collapsed children already draw highlighted when hovered. Because the item icons are now select targets (for outliner to properties editor tab switching) this adds highlights on hover for all outliner element icons. --- source/blender/makesdna/DNA_outliner_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_outliner_types.h b/source/blender/makesdna/DNA_outliner_types.h index cc376c0cebf..d561b489ae4 100644 --- a/source/blender/makesdna/DNA_outliner_types.h +++ b/source/blender/makesdna/DNA_outliner_types.h @@ -66,7 +66,9 @@ enum { /* Needed because outliner-only elements can be active */ TSE_ACTIVE = (1 << 9), /* TSE_ACTIVE_WALK = (1 << 10), */ /* Unused */ + TSE_HIGHLIGHTED_ICON = (1 << 11), TSE_DRAG_ANY = (TSE_DRAG_INTO | TSE_DRAG_BEFORE | TSE_DRAG_AFTER), + TSE_HIGHLIGHTED_ANY = (TSE_HIGHLIGHTED | TSE_HIGHLIGHTED_ICON), }; /* TreeStoreElem->types */ -- cgit v1.2.3