|
Blender V5.3
|
Go to the source code of this file.
Classes | |
| struct | blender::ui::View2DEdgePanData |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
| namespace | blender::ui |
Macros | |
Defines for Scroll Bars | |
| #define | V2D_SCROLL_HEIGHT ((0.45f * U.widget_unit) + (2.0f * U.pixelsize)) |
| #define | V2D_SCROLL_WIDTH ((0.45f * U.widget_unit) + (2.0f * U.pixelsize)) |
| #define | V2D_SCROLL_MIN_ALPHA (0.4f) |
| #define | V2D_SCROLL_MIN_WIDTH ((5.0f * UI_SCALE_FAC) + (2.0f * U.pixelsize)) |
| #define | V2D_SCROLL_HIDE_WIDTH (AREAMINX * UI_SCALE_FAC) |
| #define | V2D_SCROLL_HIDE_HEIGHT (HEADERY * UI_SCALE_FAC) |
| #define | V2D_SCROLL_HANDLE_HEIGHT (0.6f * U.widget_unit) |
| #define | V2D_SCROLL_HANDLE_WIDTH (0.6f * U.widget_unit) |
| #define | V2D_SCROLL_HANDLE_SIZE_HOTSPOT (0.6f * U.widget_unit) |
| #define | V2D_SCROLL_THUMB_SIZE_MIN (30.0 * UI_SCALE_FAC) |
Define for #view2d_sync | |
| #define | V2D_LOCK_SET 0 |
| #define | V2D_LOCK_COPY 1 |
Macros | |
| #define | IN_2D_VERT_SCROLL(v2d, co) |
| #define | IN_2D_HORIZ_SCROLL(v2d, co) |
| #define | IN_2D_VERT_SCROLL_RECT(v2d, rct) |
| #define | IN_2D_HORIZ_SCROLL_RECT(v2d, rct) |
Operators | |
| #define | UI_MARKER_MARGIN_Y (34 * UI_SCALE_FAC) |
| #define | UI_TIME_SCRUB_MARGIN_Y (23 * UI_SCALE_FAC) |
| #define | UI_TIME_CACHE_MARGIN_Y (UI_TIME_SCRUB_MARGIN_Y / 6.0f) |
| #define | UI_ANIM_MINY (HEADERY * UI_SCALE_FAC * 1.1f) |
| #define | UI_MARKERS_MINY (HEADERY * UI_SCALE_FAC * 2.0f) |
| void | blender::ui::ED_operatortypes_view2d () |
| void | blender::ui::ED_keymap_view2d (wmKeyConfig *keyconf) |
| void | blender::ui::view2d_smooth_view (const bContext *C, ARegion *region, const rctf *cur, int smooth_viewtx) |
Generic 2D view with should allow drawing grids, panning, zooming, scrolling, .. etc.
Definition in file UI_view2d.hh.
| #define IN_2D_HORIZ_SCROLL | ( | v2d, | |
| co ) |
Definition at line 120 of file UI_view2d.hh.
Referenced by blender::ui::view2d_mouse_in_scrollers_ex().
| #define IN_2D_HORIZ_SCROLL_RECT | ( | v2d, | |
| rct ) |
Definition at line 123 of file UI_view2d.hh.
Referenced by blender::ui::view2d_rect_in_scrollers_ex().
| #define IN_2D_VERT_SCROLL | ( | v2d, | |
| co ) |
Definition at line 119 of file UI_view2d.hh.
Referenced by blender::ui::view2d_mouse_in_scrollers_ex().
| #define IN_2D_VERT_SCROLL_RECT | ( | v2d, | |
| rct ) |
Definition at line 122 of file UI_view2d.hh.
Referenced by blender::ui::view2d_rect_in_scrollers_ex().
| #define UI_ANIM_MINY (HEADERY * UI_SCALE_FAC * 1.1f) |
Definition at line 495 of file UI_view2d.hh.
Referenced by blender::action_main_region_draw(), blender::action_main_region_draw_overlay(), blender::ed::vse::draw_timeline_seq_display(), blender::ED_markers_region_visible(), blender::graph_main_region_draw(), blender::graph_main_region_draw_overlay(), blender::nla_main_region_draw(), blender::nla_main_region_draw_overlay(), and blender::nla_track_region_draw().
| #define UI_MARKER_MARGIN_Y (34 * UI_SCALE_FAC) |
Definition at line 492 of file UI_view2d.hh.
Referenced by blender::add_region_padding(), blender::ED_markers_region_visible(), blender::get_marker_region_rect(), blender::graphkeys_viewall(), blender::nla_track_region_draw(), blender::ed::vse::SEQ_get_timeline_region_padding(), blender::ed::vse::sequencer_clamped_view_bounds_get(), blender::set_v2d_height(), and blender::WM_event_handler_region_marker_poll().
| #define UI_MARKERS_MINY (HEADERY * UI_SCALE_FAC * 2.0f) |
Definition at line 496 of file UI_view2d.hh.
Referenced by blender::ed_markers_poll_markers_exist_visible().
| #define UI_TIME_CACHE_MARGIN_Y (UI_TIME_SCRUB_MARGIN_Y / 6.0f) |
Definition at line 494 of file UI_view2d.hh.
Referenced by blender::ed::vse::draw_cache_background(), blender::ed::vse::draw_cache_final_iter_fn(), and blender::ed::vse::SEQ_get_timeline_region_padding().
| #define UI_TIME_SCRUB_MARGIN_Y (23 * UI_SCALE_FAC) |
Definition at line 493 of file UI_view2d.hh.
Referenced by blender::add_region_padding(), blender::ANIM_UI_get_first_channel_top(), blender::area_snap_calc_location(), blender::ed::vse::draw_cache_background(), blender::ed::vse::draw_cache_final_iter_fn(), blender::ED_time_scrub_channel_search_draw(), blender::ED_time_scrub_clamp_scroller_mask(), blender::ED_time_scrub_event_in_region(), blender::ED_time_scrub_region_rect_get(), blender::graph_main_region_draw(), blender::graph_main_region_draw_overlay(), blender::graph_region_draw(), blender::graphkeys_viewall(), blender::ed::vse::pick_strip_and_handle(), blender::ed::vse::SEQ_get_timeline_region_padding(), and blender::ed::vse::sequencer_main_cursor().
| #define V2D_IS_CLIPPED 12000 |
Generic value to use when coordinate lies out of view when converting.
Definition at line 46 of file UI_view2d.hh.
Referenced by blender::annotation_stroke_eraser_dostroke(), blender::ed::vse::do_lasso_select_is_origin_inside(), blender::do_lasso_select_marker(), blender::do_lasso_select_mesh_uv_is_edge_inside(), blender::do_lasso_select_mesh_uv_is_point_inside(), blender::gpencil_point_to_xy(), blender::io::grease_pencil::GreasePencilExporter::project_to_screen(), blender::ed::vse::rcti_in_lasso(), blender::ui::view2d_view_to_region_clip(), blender::ui::view2d_view_to_region_rcti_clip(), and blender::ui::view2d_view_to_region_segment_clip().
| #define V2D_LOCK_COPY 1 |
Definition at line 110 of file UI_view2d.hh.
Referenced by blender::actkeys_viewall(), blender::clip_draw_dopesheet_channels(), blender::draw_channel_names(), blender::draw_nla_track_list(), blender::ui::edge_pan_apply_delta(), blender::nlaedit_viewall(), blender::ui::reset_exec(), blender::scene_range_frame_exec(), blender::ui::scroller_activate_apply(), blender::ed::vse::sequencer_view_all_preview_exec(), blender::ui::view2d_edge_pan_cancel(), blender::ui::view2d_smooth_view(), blender::ui::view2d_smoothview_invoke(), blender::ui::view2d_sync(), blender::ui::view_pan_apply_ex(), blender::ui::view_zoomdrag_apply(), and blender::ui::view_zoomstep_apply_ex().
| #define V2D_LOCK_SET 0 |
Definition at line 108 of file UI_view2d.hh.
| #define V2D_SCROLL_HANDLE_HEIGHT (0.6f * U.widget_unit) |
Scroll bars with 'handles' used for scale (zoom).
Definition at line 92 of file UI_view2d.hh.
Referenced by blender::add_region_padding(), blender::graphkeys_viewall(), blender::ed::vse::SEQ_get_timeline_region_padding(), blender::timeline_cache_draw_compositor(), blender::timeline_cache_draw_geometry_nodes(), blender::timeline_cache_draw_single(), and blender::ui::view2d_scroller_size_get().
| #define V2D_SCROLL_HANDLE_SIZE_HOTSPOT (0.6f * U.widget_unit) |
Scroll bar with 'handles' hot-spot radius for cursor proximity.
Definition at line 96 of file UI_view2d.hh.
Referenced by blender::ui::scrollbar_zone_get(), blender::ui::view2d_scrollers_calc(), and blender::ui::view2d_scrollers_draw().
| #define V2D_SCROLL_HANDLE_WIDTH (0.6f * U.widget_unit) |
Definition at line 93 of file UI_view2d.hh.
Referenced by blender::ui::view2d_scroller_size_get().
| #define V2D_SCROLL_HEIGHT ((0.45f * U.widget_unit) + (2.0f * U.pixelsize)) |
Scroll bar area.
Definition at line 78 of file UI_view2d.hh.
Referenced by blender::ED_fileselect_init_layout(), blender::ed::outliner::outliner_update_viewable_area(), and blender::ui::view2d_scroller_size_get().
| #define V2D_SCROLL_HIDE_HEIGHT (HEADERY * UI_SCALE_FAC) |
Definition at line 89 of file UI_view2d.hh.
Referenced by blender::area_actionzone_get_rect(), and blender::area_actionzone_refresh_xy().
| #define V2D_SCROLL_HIDE_WIDTH (AREAMINX * UI_SCALE_FAC) |
Definition at line 88 of file UI_view2d.hh.
Referenced by blender::area_actionzone_get_rect(), and blender::area_actionzone_refresh_xy().
| #define V2D_SCROLL_MIN_ALPHA (0.4f) |
Definition at line 82 of file UI_view2d.hh.
Referenced by blender::ui::view2d_scrollers_draw().
| #define V2D_SCROLL_MIN_WIDTH ((5.0f * UI_SCALE_FAC) + (2.0f * U.pixelsize)) |
Definition at line 85 of file UI_view2d.hh.
Referenced by blender::ui::view2d_scroller_size_get().
| #define V2D_SCROLL_THUMB_SIZE_MIN (30.0 * UI_SCALE_FAC) |
Don't allow scroll thumb to show below this size (so it's never too small to click on).
Definition at line 99 of file UI_view2d.hh.
Referenced by blender::ui::view2d_scrollers_calc().
| #define V2D_SCROLL_WIDTH ((0.45f * U.widget_unit) + (2.0f * U.pixelsize)) |
Definition at line 79 of file UI_view2d.hh.
Referenced by blender::ANIM_channel_draw(), blender::ui::TreeViewLayoutBuilder::build_from_tree(), blender::console_textview_draw_rect_calc(), blender::ED_spacetype_ipo(), blender::graph_draw_channel_names(), blender::info_textview_draw_rect_calc(), blender::ed::outliner::outliner_draw_restrictbuts(), blender::ed::outliner::outliner_draw_userbuts(), blender::ed::outliner::outliner_right_columns_width(), blender::ed::spreadsheet::register_spacetype(), blender::ui::template_uilist_layout_draw(), and blender::ui::view2d_scroller_size_get().