diff options
author | Julian Eisel <julian@blender.org> | 2020-03-06 18:56:42 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-03-06 19:19:23 +0300 |
commit | b2ee1770d4c31078518f4ec9edd5196a41345162 (patch) | |
tree | 6b7f6ff9057322245fc3b3407bece3f1c0cb3eb5 /source/blender/editors/space_clip/clip_intern.h | |
parent | b825a95ec311a169d33fe21e28418f11a516c82f (diff) |
Cleanup: Rename ARegion variables from ar to region
The old convention was easy to confuse with ScrArea.
Part of https://developer.blender.org/T74432.
This is mostly a batch rename with some manual fixing. Only single word
variable names are changed, no prefixed/suffixed names.
Brecht van Lommel and Campbell Barton both gave me a green light for
this convention change.
Also ran clan clang format on affected files.
Diffstat (limited to 'source/blender/editors/space_clip/clip_intern.h')
-rw-r--r-- | source/blender/editors/space_clip/clip_intern.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_clip/clip_intern.h b/source/blender/editors/space_clip/clip_intern.h index bd54d4f0016..b66f7605f41 100644 --- a/source/blender/editors/space_clip/clip_intern.h +++ b/source/blender/editors/space_clip/clip_intern.h @@ -54,26 +54,26 @@ struct wmOperatorType; void ED_clip_buttons_register(struct ARegionType *art); /* clip_dopesheet_draw.c */ -void clip_draw_dopesheet_main(struct SpaceClip *sc, struct ARegion *ar, struct Scene *scene); -void clip_draw_dopesheet_channels(const struct bContext *C, struct ARegion *ar); +void clip_draw_dopesheet_main(struct SpaceClip *sc, struct ARegion *region, struct Scene *scene); +void clip_draw_dopesheet_channels(const struct bContext *C, struct ARegion *region); /* clip_dopesheet_ops.c */ void CLIP_OT_dopesheet_select_channel(struct wmOperatorType *ot); void CLIP_OT_dopesheet_view_all(struct wmOperatorType *ot); /* clip_draw.c */ -void clip_draw_main(const struct bContext *C, struct SpaceClip *sc, struct ARegion *ar); +void clip_draw_main(const struct bContext *C, struct SpaceClip *sc, struct ARegion *region); void clip_draw_grease_pencil(struct bContext *C, int onlyv2d); -void clip_draw_cache_and_notes(const bContext *C, SpaceClip *sc, ARegion *ar); +void clip_draw_cache_and_notes(const bContext *C, SpaceClip *sc, ARegion *region); /* clip_editor.c */ void clip_start_prefetch_job(const struct bContext *C); /* clip_graph_draw.c */ -void clip_draw_graph(struct SpaceClip *sc, struct ARegion *ar, struct Scene *scene); +void clip_draw_graph(struct SpaceClip *sc, struct ARegion *region, struct Scene *scene); /* clip_graph_ops.c */ -void ED_clip_graph_center_current_frame(struct Scene *scene, struct ARegion *ar); +void ED_clip_graph_center_current_frame(struct Scene *scene, struct ARegion *region); void CLIP_OT_graph_select(struct wmOperatorType *ot); void CLIP_OT_graph_select_box(struct wmOperatorType *ot); |