Blender  V3.3
image_intern.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2008 Blender Foundation. All rights reserved. */
3 
8 #pragma once
9 
10 /* internal exports only */
11 struct ARegion;
12 struct ARegionType;
13 struct SpaceImage;
14 struct bContext;
15 struct bNodeTree;
16 struct wmOperatorType;
17 
18 /* space_image.c */
19 
20 extern const char *image_context_dir[]; /* doc access */
21 
22 /* image_draw.c */
23 
24 void draw_image_main_helpers(const struct bContext *C, struct ARegion *region);
25 void draw_image_cache(const struct bContext *C, struct ARegion *region);
26 void draw_image_sample_line(struct SpaceImage *sima);
27 
28 /* image_ops.c */
29 
32 
33 void IMAGE_OT_view_all(struct wmOperatorType *ot);
34 void IMAGE_OT_view_pan(struct wmOperatorType *ot);
43 #ifdef WITH_INPUT_NDOF
44 void IMAGE_OT_view_ndof(struct wmOperatorType *ot);
45 #endif
46 
47 void IMAGE_OT_new(struct wmOperatorType *ot);
51 void IMAGE_OT_open(struct wmOperatorType *ot);
57 void IMAGE_OT_replace(struct wmOperatorType *ot);
58 void IMAGE_OT_reload(struct wmOperatorType *ot);
59 void IMAGE_OT_save(struct wmOperatorType *ot);
60 void IMAGE_OT_save_as(struct wmOperatorType *ot);
63 void IMAGE_OT_pack(struct wmOperatorType *ot);
64 void IMAGE_OT_unpack(struct wmOperatorType *ot);
65 
66 void IMAGE_OT_flip(struct wmOperatorType *ot);
67 void IMAGE_OT_invert(struct wmOperatorType *ot);
68 void IMAGE_OT_resize(struct wmOperatorType *ot);
69 
74 
75 void IMAGE_OT_sample(struct wmOperatorType *ot);
78 
80 
84 
85 void IMAGE_OT_tile_add(struct wmOperatorType *ot);
88 
89 /* image_panels.c */
90 
95 void image_buttons_register(struct ARegionType *art);
#define C
Definition: RandGen.cpp:25
bNodeTree * ntree
void IMAGE_OT_tile_add(struct wmOperatorType *ot)
Definition: image_ops.c:4021
void IMAGE_OT_tile_remove(struct wmOperatorType *ot)
Definition: image_ops.c:4082
void IMAGE_OT_view_zoom_ratio(struct wmOperatorType *ot)
Definition: image_ops.c:1136
void IMAGE_OT_curves_point_set(struct wmOperatorType *ot)
Definition: image_ops.c:3386
void IMAGE_OT_render_border(struct wmOperatorType *ot)
Definition: image_ops.c:3792
void IMAGE_OT_new(struct wmOperatorType *ot)
Definition: image_ops.c:2652
void IMAGE_OT_save_sequence(struct wmOperatorType *ot)
Definition: image_ops.c:2267
bool space_image_view_center_cursor_poll(struct bContext *C)
void IMAGE_OT_view_zoom_border(struct wmOperatorType *ot)
Definition: image_ops.c:1203
void IMAGE_OT_reload(struct wmOperatorType *ot)
Definition: image_ops.c:2468
void IMAGE_OT_file_browse(struct wmOperatorType *ot)
Definition: image_ops.c:1640
void IMAGE_OT_save_all_modified(struct wmOperatorType *ot)
Definition: image_ops.c:2426
void IMAGE_OT_tile_fill(struct wmOperatorType *ot)
Definition: image_ops.c:4140
void IMAGE_OT_view_pan(struct wmOperatorType *ot)
Definition: image_ops.c:461
void IMAGE_OT_sample(struct wmOperatorType *ot)
Definition: image_ops.c:3266
void IMAGE_OT_unpack(struct wmOperatorType *ot)
Definition: image_ops.c:3168
void IMAGE_OT_save_as(struct wmOperatorType *ot)
Definition: image_ops.c:2032
void draw_image_main_helpers(const struct bContext *C, struct ARegion *region)
void image_buttons_register(struct ARegionType *art)
struct ImageUser * ntree_get_active_iuser(struct bNodeTree *ntree)
Definition: image_buttons.c:51
void IMAGE_OT_view_selected(struct wmOperatorType *ot)
Definition: image_ops.c:978
void IMAGE_OT_view_cursor_center(struct wmOperatorType *ot)
Definition: image_ops.c:870
void IMAGE_OT_resize(struct wmOperatorType *ot)
Definition: image_ops.c:3010
void IMAGE_OT_pack(struct wmOperatorType *ot)
Definition: image_ops.c:3072
void IMAGE_OT_flip(struct wmOperatorType *ot)
Definition: image_ops.c:2798
void IMAGE_OT_remove_render_slot(struct wmOperatorType *ot)
Definition: image_ops.c:3556
const char * image_context_dir[]
Definition: space_image.c:428
void IMAGE_OT_cycle_render_slot(struct wmOperatorType *ot)
Definition: image_ops.c:3451
void IMAGE_OT_view_all(struct wmOperatorType *ot)
Definition: image_ops.c:824
void IMAGE_OT_match_movie_length(struct wmOperatorType *ot)
Definition: image_ops.c:1702
void IMAGE_OT_clear_render_slot(struct wmOperatorType *ot)
Definition: image_ops.c:3488
void IMAGE_OT_view_zoom(struct wmOperatorType *ot)
Definition: image_ops.c:706
void draw_image_sample_line(struct SpaceImage *sima)
Definition: image_draw.c:442
void draw_image_cache(const struct bContext *C, struct ARegion *region)
void IMAGE_OT_sample_line(struct wmOperatorType *ot)
Definition: image_ops.c:3360
void IMAGE_OT_add_render_slot(struct wmOperatorType *ot)
Definition: image_ops.c:3521
void IMAGE_OT_open(struct wmOperatorType *ot)
Definition: image_ops.c:1518
void IMAGE_OT_clear_render_border(struct wmOperatorType *ot)
Definition: image_ops.c:3828
void IMAGE_OT_invert(struct wmOperatorType *ot)
Definition: image_ops.c:2918
void IMAGE_OT_save(struct wmOperatorType *ot)
Definition: image_ops.c:2170
void IMAGE_OT_change_frame(struct wmOperatorType *ot)
Definition: image_ops.c:3673
void IMAGE_OT_view_zoom_in(struct wmOperatorType *ot)
Definition: image_ops.c:1024
void IMAGE_OT_replace(struct wmOperatorType *ot)
Definition: image_ops.c:1781
void IMAGE_OT_view_center_cursor(struct wmOperatorType *ot)
Definition: image_ops.c:906
bool space_image_main_region_poll(struct bContext *C)
Definition: image_ops.c:320
void IMAGE_OT_read_viewlayers(struct wmOperatorType *ot)
Definition: image_ops.c:3713
void IMAGE_OT_view_zoom_out(struct wmOperatorType *ot)
Definition: image_ops.c:1083
wmOperatorType * ot
Definition: wm_files.c:3479