diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-05-20 13:14:48 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-20 14:47:37 +0300 |
commit | 785ff8e1d2e973e10c1a3aea3a986c7e1d3cf1db (patch) | |
tree | 086ac1ae7f7fcf8b49f12d6d904cb2590a1c00b6 /source/blender/editors/include/UI_interface.h | |
parent | 81320ce7f7c699d832edf8ba0f609bb246389a33 (diff) |
UI: add Visibility panel for objects
The outliner should not be the only way for users to change these settings.
The Python API was extended to keep these properties positive and keyframable.
Differential Revision: https://developer.blender.org/D4889
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 14d681ee817..5912a3a59e4 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -281,6 +281,9 @@ enum { /** Value is animated, but the current value differs from the animated one. */ UI_BUT_ANIMATED_CHANGED = 1 << 25, + + /* Draw the checkbox buttons inverted. */ + UI_BUT_CHECKBOX_INVERT = 1 << 26, }; /* scale fixed button widths by this to account for DPI */ @@ -1719,6 +1722,7 @@ enum { UI_ITEM_R_IMMEDIATE = 1 << 8, UI_ITEM_O_DEPRESS = 1 << 9, UI_ITEM_R_COMPACT = 1 << 10, + UI_ITEM_R_CHECKBOX_INVERT = 1 << 11, }; #define UI_HEADER_OFFSET ((void)0, 0.4f * UI_UNIT_X) |