[Bf-blender-cvs] [e2af5030b93] master: Cleanup: comments
Campbell Barton
noreply at git.blender.org
Tue Apr 20 16:52:44 CEST 2021
Commit: e2af5030b9309e525b7fd1e6b501df7ac038614e
Author: Campbell Barton
Date: Wed Apr 21 00:51:27 2021 +1000
Branches: master
https://developer.blender.org/rBe2af5030b9309e525b7fd1e6b501df7ac038614e
Cleanup: comments
- Restore comment removed by accident in
8c5c55b8c9c0cb5d4b8c296f5a8ee501aabc1ead
- Use doxygen syntax.
===================================================================
M source/blender/editors/interface/interface_intern.h
===================================================================
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h
index e6ade6756cf..0e465be5bf6 100644
--- a/source/blender/editors/interface/interface_intern.h
+++ b/source/blender/editors/interface/interface_intern.h
@@ -77,16 +77,20 @@ struct wmTimer;
/* popover width (multiplied by 'U.widget_unit') */
#define UI_POPOVER_WIDTH_UNITS 10
-/* uiBut->flag */
+/** #uiBut.flag */
enum {
- UI_SELECT = (1 << 0), /* use when the button is pressed */
- UI_SCROLLED = (1 << 1), /* temp hidden, scrolled away */
+ /** Use when the button is pressed. */
+ UI_SELECT = (1 << 0),
+ /** Temporarily hidden (scrolled out of the view). */
+ UI_SCROLLED = (1 << 1),
UI_ACTIVE = (1 << 2),
UI_HAS_ICON = (1 << 3),
UI_HIDDEN = (1 << 4),
- UI_SELECT_DRAW = (1 << 5), /* Display selected, doesn't impact interaction. */
+ /** Display selected, doesn't impact interaction. */
+ UI_SELECT_DRAW = (1 << 5),
+ /** Property search filter is active and the button does not match. */
UI_SEARCH_FILTER_NO_MATCH = (1 << 6),
- /* warn: rest of uiBut->flag in UI_interface.h */
+ /* WARNING: rest of #uiBut.flag in UI_interface.h */
};
/* uiBut->dragflag */
More information about the Bf-blender-cvs
mailing list