diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-13 20:54:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-13 20:54:17 +0400 |
commit | f37c971878307d4f618bbbc50574293de9e09141 (patch) | |
tree | 3de7294d6152331d5b06eb4ebab63ad3aa46ee14 /source/blender/editors/include/ED_gpencil.h | |
parent | b96172cb054ce22407f8cfeb16592ecc8e216d6e (diff) |
Code cleanup: use ED_gpencil_ prefix for grease pencil
Diffstat (limited to 'source/blender/editors/include/ED_gpencil.h')
-rw-r--r-- | source/blender/editors/include/ED_gpencil.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/editors/include/ED_gpencil.h b/source/blender/editors/include/ED_gpencil.h index e31221a42df..8c8178bbdfa 100644 --- a/source/blender/editors/include/ED_gpencil.h +++ b/source/blender/editors/include/ED_gpencil.h @@ -65,9 +65,9 @@ typedef struct tGPspoint { /* ----------- Grease Pencil Tools/Context ------------- */ -struct bGPdata **gpencil_data_get_pointers(const struct bContext *C, struct PointerRNA *ptr); -struct bGPdata *gpencil_data_get_active(const struct bContext *C); -struct bGPdata *gpencil_data_get_active_v3d(struct Scene *scene); /* for offscreen rendering */ +struct bGPdata **ED_gpencil_data_get_pointers(const struct bContext *C, struct PointerRNA *ptr); +struct bGPdata *ED_gpencil_data_get_active(const struct bContext *C); +struct bGPdata *ED_gpencil_data_get_active_v3d(struct Scene *scene); /* for offscreen rendering */ /* ----------- Grease Pencil Operators ----------------- */ @@ -77,19 +77,19 @@ void ED_operatortypes_gpencil(void); /* ------------ Grease-Pencil Drawing API ------------------ */ /* drawgpencil.c */ -void draw_gpencil_2dimage(const struct bContext *C); -void draw_gpencil_view2d(const struct bContext *C, bool onlyv2d); -void draw_gpencil_view3d(struct Scene *scene, struct View3D *v3d, struct ARegion *ar, bool only3d); +void ED_gpencil_draw_2dimage(const struct bContext *C); +void ED_gpencil_draw_view2d(const struct bContext *C, bool onlyv2d); +void ED_gpencil_draw_view3d(struct Scene *scene, struct View3D *v3d, struct ARegion *ar, bool only3d); -void gpencil_panel_standard_header(const struct bContext *C, struct Panel *pa); -void gpencil_panel_standard(const struct bContext *C, struct Panel *pa); +void ED_gpencil_panel_standard_header(const struct bContext *C, struct Panel *pa); +void ED_gpencil_panel_standard(const struct bContext *C, struct Panel *pa); /* ----------- Grease-Pencil AnimEdit API ------------------ */ -short ED_gplayer_frames_looper(struct bGPDlayer *gpl, struct Scene *scene, +bool ED_gplayer_frames_looper(struct bGPDlayer *gpl, struct Scene *scene, short (*gpf_cb)(struct bGPDframe *, struct Scene *)); -void ED_gplayer_make_cfra_list(struct bGPDlayer *gpl, ListBase *elems, short onlysel); +void ED_gplayer_make_cfra_list(struct bGPDlayer *gpl, ListBase *elems, bool onlysel); -short ED_gplayer_frame_select_check(struct bGPDlayer *gpl); +bool ED_gplayer_frame_select_check(struct bGPDlayer *gpl); void ED_gplayer_frame_select_set(struct bGPDlayer *gpl, short mode); void ED_gplayer_frames_select_border(struct bGPDlayer *gpl, float min, float max, short select_mode); void ED_gpencil_select_frames(struct bGPDlayer *gpl, short select_mode); |