From b77da4893dc18adf981f158d52842f0c6d81498e Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 10 Feb 2009 23:17:58 +0000 Subject: 2.5: Image window operators, quite a few of these still have missing parts and are work in progress. Set 3D Cursor Set Tile Sample Color New Open Replace Reload Save (As) Save Sequence Pack Unpack Record Composite The file select operators have context issues still. They need to get the image space in the context on exec() but it's not there currently, not sure how to solve that yet. Also added name parameter to uiMenuItemEnumO, and fixed "mute" argument in ED_update_for_newframe calls in fluidsim bake. --- source/blender/editors/space_image/image_intern.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'source/blender/editors/space_image/image_intern.h') diff --git a/source/blender/editors/space_image/image_intern.h b/source/blender/editors/space_image/image_intern.h index bbf0ed792c0..384689bb000 100644 --- a/source/blender/editors/space_image/image_intern.h +++ b/source/blender/editors/space_image/image_intern.h @@ -46,6 +46,7 @@ void IMAGE_OT_toolbox(struct wmOperatorType *ot); /* image_draw.c */ void draw_image_main(struct SpaceImage *sima, struct ARegion *ar, struct Scene *scene); +void draw_image_info(struct ARegion *ar, int channels, int x, int y, char *cp, float *fp, int *zp, float *zpf); /* image_ops.c */ int space_image_main_area_poll(struct bContext *C); @@ -58,6 +59,19 @@ void IMAGE_OT_view_zoom_in(struct wmOperatorType *ot); void IMAGE_OT_view_zoom_out(struct wmOperatorType *ot); void IMAGE_OT_view_zoom_ratio(struct wmOperatorType *ot); +void IMAGE_OT_new(struct wmOperatorType *ot); +void IMAGE_OT_open(struct wmOperatorType *ot); +void IMAGE_OT_replace(struct wmOperatorType *ot); +void IMAGE_OT_reload(struct wmOperatorType *ot); +void IMAGE_OT_save(struct wmOperatorType *ot); +void IMAGE_OT_save_as(struct wmOperatorType *ot); +void IMAGE_OT_save_sequence(struct wmOperatorType *ot); +void IMAGE_OT_pack(struct wmOperatorType *ot); +void IMAGE_OT_unpack(struct wmOperatorType *ot); +void IMAGE_OT_sample(struct wmOperatorType *ot); + +void IMAGE_OT_record_composite(struct wmOperatorType *ot); + /* uvedit_draw.c */ void draw_uvedit_main(struct SpaceImage *sima, struct ARegion *ar, struct Scene *scene, struct Object *obedit); -- cgit v1.2.3