diff options
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 6 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 7 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_windowmanager_types.h | 23 |
3 files changed, 20 insertions, 16 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index d48149b2fa6..c8209b4d194 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -56,12 +56,12 @@ typedef struct bScreen { short flag; /** Winid from WM, starts with 1. */ short winid; - /** User-setting for which editors get redrawn during anim playback. */ + /** User-setting for which editors get redrawn during animation playback. */ short redraws_flag; - /** Temp screen in a temp window, don't save (like user prefs). */ + /** Temp screen in a temp window, don't save (like user-preferences). */ char temp; - /** Temp screen for image render display or fileselect. */ + /** Temp screen for image render display or file-select. */ char state; /** Notifier for drawing edges. */ char do_draw; diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index b1212965992..e6c163d94ba 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -894,10 +894,9 @@ typedef struct SpaceFile { */ ListBase folder_histories; /* FileFolderHistory */ - /* operator that is invoking fileselect - * op->exec() will be called on the 'Load' button. - * if operator provides op->cancel(), then this will be invoked - * on the cancel button. + /** + * The operator that is invoking file-select `op->exec()` will be called on the 'Load' button. + * if operator provides op->cancel(), then this will be invoked on the cancel button. */ struct wmOperator *op; 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), }; |