Blender V2.61 - r43446
|
00001 /* 00002 * ***** BEGIN GPL LICENSE BLOCK ***** 00003 * 00004 * This program is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU General Public License 00006 * as published by the Free Software Foundation; either version 2 00007 * of the License, or (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software Foundation, 00016 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00017 * 00018 * The Original Code is Copyright (C) 2008 Blender Foundation. 00019 * All rights reserved. 00020 * 00021 * 00022 * Contributor(s): Blender Foundation 00023 * 00024 * ***** END GPL LICENSE BLOCK ***** 00025 */ 00026 00032 #ifndef ED_IMAGE_INTERN_H 00033 #define ED_IMAGE_INTERN_H 00034 00035 /* internal exports only */ 00036 struct bContext; 00037 struct ARegion; 00038 struct ARegionType; 00039 struct ScrArea; 00040 struct SpaceImage; 00041 struct Object; 00042 struct Image; 00043 struct ImBuf; 00044 struct wmOperatorType; 00045 struct Scene; 00046 struct bNodeTree; 00047 00048 /* space_image.c */ 00049 struct ARegion *image_has_buttons_region(struct ScrArea *sa); 00050 struct ARegion *image_has_scope_region(struct ScrArea *sa); 00051 00052 extern const char *image_context_dir[]; /* doc access */ 00053 00054 void IMAGE_OT_toolbox(struct wmOperatorType *ot); 00055 00056 /* image_draw.c */ 00057 void draw_image_main(struct SpaceImage *sima, struct ARegion *ar, struct Scene *scene); 00058 void draw_image_grease_pencil(struct bContext *C, short onlyv2d); 00059 00060 /* image_ops.c */ 00061 int space_image_main_area_poll(struct bContext *C); 00062 00063 void IMAGE_OT_view_all(struct wmOperatorType *ot); 00064 void IMAGE_OT_view_pan(struct wmOperatorType *ot); 00065 void IMAGE_OT_view_selected(struct wmOperatorType *ot); 00066 void IMAGE_OT_view_zoom(struct wmOperatorType *ot); 00067 void IMAGE_OT_view_zoom_in(struct wmOperatorType *ot); 00068 void IMAGE_OT_view_zoom_out(struct wmOperatorType *ot); 00069 void IMAGE_OT_view_zoom_ratio(struct wmOperatorType *ot); 00070 void IMAGE_OT_view_ndof(struct wmOperatorType *ot); 00071 00072 void IMAGE_OT_new(struct wmOperatorType *ot); 00073 void IMAGE_OT_open(struct wmOperatorType *ot); 00074 void IMAGE_OT_replace(struct wmOperatorType *ot); 00075 void IMAGE_OT_reload(struct wmOperatorType *ot); 00076 void IMAGE_OT_save(struct wmOperatorType *ot); 00077 void IMAGE_OT_save_as(struct wmOperatorType *ot); 00078 void IMAGE_OT_save_sequence(struct wmOperatorType *ot); 00079 void IMAGE_OT_pack(struct wmOperatorType *ot); 00080 void IMAGE_OT_unpack(struct wmOperatorType *ot); 00081 00082 void IMAGE_OT_invert(struct wmOperatorType *ot); 00083 00084 void IMAGE_OT_cycle_render_slot(struct wmOperatorType *ot); 00085 00086 void IMAGE_OT_sample(struct wmOperatorType *ot); 00087 void IMAGE_OT_sample_line(struct wmOperatorType *ot); 00088 void IMAGE_OT_curves_point_set(struct wmOperatorType *ot); 00089 00090 void IMAGE_OT_record_composite(struct wmOperatorType *ot); 00091 00092 /* image_panels.c */ 00093 struct ImageUser *ntree_get_active_iuser(struct bNodeTree *ntree); 00094 void image_buttons_register(struct ARegionType *art); 00095 void IMAGE_OT_properties(struct wmOperatorType *ot); 00096 void IMAGE_OT_scopes(struct wmOperatorType *ot); 00097 00098 #endif /* ED_IMAGE_INTERN_H */ 00099