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:
authorJulian Eisel <julian@blender.org>2022-05-11 19:25:11 +0300
committerJulian Eisel <julian@blender.org>2022-05-11 19:29:20 +0300
commit8d9d5da13706b668b9bd0d631e00c9b00b73f3ea (patch)
treeff2115b3620da745b6cdef38fb60a569c1e57745 /source/blender/editors/interface
parent007184bcf2121296fa244871382670b0f06210c0 (diff)
Cleanup (UI): Make space for more internal button flags
Having to manually increase all other flag values to be able to add a new internal flag is quite annoying. Just make space for a few more once. Generally I'd say internal flags are preferable, since it increases encapsulation. So good to avoid making this a hassle.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r--source/blender/editors/interface/interface_intern.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h
index 98aed39c2ac..e8c5f2bb322 100644
--- a/source/blender/editors/interface/interface_intern.h
+++ b/source/blender/editors/interface/interface_intern.h
@@ -74,7 +74,8 @@ enum {
UI_SELECT_DRAW = (1 << 5),
/** Property search filter is active and the button does not match. */
UI_SEARCH_FILTER_NO_MATCH = (1 << 6),
- /* WARNING: rest of #uiBut.flag in UI_interface.h */
+
+ /* WARNING: rest of #uiBut.flag in UI_interface.h (starting at `1 << 10`). */
};
/** #uiBut.dragflag */