diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-06-26 05:40:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-06-26 05:44:22 +0300 |
commit | 545610d3aae0c64ad98abb4fcb19d8958018bd76 (patch) | |
tree | 4f9d256e3e58b08faa08fb41ba28840c0fae7490 /source/blender/windowmanager | |
parent | abaf6b106d3a34512f1061dc23277f3924da7fc6 (diff) |
Cleanup: un-wrap lines in headers, use doxy comments
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/WM_types.h | 7 | ||||
-rw-r--r-- | source/blender/windowmanager/wm_event_types.h | 29 |
2 files changed, 23 insertions, 13 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h index 9f46fdaf74a..d2a876dfb5e 100644 --- a/source/blender/windowmanager/WM_types.h +++ b/source/blender/windowmanager/WM_types.h @@ -572,9 +572,10 @@ typedef struct wmNDOFMotionData { } wmNDOFMotionData; #endif /* WITH_INPUT_NDOF */ -typedef enum { /* Timer flags */ - WM_TIMER_NO_FREE_CUSTOM_DATA = - 1 << 0, /* Do not attempt to free customdata pointer even if non-NULL. */ +/** Timer flags. */ +typedef enum { + /** Do not attempt to free customdata pointer even if non-NULL. */ + WM_TIMER_NO_FREE_CUSTOM_DATA = 1 << 0, } wmTimerFlags; typedef struct wmTimer { diff --git a/source/blender/windowmanager/wm_event_types.h b/source/blender/windowmanager/wm_event_types.h index 91c1d76895d..7a25a6dfa4d 100644 --- a/source/blender/windowmanager/wm_event_types.h +++ b/source/blender/windowmanager/wm_event_types.h @@ -452,29 +452,38 @@ enum { EVT_FILESELECT_EXTERNAL_CANCEL = 4, }; -/* Gesture */ -/* NOTE: these values are saved in keymap files, do not change them but just add new ones */ +/** + * Gesture + * Used in #wmEvent.val + * + * \note These values are saved in keymap files, + * do not change them but just add new ones. + */ enum { GESTURE_MODAL_CANCEL = 1, GESTURE_MODAL_CONFIRM = 2, - /* Uses 'deselect' operator property. */ + /** Uses 'deselect' operator property. */ GESTURE_MODAL_SELECT = 3, GESTURE_MODAL_DESELECT = 4, - GESTURE_MODAL_NOP = 5, /* circle select when no mouse button is pressed */ + /** Circle select: when no mouse button is pressed */ + GESTURE_MODAL_NOP = 5, - GESTURE_MODAL_CIRCLE_ADD = 6, /* circle sel: larger brush */ - GESTURE_MODAL_CIRCLE_SUB = 7, /* circle sel: smaller brush */ + /** Circle select: larger brush. */ + GESTURE_MODAL_CIRCLE_ADD = 6, + /** Circle select: smaller brush. */ + GESTURE_MODAL_CIRCLE_SUB = 7, - GESTURE_MODAL_BEGIN = - 8, /* box select/straight line, activate, use release to detect which button */ + /** Box select/straight line, activate, use release to detect which button. */ + GESTURE_MODAL_BEGIN = 8, - /* Uses 'zoom_out' operator property. */ + /** Uses 'zoom_out' operator property. */ GESTURE_MODAL_IN = 9, GESTURE_MODAL_OUT = 10, - GESTURE_MODAL_CIRCLE_SIZE = 11, /* circle sel: size brush (for trackpad event) */ + /** circle select: size brush (for trackpad event). */ + GESTURE_MODAL_CIRCLE_SIZE = 11, }; #endif /* __WM_EVENT_TYPES_H__ */ |