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 <ideasman42@gmail.com>2019-04-17 07:17:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 07:21:24 +0300
commite12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch)
tree8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h
parentb3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff)
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h')
-rw-r--r--source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h31
1 files changed, 17 insertions, 14 deletions
diff --git a/source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h b/source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h
index c7a6b816dd6..33c0d305e59 100644
--- a/source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h
+++ b/source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h
@@ -28,7 +28,6 @@
* Only included in wm.h and lower level files.
*/
-
#ifndef __WM_GIZMO_WMAPI_H__
#define __WM_GIZMO_WMAPI_H__
@@ -39,7 +38,6 @@ struct wmGizmoMap;
struct wmOperator;
struct wmOperatorType;
-
/* -------------------------------------------------------------------- */
/* wmGizmo */
@@ -66,21 +64,26 @@ void wm_gizmomap_remove(struct wmGizmoMap *gzmap);
void wm_gizmos_keymap(struct wmKeyConfig *keyconf);
-void wm_gizmomaps_handled_modal_update(
- bContext *C, struct wmEvent *event, struct wmEventHandler_Op *handler);
+void wm_gizmomaps_handled_modal_update(bContext *C,
+ struct wmEvent *event,
+ struct wmEventHandler_Op *handler);
void wm_gizmomap_handler_context_op(bContext *C, struct wmEventHandler_Op *handler);
void wm_gizmomap_handler_context_gizmo(bContext *C, struct wmEventHandler_Gizmo *handler);
-struct wmGizmo *wm_gizmomap_highlight_find(
- struct wmGizmoMap *gzmap, bContext *C, const struct wmEvent *event,
- int *r_part);
-bool wm_gizmomap_highlight_set(
- struct wmGizmoMap *gzmap, const bContext *C,
- struct wmGizmo *gz, int part);
+struct wmGizmo *wm_gizmomap_highlight_find(struct wmGizmoMap *gzmap,
+ bContext *C,
+ const struct wmEvent *event,
+ int *r_part);
+bool wm_gizmomap_highlight_set(struct wmGizmoMap *gzmap,
+ const bContext *C,
+ struct wmGizmo *gz,
+ int part);
struct wmGizmo *wm_gizmomap_highlight_get(struct wmGizmoMap *gzmap);
-void wm_gizmomap_modal_set(
- struct wmGizmoMap *gzmap, bContext *C, struct wmGizmo *gz,
- const struct wmEvent *event, bool enable);
+void wm_gizmomap_modal_set(struct wmGizmoMap *gzmap,
+ bContext *C,
+ struct wmGizmo *gz,
+ const struct wmEvent *event,
+ bool enable);
struct wmGizmo *wm_gizmomap_modal_get(struct wmGizmoMap *gzmap);
struct wmGizmo **wm_gizmomap_selected_get(wmGizmoMap *gzmap, int *r_selected_len);
@@ -91,4 +94,4 @@ struct ListBase *wm_gizmomap_groups_get(wmGizmoMap *gzmap);
void wm_gizmomaptypes_free(void);
-#endif /* __WM_GIZMO_WMAPI_H__ */
+#endif /* __WM_GIZMO_WMAPI_H__ */