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:
authorCampbell Barton <ideasman42@gmail.com>2019-03-22 06:01:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-22 07:43:23 +0300
commit27da43ba86a8160a5bcb52b9d4a214f80800db25 (patch)
tree60005fd6aa5b2473b77e4bbfc5d2f93f3e8debd3 /source/blender/editors/include
parent00f7dcd5be1fb32a65b5abccc09db6fec775c3cf (diff)
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).
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/UI_interface.h6
1 files changed, 1 insertions, 5 deletions
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) */