From 27da43ba86a8160a5bcb52b9d4a214f80800db25 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 22 Mar 2019 14:01:11 +1100 Subject: UI: refactor color picker flags out of buttons These are specialized color picker options which don't need to be stored in the button (frees of flags for buttons too). --- source/blender/editors/include/UI_interface.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index d330014d277..45b379f42ee 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -181,7 +181,7 @@ enum { UI_BUT_DRAG_LOCK = 1 << 10, /** grayed out and uneditable */ UI_BUT_DISABLED = 1 << 11, - UI_BUT_COLOR_LOCK = 1 << 12, + UI_BUT_ANIMATED = 1 << 13, UI_BUT_ANIMATED_KEY = 1 << 14, UI_BUT_DRIVEN = 1 << 15, @@ -193,10 +193,6 @@ enum { UI_BUT_IMMEDIATE = 1 << 20, UI_BUT_NO_UTF8 = 1 << 21, - /** used to flag if color hsv-circle should keep luminance */ - UI_BUT_VEC_SIZE_LOCK = 1 << 22, - /** cubic saturation for the color wheel */ - UI_BUT_COLOR_CUBIC = 1 << 23, /** This but is "inside" a list item (currently used to change theme colors). */ UI_BUT_LIST_ITEM = 1 << 24, /** edit this button as well as the active button (not just dragging) */ -- cgit v1.2.3