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 <campbell@blender.org>2022-03-04 02:29:53 +0300
committerCampbell Barton <campbell@blender.org>2022-03-04 02:31:11 +0300
commit8b06c524d207f5e67ef22d6a1869c94d8f91717f (patch)
tree3a89ed263632daa2b9bd49971ef45dee46744375 /source/blender/makesdna/DNA_windowmanager_types.h
parentfd2519e0b6948903892c3cfc373c903337979407 (diff)
Cleanup: spelling in comments, function name
Diffstat (limited to 'source/blender/makesdna/DNA_windowmanager_types.h')
-rw-r--r--source/blender/makesdna/DNA_windowmanager_types.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h
index 7a972ac3ef8..49d68e3a1b9 100644
--- a/source/blender/makesdna/DNA_windowmanager_types.h
+++ b/source/blender/makesdna/DNA_windowmanager_types.h
@@ -548,12 +548,14 @@ enum {
OPERATOR_RUNNING_MODAL = (1 << 0),
OPERATOR_CANCELLED = (1 << 1),
OPERATOR_FINISHED = (1 << 2),
- /* add this flag if the event should pass through */
+ /** Add this flag if the event should pass through. */
OPERATOR_PASS_THROUGH = (1 << 3),
- /* in case operator got executed outside WM code... like via fileselect */
+ /** In case operator got executed outside WM code (like via file-select). */
OPERATOR_HANDLED = (1 << 4),
- /* used for operators that act indirectly (eg. popup menu)
- * NOTE: this isn't great design (using operators to trigger UI) avoid where possible. */
+ /**
+ * Used for operators that act indirectly (eg. popup menu).
+ * \note this isn't great design (using operators to trigger UI) avoid where possible.
+ */
OPERATOR_INTERFACE = (1 << 5),
};
#define OPERATOR_FLAGS_ALL \
@@ -566,9 +568,10 @@ enum {
/** #wmOperator.flag */
enum {
- /** low level flag so exec() operators can tell if they were invoked, use with care.
- * Typically this shouldn't make any difference, but it rare cases its needed
- * (see smooth-view) */
+ /**
+ * Low level flag so exec() operators can tell if they were invoked, use with care.
+ * Typically this shouldn't make any difference, but it rare cases its needed (see smooth-view).
+ */
OP_IS_INVOKE = (1 << 0),
/** So we can detect if an operators exec() call is activated by adjusting the last action. */
OP_IS_REPEAT = (1 << 1),
@@ -585,8 +588,10 @@ enum {
/** When the cursor is grabbed */
OP_IS_MODAL_GRAB_CURSOR = (1 << 2),
- /** Allow modal operators to have the region under the cursor for their context
- * (the regiontype is maintained to prevent errors) */
+ /**
+ * Allow modal operators to have the region under the cursor for their context
+ * (the region-type is maintained to prevent errors).
+ */
OP_IS_MODAL_CURSOR_REGION = (1 << 3),
};