diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-02-25 22:29:58 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-02-25 22:29:58 +0300 |
commit | 9ac7c8e91a9e699ff3490881c554e08fc348f442 (patch) | |
tree | 6b38e208514291ae47bda0fa61a277ef9d60ce96 /source/blender/editors/include/ED_particle.h | |
parent | c3078c94fb48cc1376b170bb3c7ce1f2e14fa2f3 (diff) |
2.5: Particle edit mode more functional now. Transform, brush
editing, paint cursor, radial control, mouse/border/circle/lasso
select, mirroring, bad level calls fixed, etc.
Diffstat (limited to 'source/blender/editors/include/ED_particle.h')
-rw-r--r-- | source/blender/editors/include/ED_particle.h | 37 |
1 files changed, 6 insertions, 31 deletions
diff --git a/source/blender/editors/include/ED_particle.h b/source/blender/editors/include/ED_particle.h index b20db0cb7e8..0e5d7302837 100644 --- a/source/blender/editors/include/ED_particle.h +++ b/source/blender/editors/include/ED_particle.h @@ -30,19 +30,15 @@ #ifndef ED_PARTICLE_H #define ED_PARTICLE_H +struct bContext; struct Object; -struct ParticleSystem; struct ParticleEditSettings; +struct ParticleSystem; struct RadialControl; -struct ViewContext; struct rcti; struct wmWindowManager; /* particle edit mode */ -void PE_set_particle_edit(struct Scene *scene); -void PE_create_particle_edit(struct Scene *scene, struct Object *ob, struct ParticleSystem *psys); -void PE_free_particle_edit(struct ParticleSystem *psys); - void PE_change_act(void *ob_v, void *act_v); void PE_change_act_psys(struct Scene *scene, struct Object *ob, struct ParticleSystem *psys); int PE_can_edit(struct ParticleSystem *psys); @@ -51,38 +47,17 @@ int PE_can_edit(struct ParticleSystem *psys); struct ParticleSystem *PE_get_current(struct Scene *scene, struct Object *ob); short PE_get_current_num(struct Object *ob); int PE_minmax(struct Scene *scene, float *min, float *max); -void PE_get_colors(char sel[4], char nosel[4]); struct ParticleEditSettings *PE_settings(Scene *scene); -struct RadialControl **PE_radialcontrol(void); /* update calls */ void PE_hide_keys_time(struct Scene *scene, struct ParticleSystem *psys, float cfra); void PE_update_object(struct Scene *scene, struct Object *ob, int useflag); -void PE_update_selection(struct Scene *scene, struct Object *ob, int useflag); -void PE_recalc_world_cos(struct Object *ob, struct ParticleSystem *psys); /* selection tools */ -void PE_select_root(void); -void PE_select_tip(void); -void PE_deselectall(void); -void PE_select_linked(void); -void PE_select_less(void); -void PE_select_more(void); - -void PE_mouse_particles(void); -void PE_border_select(struct ViewContext *vc, struct rcti *rect, int select); -void PE_circle_select(struct ViewContext *vc, int selecting, short *mval, float rad); -void PE_lasso_select(struct ViewContext *vc, short mcords[][2], short moves, short select); - -/* tools */ -void PE_hide(int mode); -void PE_rekey(void); -void PE_subdivide(Object *ob); -int PE_brush_particles(void); -void PE_remove_doubles(void); -void PE_selectbrush_menu(Scene *scene); -void PE_remove_doubles(void); -void PE_radialcontrol_start(const int mode); +int PE_mouse_particles(struct bContext *C, short *mval, int extend); +int PE_border_select(struct bContext *C, struct rcti *rect, int select); +int PE_circle_select(struct bContext *C, int selecting, short *mval, float rad); +int PE_lasso_select(struct bContext *C, short mcords[][2], short moves, short select); /* undo */ void PE_undo_push(Scene *scene, char *str); |