112 simage = MEM_new<SpaceImage>(
"initimage");
188 return reinterpret_cast<SpaceLink *
>(simage);
216 return reinterpret_cast<SpaceLink *
>(simagen);
231#ifdef WITH_INPUT_NDOF
470 gzgt->
name =
"UV Transform Gizmo";
471 gzgt->
idname =
"IMAGE_GGT_gizmo2d";
484 gzgt->
name =
"UV Translate Gizmo";
485 gzgt->
idname =
"IMAGE_GGT_gizmo2d_translate";
498 gzgt->
name =
"UV Transform Gizmo Resize";
499 gzgt->
idname =
"IMAGE_GGT_gizmo2d_resize";
512 gzgt->
name =
"UV Transform Gizmo Resize";
513 gzgt->
idname =
"IMAGE_GGT_gizmo2d_rotate";
531 gzgt->
name =
"Box Mask Node Widget";
532 gzgt->
idname =
"IMAGE_GGT_compositor_box_mask";
545 gzgt->
name =
"Crop Node Widget";
546 gzgt->
idname =
"IMAGE_GGT_compositor_crop";
559 gzgt->
name =
"Glare Node Widget";
560 gzgt->
idname =
"IMAGE_GGT_compositor_glare";
573 gzgt->
name =
"Corner Pin Node Widget";
574 gzgt->
idname =
"IMAGE_GGT_compositor_corner_pin";
587 gzgt->
name =
"Ellipse Mask Node Widget";
588 gzgt->
idname =
"IMAGE_GGT_compositor_ellipse_mask";
601 gzgt->
name =
"Split Node Widget";
602 gzgt->
idname =
"IMAGE_GGT_compositor_split";
615 gzgt->
name =
"Translate Widget";
616 gzgt->
idname =
"IMAGE_GGT_compositor_translate";
629 gzgt->
name =
"Transform Widget";
630 gzgt->
idname =
"IMAGE_GGT_compositor_transform";
643 gzgt->
name =
"Transform Widget";
644 gzgt->
idname =
"IMAGE_GGT_compositor_scale";
692 h *= ima->aspy / ima->aspx;
713 const float2 corrective_translation =
float2(std::numeric_limits<float>::epsilon() * 10e3f);
714 x1 -= sima->
zoom * (sima->
xof + 0.5f - corrective_translation.x);
715 y1 -= sima->
zoom * (sima->
yof + 0.5f - corrective_translation.y);
778 const bool show_text_info = show_compositor_viewer &&
782 const bool show_render_region = show_compositor_viewer &&
808 if (show_render_region) {
809 int render_size_x, render_size_y;
817 int center_x = width / 2;
818 int center_y = height / 2;
823 &render_region, center_x, render_size_x + center_x, center_y, render_size_y + center_y);
851 if (show_text_info) {
853 int render_size_x, render_size_y;
858 int xoffset = rect->
xmin + (0.5f *
U.widget_unit);
859 int yoffset = rect->
ymax - (0.1f *
U.widget_unit);
861 int viewer_size_x, viewer_size_y;
865 render_size_x, render_size_y, viewer_size_x, viewer_size_y, xoffset, yoffset);
995 std::array<const char *, 4> contexts_base = {
nullptr};
997 const char **contexts = contexts_base.data();
1000 switch (sima->
mode) {
1014 return contexts_base;
1074 switch (wmn->
data) {
1142 switch (wmn->
data) {
1204 switch (wmn->
data) {
1212 switch (wmn->
data) {
1365 std::unique_ptr<SpaceType> st = std::make_unique<SpaceType>();
1391 st->blend_read_after_liblink =
nullptr;
#define BKE_LIB_FOREACHID_PROCESS_IDSUPER(data_, id_super_, cb_flag_)
#define STRNCPY_UTF8(dst, src)
#define FILTER_ID_GD_LEGACY
Object is a sort of wrapper for general info.
#define RGN_ALIGN_ENUM_FROM_MASK(align)
Read Blender memory allocation and freeing.
#define UI_SIDEBAR_PANEL_WIDTH
#define ND_GPENCIL_EDITMODE
#define ND_RENDER_OPTIONS
#define ARRAY_SET_ITEMS(...)
#define SET_FLAG_FROM_TEST(value, test, flag)
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
IDRemapperApplyResult apply(ID **r_id_ptr, IDRemapperApplyOptions options, ID *id_self=nullptr) const
bool contains_mappings_for_any(IDTypeFilter filter) const
void header_region(const bContext *C, ARegion *region)
void region_init(wmWindowManager *wm, ARegion *region)
void types_register(ARegionType *region_type, const int space_type)
void region_listen(const wmRegionListenerParams *params)
void region_on_poll_success(const bContext *C, ARegion *region)
void header_region_listen(const wmRegionListenerParams *params)
void region_on_user_resize(const ARegion *region)
int context(const bContext *C, const char *member, bContextDataResult *result)
int region_snap(const ARegion *region, int size, int axis)
void * region_duplicate(void *regiondata)
bool regions_poll(const RegionPollParams *params)
void header_region_init(wmWindowManager *wm, ARegion *region)
void region_draw(const bContext *C, ARegion *region)
void region_message_subscribe(const wmRegionMessageSubscribeParams *params)
void region_layout(const bContext *C, ARegion *region)
void region_free(ARegion *region)
bool split_poll_space_image(const bContext *C, wmGizmoGroupType *)
void split_setup(const bContext *, wmGizmoGroup *gzgroup)
void split_refresh(const bContext *C, wmGizmoGroup *gzgroup)
void box_mask_refresh(const bContext *C, wmGizmoGroup *gzgroup)
bool crop_poll_space_image(const bContext *C, wmGizmoGroupType *)
void translate_setup(const bContext *, wmGizmoGroup *gzgroup)
void glare_draw_prepare_space_image(const bContext *C, wmGizmoGroup *gzgroup)
void corner_pin_refresh(const bContext *C, wmGizmoGroup *gzgroup)
void glare_setup(const bContext *, wmGizmoGroup *gzgroup)
bool box_mask_poll_space_image(const bContext *C, wmGizmoGroupType *)
void box_mask_setup(const bContext *, wmGizmoGroup *gzgroup)
bool glare_poll_space_image(const bContext *C, wmGizmoGroupType *)
void transform_setup(const bContext *, wmGizmoGroup *gzgroup)
void transform_refresh(const bContext *C, wmGizmoGroup *gzgroup)
bool translate_poll_space_image(const bContext *C, wmGizmoGroupType *)
void bbox_draw_prepare_space_image(const bContext *C, wmGizmoGroup *gzgroup)
bool transform_poll_space_image(const bContext *C, wmGizmoGroupType *)
void corner_pin_setup(const bContext *, wmGizmoGroup *gzgroup)
void ellipse_mask_setup(const bContext *, wmGizmoGroup *gzgroup)
void translate_refresh(const bContext *C, wmGizmoGroup *gzgroup)
bool ellipse_mask_poll_space_image(const bContext *C, wmGizmoGroupType *)
void corner_pin_draw_prepare_space_image(const bContext *C, wmGizmoGroup *gzgroup)
void crop_refresh(const bContext *C, wmGizmoGroup *gzgroup)
void scale_refresh(const bContext *C, wmGizmoGroup *gzgroup)
void glare_refresh(const bContext *C, wmGizmoGroup *gzgroup)
bool scale_poll_space_image(const bContext *C, wmGizmoGroupType *)
void crop_setup(const bContext *, wmGizmoGroup *gzgroup)
bool corner_pin_poll_space_image(const bContext *C, wmGizmoGroupType *)
void scale_setup(const bContext *, wmGizmoGroup *gzgroup)
void view2d_view_ortho(const View2D *v2d)
void view2d_view_restore(const bContext *C)
ARegionType * ED_area_type_hud(int space_type)
void view2d_view_to_region(const View2D *v2d, float x, float y, int *r_region_x, int *r_region_y) ATTR_NONNULL()
PanelCategoryStack * panel_category_active_find(ARegion *region, const char *idname)
void VIEW2D_GGT_navigate_impl(wmGizmoGroupType *gzgt, const char *idname)
void BKE_image_user_frame_calc(Image *ima, ImageUser *iuser, int cfra)
void WM_operatortype_append(void(*opfunc)(wmOperatorType *))
static void image_widgets()
void IMAGE_OT_rotate_orthogonal(wmOperatorType *ot)
static void image_header_region_draw(const bContext *C, ARegion *region)
ScrArea * CTX_wm_area(const bContext *C)
void DRW_draw_view(const bContext *C)
static int image_context(const bContext *C, const char *member, bContextDataResult *result)
Object * BKE_view_layer_active_object_get(const ViewLayer *view_layer)
void IMAGE_OT_tile_remove(wmOperatorType *ot)
void IMAGE_OT_view_pan(wmOperatorType *ot)
void draw_image_cache(const bContext *C, ARegion *region)
Scene * CTX_data_sequencer_scene(const bContext *C)
static SpaceLink * image_create(const ScrArea *, const Scene *)
static void IMAGE_GGT_navigate(wmGizmoGroupType *gzgt)
void ED_region_generic_tools_region_message_subscribe(const wmRegionMessageSubscribeParams *params)
void ED_space_image_auto_set(const bContext *C, SpaceImage *sima)
void CTX_data_dir_set(bContextDataResult *result, const char **dir)
void IMAGE_OT_view_zoom_border(wmOperatorType *ot)
static int image_space_subtype_get(ScrArea *area)
void ED_space_image_get_aspect(SpaceImage *sima, float *r_aspx, float *r_aspy)
void IMAGE_OT_replace(wmOperatorType *ot)
void IMAGE_OT_read_viewlayers(wmOperatorType *ot)
void BLI_addhead(ListBase *listbase, void *vlink) ATTR_NONNULL(1)
@ REGION_DRAW_LOCK_BAKING
bool ED_space_image_check_show_maskedit(SpaceImage *sima, Object *obedit)
@ RGN_TYPE_ASSET_SHELF_HEADER
static void image_free(SpaceLink *sl)
void IMAGE_OT_clipboard_copy(wmOperatorType *ot)
static void image_tools_header_region_draw(const bContext *C, ARegion *region)
void ED_uvedit_buttons_register(ARegionType *art)
void IMAGE_OT_sample(wmOperatorType *ot)
const char * image_context_dir[]
void ED_spacetype_image()
static void image_buttons_region_init(wmWindowManager *wm, ARegion *region)
static void image_space_blend_read_data(BlendDataReader *, SpaceLink *sl)
ImBuf * ED_space_image_acquire_buffer(SpaceImage *sima, void **r_lock, int tile, const bool ensure_host_buffer)
void IMAGE_OT_view_all(wmOperatorType *ot)
void IMAGE_OT_clear_render_border(wmOperatorType *ot)
void ED_region_overlay_info_text_draw(const int render_size_x, const int render_size_y, const int viewer_size_x, const int viewer_size_y, const int draw_offset_x, const int draw_offset_y)
void ED_space_image_get_size(SpaceImage *sima, int *r_width, int *r_height)
void draw_image_main_helpers(const bContext *C, ARegion *region)
void IMAGE_OT_invert(wmOperatorType *ot)
static void image_keymap(wmKeyConfig *keyconf)
void IMAGE_OT_view_center_cursor(wmOperatorType *ot)
static void IMAGE_GGT_compositor_ellipse_mask(wmGizmoGroupType *gzgt)
static void IMAGE_GGT_gizmo2d_rotate(wmGizmoGroupType *gzgt)
enum eContextObjectMode CTX_data_mode_enum(const bContext *C)
static void IMAGE_GGT_compositor_corner_pin(wmGizmoGroupType *gzgt)
static void IMAGE_GGT_gizmo2d_translate(wmGizmoGroupType *gzgt)
@ SI_OVERLAY_SHOW_OVERLAYS
@ SI_OVERLAY_SHOW_GRID_BACKGROUND
@ SI_OVERLAY_DRAW_TEXT_INFO
@ SI_OVERLAY_DRAW_RENDER_REGION
static void * newdataadr(FileData *fd, const void *adr, int64_t *r_alloc_len=nullptr)
const rcti * ED_region_visible_rect(ARegion *region)
void IMAGE_OT_view_selected(wmOperatorType *ot)
bool CTX_data_equals(const char *member, const char *str)
void WM_gizmomap_tag_refresh(wmGizmoMap *gzmap)
void image_buttons_register(ARegionType *art)
static void image_init(Image *ima, eImageSource source, eImageType type)
ViewLayer * WM_window_get_active_view_layer(const wmWindow *win)
void ED_region_tag_redraw(ARegion *region)
void ED_space_image_release_buffer(SpaceImage *sima, ImBuf *ibuf, void *lock)
void IMAGE_OT_view_cursor_center(wmOperatorType *ot)
LibraryForeachIDFlag BKE_lib_query_foreachid_process_flags_get(const LibraryForeachIDData *data)
int RNA_enum_from_value(const EnumPropertyItem *item, const int value)
static void IMAGE_GGT_gizmo2d(wmGizmoGroupType *gzgt)
void BKE_render_resolution(const RenderData *r, const bool use_crop, int *r_width, int *r_height)
static void image_space_subtype_item_extend(bContext *, EnumPropertyItem **item, int *totitem)
void ED_paint_cursor_start(Paint *paint, bool(*poll)(bContext *C))
@ RGN_ALIGN_HIDE_WITH_PREV
static void image_listener(const wmSpaceTypeListenerParams *params)
static void image_foreach_id(SpaceLink *space_link, LibraryForeachIDData *data)
void CTX_data_id_pointer_set(bContextDataResult *result, ID *id)
static void image_operatortypes()
void IMAGE_OT_clipboard_paste(wmOperatorType *ot)
static StringRefNull image_space_name_get(const ScrArea *area)
BLI_INLINE int BLI_rcti_size_y(const struct rcti *rct)
void IMAGE_OT_sample_line(wmOperatorType *ot)
void IMAGE_OT_flip(wmOperatorType *ot)
void IMAGE_OT_cycle_render_slot(wmOperatorType *ot)
wmEventHandler_Dropbox * WM_event_add_dropbox_handler(ListBaseT< wmEventHandler > *handlers, ListBaseT< wmDropBox > *dropboxes)
Scene * WM_window_get_active_scene(const wmWindow *win)
VecBase< float, 2 > float2
void IMAGE_OT_open(wmOperatorType *ot)
bool ED_space_image_show_render(const SpaceImage *sima)
void * MEM_new_zeroed(size_t len, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1) ATTR_NONNULL(2)
int ED_region_generic_panel_region_snap_size(const ARegion *region, int size, int axis)
wmGizmoGroupTypeRef * WM_gizmogrouptype_append_and_link(wmGizmoMapType *gzmap_type, void(*wtfunc)(wmGizmoGroupType *))
void RNA_enum_items_add(EnumPropertyItem **items, int *totitem, const EnumPropertyItem *item)
static void image_buttons_region_layout(const bContext *C, ARegion *region)
Object * BKE_view_layer_edit_object_get(const ViewLayer *view_layer)
BMesh const char void * data
wmEventHandler_Keymap * WM_event_add_keymap_handler_v2d_mask(ListBaseT< wmEventHandler > *handlers, wmKeyMap *keymap)
void IMAGE_OT_add_render_slot(wmOperatorType *ot)
void ED_region_header_with_button_sections(const bContext *C, ARegion *region, ui::ButtonSectionsAlign align)
static void image_scopes_tag_refresh(ScrArea *area)
static void image_space_blend_write(BlendWriter *writer, SpaceLink *sl)
Object * CTX_data_edit_object(const bContext *C)
static void image_space_subtype_set(ScrArea *area, int value)
const EnumPropertyItem rna_enum_space_image_mode_items[]
static void image_header_region_listener(const wmRegionListenerParams *params)
void ED_region_panels(const bContext *C, ARegion *region)
static void IMAGE_GGT_compositor_scale(wmGizmoGroupType *gzgt)
static void image_dropboxes()
static void IMAGE_GGT_compositor_split(wmGizmoGroupType *gzgt)
void IMAGE_OT_file_browse(wmOperatorType *ot)
void BKE_annotations_blend_read_data(struct BlendDataReader *reader, struct bGPdata *gpd)
static void image_user_refresh_scene(const bContext *C, SpaceImage *sima)
static void image_main_region_set_view2d(SpaceImage *sima, ARegion *region)
bool BKE_view_layer_synced_ensure(const Main &bmain, const Scene *scene, ViewLayer *view_layer)
void IMAGE_OT_save_as(wmOperatorType *ot)
wmKeyMap * WM_keymap_ensure(wmKeyConfig *keyconf, const char *idname, int spaceid, int regionid)
void BKE_scopes_free(Scopes *scopes)
void ED_region_image_metadata_draw(int x, int y, const ImBuf *ibuf, const rctf *frame, float zoomx, float zoomy)
void draw_image_sample_line(SpaceImage *sima)
void ED_area_do_mgs_subscribe_for_tool_ui(const wmRegionMessageSubscribeParams *params)
wmEventHandler_Keymap * WM_event_add_keymap_handler(ListBaseT< wmEventHandler > *handlers, wmKeyMap *keymap)
void IMAGE_OT_tile_add(wmOperatorType *ot)
ARegion * BKE_area_region_new()
int ED_region_generic_tools_region_snap_size(const ARegion *region, int size, int axis)
void ED_region_panels_layout_ex(const bContext *C, ARegion *region, ListBaseT< PanelType > *paneltypes, wm::OpCallContext op_context, const char *contexts[], const char *category_override)
BLI_INLINE int BLI_rcti_size_x(const struct rcti *rct)
static SpaceLink * image_duplicate(SpaceLink *sl)
bool CTX_data_dir(const char *member)
static void image_header_region_init(wmWindowManager *, ARegion *region)
static void IMAGE_GGT_gizmo2d_resize(wmGizmoGroupType *gzgt)
void ED_space_image_scopes_update(const bContext *C, SpaceImage *sima, ImBuf *ibuf, bool use_view_settings)
static void image_id_remap(ScrArea *, SpaceLink *slink, const bke::id::IDRemapper &mappings)
void BLI_rcti_init(struct rcti *rect, int xmin, int xmax, int ymin, int ymax)
@ WM_GIZMOGROUPTYPE_DRAW_MODAL_ALL
@ WM_GIZMOGROUPTYPE_PERSISTENT
@ WM_GIZMOGROUPTYPE_DELAY_REFRESH_FOR_TWEAK
@ WM_GIZMOGROUPTYPE_TOOL_FALLBACK_KEYMAP
@ WM_GIZMOGROUPTYPE_DRAW_MODAL_EXCLUDE
void IMAGE_OT_tile_fill(wmOperatorType *ot)
void IMAGE_OT_remove_render_slot(wmOperatorType *ot)
ARegion * BKE_area_find_region_type(const ScrArea *area, int region_type)
SpaceImage * CTX_wm_space_image(const bContext *C)
@ V2D_SCROLL_VERTICAL_HIDE
void IMAGE_OT_save_all_modified(wmOperatorType *ot)
void IMAGE_OT_view_zoom_ratio(wmOperatorType *ot)
void IMAGE_OT_unpack(wmOperatorType *ot)
void IMAGE_OT_view_zoom(wmOperatorType *ot)
void IMAGE_OT_curves_point_set(wmOperatorType *ot)
static void image_main_region_listener(const wmRegionListenerParams *params)
Depsgraph * CTX_data_expect_evaluated_depsgraph(const bContext *C)
void BLI_addtail(ListBase *listbase, void *vlink) ATTR_NONNULL(1)
@ IMA_SHOW_SEQUENCER_SCENE
void BKE_scopes_new(Scopes *scopes)
static void image_tools_region_init(wmWindowManager *wm, ARegion *region)
static void image_tools_region_listener(const wmRegionListenerParams *params)
void BKE_spacetype_register(std::unique_ptr< SpaceType > st)
void WM_gizmomap_draw(wmGizmoMap *gzmap, const bContext *C, const eWM_GizmoFlagMapDrawStep drawstep)
void IMAGE_OT_render_border(wmOperatorType *ot)
void IMAGE_OT_change_frame(wmOperatorType *ot)
void ED_region_header_init(ARegion *region)
static int image_space_icon_get(const ScrArea *area)
bool ED_image_tools_paint_poll(bContext *C)
wmGizmoMapType * WM_gizmomaptype_ensure(const wmGizmoMapType_Params *gzmap_params)
@ UsePanelCategoriesSearch
void IMAGE_OT_clear_render_slot(wmOperatorType *ot)
void IMAGE_OT_reload(wmOperatorType *ot)
void ED_space_image_get_zoom(SpaceImage *sima, const ARegion *region, float *r_zoomx, float *r_zoomy)
static void image_tools_region_draw(const bContext *C, ARegion *region)
Scene * CTX_data_scene(const bContext *C)
static void IMAGE_GGT_compositor_transform(wmGizmoGroupType *gzgt)
wmKeyMap * WM_gizmogroup_setup_keymap_generic_maybe_drag(const wmGizmoGroupType *, wmKeyConfig *kc)
void ED_area_do_mgs_subscribe_for_tool_header(const wmRegionMessageSubscribeParams *params)
@ RGN_FLAG_HIDDEN_BY_USER
void ED_area_tag_refresh(ScrArea *area)
@ CTX_RESULT_MEMBER_NOT_FOUND
static void image_asset_shelf_region_init(wmWindowManager *wm, ARegion *region)
void IMAGE_OT_match_movie_length(wmOperatorType *ot)
static void image_buttons_region_draw(const bContext *C, ARegion *region)
@ ID_REMAP_APPLY_ENSURE_REAL
@ ID_REMAP_APPLY_UPDATE_REFCOUNT
@ IDWALK_CB_DIRECT_WEAK_LINK
ListBaseT< wmDropBox > * WM_dropboxmap_find(const char *idname, int spaceid, int regionid)
void IMAGE_OT_view_zoom_out(wmOperatorType *ot)
void IMAGE_OT_resize(wmOperatorType *ot)
void BLI_thread_unlock(int type)
void BKE_imageuser_default(ImageUser *iuser)
static void image_main_region_init(wmWindowManager *wm, ARegion *region)
void ED_region_header(const bContext *C, ARegion *region)
static void image_refresh(const bContext *C, ScrArea *area)
@ UV_FLAG_SHOW_SAME_IMAGE
void ED_region_panels_draw(const bContext *C, ARegion *region)
void ED_region_panels_init(wmWindowManager *wm, ARegion *region)
void ED_mask_draw_region(Depsgraph *depsgraph, Mask *mask, ARegion *region, bool show_overlays, MaskDrawFlag draw_flag, MaskDrawType draw_type, MaskOverlayMode overlay_mode, float blend_factor, int width_i, int height_i, float aspx, float aspy, bool do_scale_applied, bool do_draw_cb, float stabmat[4][4], const bContext *C)
Image * ED_space_image(const SpaceImage *sima)
bool ED_space_image_show_uvedit(const SpaceImage *sima, Object *obedit)
static void IMAGE_GGT_compositor_glare(wmGizmoGroupType *gzgt)
void BKE_histogram_update_sample_line(Histogram *hist, ImBuf *ibuf, const ColorManagedViewSettings *view_settings, const ColorManagedDisplaySettings *display_settings)
static void IMAGE_GGT_compositor_translate(wmGizmoGroupType *gzgt)
static void IMAGE_GGT_compositor_box_mask(wmGizmoGroupType *gzgt)
void ED_region_render_region_draw(int x, int y, const rcti *frame, float zoomx, float zoomy, float passepartout_alpha)
void IMAGE_OT_view_zoom_in(wmOperatorType *ot)
static void IMAGE_GGT_compositor_crop(wmGizmoGroupType *gzgt)
void IMAGE_OT_new(wmOperatorType *ot)
void BLI_thread_lock(int type)
static void image_main_region_draw(const bContext *C, ARegion *region)
wmGizmoGroupType * WM_gizmogrouptype_append(void(*wtfunc)(wmGizmoGroupType *))
Mask * ED_space_image_get_mask(const SpaceImage *sima)
@ WM_GIZMOMAP_DRAWSTEP_2D
static void image_buttons_region_listener(const wmRegionListenerParams *params)
void IMAGE_OT_pack(wmOperatorType *ot)
void BLI_rctf_init(struct rctf *rect, float xmin, float xmax, float ymin, float ymax)
void ED_area_tag_redraw(ScrArea *area)
Scene * ED_render_job_get_current_scene(const bContext *C)
std::array< const char *, 4 > ED_image_buttons_contexts(const bContext *C)
void IMAGE_OT_save(wmOperatorType *ot)
void IMAGE_OT_save_sequence(wmOperatorType *ot)
KERNEL_FEATURE_LIGHT_PASSES KERNEL_FEATURE_PATH_GUIDING float
void(*) on_user_resize(const ARegion *region)
int(*) snap_size(const ARegion *region, int size, int axis)
void *(*) duplicate(void *poin)
void(*) on_poll_success(const bContext *C, ARegion *region)
void(*) message_subscribe(const wmRegionMessageSubscribeParams *params)
bContextDataCallback context
void(*) draw(const bContext *C, ARegion *region)
void(*) listener(const wmRegionListenerParams *params)
void(*) layout(const bContext *C, ARegion *region)
bool(*) poll(const RegionPollParams *params)
ListBaseT< PanelType > paneltypes
void(*) init(wmWindowManager *wm, ARegion *region)
bke::ARegionRuntime * runtime
eRegion_Alignment alignment
void write_struct_cast(const void *data, BlendStructWriterTypedFn< T > fn=nullptr)
MaskOverlayMode overlay_mode
ColorManagedViewSettings view_settings
ColorManagedDisplaySettings display_settings
struct ToolSettings * toolsettings
ListBaseT< struct wmEventHandler > handlers
ListBaseT< ARegion > regionbase
ListBaseT< SpaceLink > spacedata
eSpaceImageOverlay_Flag flag
eSpaceImage_Gizmo_Flag gizmo_flag
SpaceImageOverlay overlay
struct Histogram sample_line_hist
int custom_grid_subdiv[2]
ListBaseT< ARegion > regionbase
eSpaceImage_Mode mode_prev
ListBaseT< wmEventHandler > handlers
struct ARegionType * type
wmGizmoGroupFnRefresh refresh
wmGizmoGroupFnSetupKeymap setup_keymap
wmGizmoMapType_Params gzmap_params
wmGizmoGroupFnDrawPrepare draw_prepare
eWM_GizmoFlagGroupTypeFlag flag
const wmNotifier * notifier
const wmNotifier * notifier