Blender V2.61 - r43446
|
Go to the source code of this file.
Definition in file image_intern.h.
void draw_image_grease_pencil | ( | struct bContext * | C, |
short | onlyv2d | ||
) |
Definition at line 627 of file image_draw.c.
References CTX_wm_space_data(), draw_gpencil_2dimage(), draw_gpencil_view2d(), ED_space_image_acquire_buffer(), and ED_space_image_release_buffer().
Referenced by image_main_area_draw().
void draw_image_main | ( | struct SpaceImage * | sima, |
struct ARegion * | ar, | ||
struct Scene * | scene | ||
) |
Definition at line 751 of file image_draw.c.
References RenderData::cfra, RenderData::disprect, draw_image_buffer(), draw_image_buffer_repeated(), draw_image_buffer_tiled(), draw_image_grid(), draw_image_paint_helpers(), draw_render_info(), ED_image_aspect(), ED_space_image(), ED_space_image_acquire_buffer(), ED_space_image_release_buffer(), ED_space_image_zoom(), SpaceImage::flag, G, IMA_SRC_VIEWER, IMA_TILES, IMA_TYPE_COMPOSITE, IMA_TYPE_R_RESULT, SpaceImage::image, SpaceImage::iuser, Scene::nodetree, ntree_get_active_iuser(), NULL, Scene::r, SI_DRAW_TILE, SI_DRAWTOOL, Image::source, Image::tpageflag, Image::type, rcti::xmin, and rcti::ymin.
Referenced by image_main_area_draw().
void image_buttons_register | ( | struct ARegionType * | art | ) |
Definition at line 889 of file image_buttons.c.
References BLI_addtail(), PanelType::draw, PanelType::flag, gpencil_panel_standard(), PanelType::idname, image_panel_curves(), image_panel_poll(), PanelType::label, MEM_callocN(), ARegionType::paneltypes, PNL_DEFAULT_CLOSED, and PanelType::poll.
Referenced by ED_spacetype_image().
Definition at line 327 of file space_image.c.
References ARegion::alignment, BKE_area_find_region_type(), BLI_insertlinkafter(), ARegion::flag, MEM_callocN(), NULL, ScrArea::regionbase, ARegion::regiontype, RGN_ALIGN_LEFT, RGN_FLAG_HIDDEN, RGN_TYPE_HEADER, and RGN_TYPE_UI.
Referenced by image_properties().
Definition at line 351 of file space_image.c.
References ARegion::alignment, BKE_area_find_region_type(), BLI_insertlinkafter(), ARegion::flag, image_scopes_tag_refresh(), MEM_callocN(), NULL, ScrArea::regionbase, ARegion::regiontype, RGN_ALIGN_RIGHT, RGN_FLAG_HIDDEN, RGN_TYPE_PREVIEW, and RGN_TYPE_UI.
Referenced by image_scopes().
void IMAGE_OT_curves_point_set | ( | struct wmOperatorType * | ot | ) |
Definition at line 2071 of file image_ops.c.
References wmOperatorType::cancel, wmOperatorType::flag, wmOperatorType::idname, image_sample_cancel(), image_sample_invoke(), image_sample_modal(), wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, RNA_def_enum(), space_image_main_area_poll(), and wmOperatorType::srna.
Referenced by image_operatortypes().
void IMAGE_OT_cycle_render_slot | ( | struct wmOperatorType * | ot | ) |
Definition at line 2285 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, image_cycle_render_slot_exec(), image_cycle_render_slot_poll(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by image_operatortypes().
void IMAGE_OT_invert | ( | struct wmOperatorType * | ot | ) |
Definition at line 1567 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, image_invert_exec(), image_invert_poll(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by image_operatortypes().
void IMAGE_OT_new | ( | struct wmOperatorType * | ot | ) |
Definition at line 1474 of file image_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, image_new_exec(), image_new_invoke(), wmOperatorType::invoke, MAX_ID_NAME, wmOperatorType::name, NULL, OPTYPE_UNDO, RNA_def_boolean(), RNA_def_float_color(), RNA_def_int(), RNA_def_property_float_array_default(), RNA_def_string(), and wmOperatorType::srna.
Referenced by image_operatortypes().
void IMAGE_OT_open | ( | struct wmOperatorType * | ot | ) |
Definition at line 831 of file image_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, FILE_OPENFILE, FILE_SPECIAL, wmOperatorType::flag, FOLDERFILE, wmOperatorType::idname, image_open_cancel(), image_open_exec(), image_open_invoke(), IMAGEFILE, wmOperatorType::invoke, MOVIEFILE, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by image_operatortypes().
void IMAGE_OT_pack | ( | struct wmOperatorType * | ot | ) |
Definition at line 1655 of file image_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, image_pack_exec(), image_pack_invoke(), wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by image_operatortypes().
void IMAGE_OT_properties | ( | struct wmOperatorType * | ot | ) |
Definition at line 919 of file image_buttons.c.
References wmOperatorType::description, ED_operator_image_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, image_properties(), wmOperatorType::name, and wmOperatorType::poll.
Referenced by image_operatortypes().
void IMAGE_OT_record_composite | ( | struct wmOperatorType * | ot | ) |
Definition at line 2230 of file image_ops.c.
References wmOperatorType::cancel, wmOperatorType::exec, wmOperatorType::idname, image_record_composite_cancel(), image_record_composite_exec(), image_record_composite_invoke(), image_record_composite_modal(), wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, wmOperatorType::poll, and space_image_buffer_exists_poll().
Referenced by image_operatortypes().
void IMAGE_OT_reload | ( | struct wmOperatorType * | ot | ) |
Definition at line 1395 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, image_reload_exec(), wmOperatorType::name, and OPTYPE_REGISTER.
Referenced by image_operatortypes().
void IMAGE_OT_replace | ( | struct wmOperatorType * | ot | ) |
Definition at line 892 of file image_ops.c.
References wmOperatorType::exec, FILE_OPENFILE, FILE_SPECIAL, wmOperatorType::flag, FOLDERFILE, wmOperatorType::idname, image_replace_exec(), image_replace_invoke(), IMAGEFILE, wmOperatorType::invoke, MOVIEFILE, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, space_image_poll(), WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by image_operatortypes().
void IMAGE_OT_sample | ( | struct wmOperatorType * | ot | ) |
Definition at line 1942 of file image_ops.c.
References wmOperatorType::cancel, wmOperatorType::flag, wmOperatorType::idname, image_sample_cancel(), image_sample_invoke(), image_sample_modal(), wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, wmOperatorType::poll, and space_image_main_area_poll().
Referenced by image_operatortypes().
void IMAGE_OT_sample_line | ( | struct wmOperatorType * | ot | ) |
Definition at line 2050 of file image_ops.c.
References wmOperatorType::cancel, CURSOR_EDIT, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, image_sample_line_exec(), image_sample_line_invoke(), wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, wmOperatorType::poll, space_image_main_area_poll(), WM_gesture_straightline_cancel(), WM_gesture_straightline_modal(), and WM_operator_properties_gesture_straightline().
Referenced by image_operatortypes().
void IMAGE_OT_save | ( | struct wmOperatorType * | ot | ) |
Definition at line 1283 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, image_save_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, and space_image_file_exists_poll().
Referenced by image_operatortypes().
void IMAGE_OT_save_as | ( | struct wmOperatorType * | ot | ) |
Definition at line 1235 of file image_ops.c.
References wmOperatorType::cancel, wmOperatorType::check, wmOperatorType::exec, FILE_SAVE, FILE_SPECIAL, wmOperatorType::flag, FOLDERFILE, wmOperatorType::idname, image_save_as_cancel(), image_save_as_check(), image_save_as_draw(), image_save_as_exec(), image_save_as_invoke(), IMAGEFILE, wmOperatorType::invoke, MOVIEFILE, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, RNA_def_boolean(), space_image_buffer_exists_poll(), wmOperatorType::srna, wmOperatorType::ui, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by image_operatortypes().
void IMAGE_OT_save_sequence | ( | struct wmOperatorType * | ot | ) |
Definition at line 1360 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, image_save_sequence_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, and space_image_buffer_exists_poll().
Referenced by image_operatortypes().
void IMAGE_OT_scopes | ( | struct wmOperatorType * | ot | ) |
Definition at line 943 of file image_buttons.c.
References wmOperatorType::description, ED_operator_image_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, image_scopes(), wmOperatorType::name, and wmOperatorType::poll.
Referenced by image_operatortypes().
void IMAGE_OT_toolbox | ( | struct wmOperatorType * | ot | ) |
void IMAGE_OT_unpack | ( | struct wmOperatorType * | ot | ) |
Definition at line 1732 of file image_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, image_unpack_exec(), image_unpack_invoke(), wmOperatorType::invoke, MAX_ID_NAME, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, PF_USE_LOCAL, RNA_def_enum(), RNA_def_string(), wmOperatorType::srna, and unpack_method_items.
Referenced by image_operatortypes().
void IMAGE_OT_view_all | ( | struct wmOperatorType * | ot | ) |
Definition at line 547 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::idname, image_view_all_exec(), wmOperatorType::name, wmOperatorType::poll, and space_image_main_area_poll().
Referenced by image_operatortypes().
void IMAGE_OT_view_ndof | ( | struct wmOperatorType * | ot | ) |
Definition at line 494 of file image_ops.c.
References wmOperatorType::idname, image_view_ndof_invoke(), wmOperatorType::invoke, and wmOperatorType::name.
Referenced by image_operatortypes().
void IMAGE_OT_view_pan | ( | struct wmOperatorType * | ot | ) |
Definition at line 295 of file image_ops.c.
References wmOperatorType::cancel, wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, image_view_pan_cancel(), image_view_pan_exec(), image_view_pan_invoke(), image_view_pan_modal(), wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OPTYPE_BLOCKING, wmOperatorType::poll, RNA_def_float_vector(), space_image_main_area_poll(), and wmOperatorType::srna.
Referenced by image_operatortypes().
void IMAGE_OT_view_selected | ( | struct wmOperatorType * | ot | ) |
Definition at line 608 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::idname, image_view_selected_exec(), image_view_selected_poll(), wmOperatorType::name, and wmOperatorType::poll.
Referenced by image_operatortypes().
void IMAGE_OT_view_zoom | ( | struct wmOperatorType * | ot | ) |
Definition at line 426 of file image_ops.c.
References wmOperatorType::cancel, wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, image_view_zoom_cancel(), image_view_zoom_exec(), image_view_zoom_invoke(), image_view_zoom_modal(), wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, wmOperatorType::poll, RNA_def_float(), space_image_main_area_poll(), and wmOperatorType::srna.
Referenced by image_operatortypes().
void IMAGE_OT_view_zoom_in | ( | struct wmOperatorType * | ot | ) |
Definition at line 633 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::idname, image_view_zoom_in_exec(), wmOperatorType::name, wmOperatorType::poll, and space_image_main_area_poll().
Referenced by image_operatortypes().
void IMAGE_OT_view_zoom_out | ( | struct wmOperatorType * | ot | ) |
Definition at line 656 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::idname, image_view_zoom_out_exec(), wmOperatorType::name, wmOperatorType::poll, and space_image_main_area_poll().
Referenced by image_operatortypes().
void IMAGE_OT_view_zoom_ratio | ( | struct wmOperatorType * | ot | ) |
Definition at line 694 of file image_ops.c.
References wmOperatorType::exec, FLT_MAX, wmOperatorType::idname, image_view_zoom_ratio_exec(), wmOperatorType::name, wmOperatorType::poll, RNA_def_float(), space_image_main_area_poll(), and wmOperatorType::srna.
Referenced by image_operatortypes().
Definition at line 158 of file image_buttons.c.
References CMP_NODE_SPLITVIEWER, CMP_NODE_VIEWER, ELEM, ListBase::first, bNode::flag, bNode::next, NODE_DO_OUTPUT, bNodeTree::nodes, NULL, bNode::storage, and bNode::type.
Referenced by draw_image_main(), and uiTemplateImage().
int space_image_main_area_poll | ( | struct bContext * | C | ) |
Definition at line 170 of file image_ops.c.
References CTX_wm_space_image().
Referenced by IMAGE_OT_curves_point_set(), IMAGE_OT_sample(), IMAGE_OT_sample_line(), IMAGE_OT_view_all(), IMAGE_OT_view_pan(), IMAGE_OT_view_zoom(), IMAGE_OT_view_zoom_in(), IMAGE_OT_view_zoom_out(), IMAGE_OT_view_zoom_ratio(), and image_view_selected_poll().
const char* image_context_dir[] |
Definition at line 689 of file space_image.c.