Blender V2.61 - r43446
|
#include "DNA_vec_types.h"
Go to the source code of this file.
Classes | |
struct | View2D |
Defines | |
#define | V2D_LIMITZOOM 0x0001 |
#define | V2D_KEEPASPECT 0x0002 |
#define | V2D_KEEPZOOM 0x0004 |
#define | V2D_LOCKZOOM_X 0x0100 |
#define | V2D_LOCKZOOM_Y 0x0200 |
#define | V2D_LOCKOFS_X (1<<1) |
#define | V2D_LOCKOFS_Y (1<<2) |
#define | V2D_KEEPOFS_X (1<<3) |
#define | V2D_KEEPOFS_Y (1<<4) |
#define | V2D_KEEPTOT_FREE 0 |
#define | V2D_KEEPTOT_BOUNDS 1 |
#define | V2D_KEEPTOT_STRICT 2 |
#define | V2D_VIEWSYNC_SCREEN_TIME (1<<0) |
#define | V2D_VIEWSYNC_AREA_VERTICAL (1<<1) |
#define | V2D_PIXELOFS_X (1<<2) |
#define | V2D_PIXELOFS_Y (1<<3) |
#define | V2D_IS_INITIALISED (1<<10) |
#define | V2D_SCROLL_LEFT (1<<0) |
#define | V2D_SCROLL_RIGHT (1<<1) |
#define | V2D_SCROLL_VERTICAL (V2D_SCROLL_LEFT|V2D_SCROLL_RIGHT) |
#define | V2D_SCROLL_TOP (1<<2) |
#define | V2D_SCROLL_BOTTOM (1<<3) |
#define | V2D_SCROLL_BOTTOM_O (1<<4) |
#define | V2D_SCROLL_HORIZONTAL (V2D_SCROLL_TOP|V2D_SCROLL_BOTTOM|V2D_SCROLL_BOTTOM_O) |
#define | V2D_SCROLL_SCALE_VERTICAL (1<<5) |
#define | V2D_SCROLL_SCALE_HORIZONTAL (1<<6) |
#define | V2D_SCROLL_VERTICAL_HIDE (1<<7) |
#define | V2D_SCROLL_HORIZONTAL_HIDE (1<<8) |
#define | V2D_SCROLL_VERTICAL_FULLR (1<<9) |
#define | V2D_SCROLL_HORIZONTAL_FULLR (1<<10) |
#define | V2D_SCROLL_H_ACTIVE (1<<0) |
#define | V2D_SCROLL_V_ACTIVE (1<<1) |
#define | V2D_ALIGN_FREE 0 |
#define | V2D_ALIGN_NO_POS_X (1<<0) |
#define | V2D_ALIGN_NO_NEG_X (1<<1) |
#define | V2D_ALIGN_NO_POS_Y (1<<2) |
#define | V2D_ALIGN_NO_NEG_Y (1<<3) |
Typedefs | |
typedef struct View2D | View2D |
Definition in file DNA_view2d_types.h.
#define V2D_ALIGN_FREE 0 |
Definition at line 140 of file DNA_view2d_types.h.
Referenced by sequencer_init_preview_region(), and sequencer_new().
#define V2D_ALIGN_NO_NEG_X (1<<1) |
Definition at line 143 of file DNA_view2d_types.h.
Referenced by area_add_header_region(), area_add_window_regions(), console_new(), do_versions(), file_new(), info_new(), outliner_new(), reset_exec(), UI_view2d_curRect_reset(), UI_view2d_curRect_validate_resize(), UI_view2d_listview_cell_to_view(), UI_view2d_region_reinit(), and UI_view2d_totRect_set_resize().
#define V2D_ALIGN_NO_NEG_Y (1<<3) |
Definition at line 146 of file DNA_view2d_types.h.
Referenced by area_add_header_region(), area_add_window_regions(), console_new(), do_versions(), info_new(), reset_exec(), sequencer_new(), time_new(), UI_view2d_curRect_reset(), UI_view2d_curRect_validate_resize(), UI_view2d_listview_cell_to_view(), UI_view2d_region_reinit(), and UI_view2d_totRect_set_resize().
#define V2D_ALIGN_NO_POS_X (1<<0) |
Definition at line 142 of file DNA_view2d_types.h.
Referenced by reset_exec(), UI_view2d_curRect_reset(), UI_view2d_curRect_validate_resize(), UI_view2d_listview_cell_to_view(), UI_view2d_totRect_set_resize(), and view_zoomstep_apply().
#define V2D_ALIGN_NO_POS_Y (1<<2) |
Definition at line 145 of file DNA_view2d_types.h.
Referenced by action_new(), area_add_window_regions(), ED_region_panels_init(), file_new(), nla_new(), outliner_new(), reset_exec(), UI_view2d_curRect_reset(), UI_view2d_curRect_validate_resize(), UI_view2d_listview_cell_to_view(), UI_view2d_region_reinit(), UI_view2d_totRect_set_resize(), and view_zoomstep_apply().
#define V2D_IS_INITIALISED (1<<10) |
Definition at line 110 of file DNA_view2d_types.h.
Referenced by area_add_window_regions(), clip_refresh(), ED_area_initialize(), ED_region_panels_init(), sequencer_refresh(), UI_view2d_region_reinit(), and view2d_poll().
#define V2D_KEEPASPECT 0x0002 |
Definition at line 74 of file DNA_view2d_types.h.
Referenced by area_add_header_region(), area_add_window_regions(), console_new(), do_versions(), file_new(), info_new(), logic_new(), node_new(), outliner_new(), sequencer_init_preview_region(), sequencer_new(), UI_view2d_curRect_validate_resize(), and UI_view2d_region_reinit().
#define V2D_KEEPOFS_X (1<<3) |
Definition at line 88 of file DNA_view2d_types.h.
Referenced by ED_region_panels(), UI_view2d_curRect_validate_resize(), and view_zoomstep_apply().
#define V2D_KEEPOFS_Y (1<<4) |
Definition at line 90 of file DNA_view2d_types.h.
Referenced by action_new(), ED_region_panels(), nla_new(), UI_view2d_curRect_validate_resize(), and view_zoomstep_apply().
#define V2D_KEEPTOT_BOUNDS 1 |
Definition at line 96 of file DNA_view2d_types.h.
Referenced by console_new(), do_versions(), info_new(), and UI_view2d_region_reinit().
#define V2D_KEEPTOT_FREE 0 |
Definition at line 94 of file DNA_view2d_types.h.
Referenced by sequencer_init_preview_region(), and sequencer_new().
#define V2D_KEEPTOT_STRICT 2 |
Definition at line 98 of file DNA_view2d_types.h.
Referenced by area_add_header_region(), area_add_window_regions(), file_new(), outliner_new(), UI_view2d_curRect_validate_resize(), and UI_view2d_region_reinit().
#define V2D_KEEPZOOM 0x0004 |
Definition at line 76 of file DNA_view2d_types.h.
Referenced by ED_region_panels_init(), sequencer_init_preview_region(), sequencer_new(), UI_view2d_curRect_validate_resize(), and UI_view2d_region_reinit().
#define V2D_LIMITZOOM 0x0001 |
Definition at line 72 of file DNA_view2d_types.h.
Referenced by area_add_header_region(), area_add_window_regions(), console_new(), do_versions(), file_new(), info_new(), logic_new(), node_new(), outliner_new(), UI_view2d_curRect_validate_resize(), and UI_view2d_region_reinit().
#define V2D_LOCKOFS_X (1<<1) |
Definition at line 84 of file DNA_view2d_types.h.
Referenced by console_new(), do_versions(), ED_region_panels(), file_main_area_draw(), info_new(), scroller_activate_apply(), scroller_activate_invoke(), UI_view2d_curRect_validate_resize(), view_pan_apply(), view_pan_init(), view_pan_invoke(), view_scrollleft_exec(), view_scrollright_exec(), view_zoomdrag_apply(), view_zoomdrag_invoke(), and view_zoomstep_apply().
#define V2D_LOCKOFS_Y (1<<2) |
Definition at line 86 of file DNA_view2d_types.h.
Referenced by area_add_header_region(), area_add_window_regions(), ED_region_panels(), file_main_area_draw(), scroller_activate_apply(), scroller_activate_invoke(), time_new(), UI_view2d_curRect_validate_resize(), UI_view2d_region_reinit(), view_pan_apply(), view_pan_init(), view_pan_invoke(), view_scrolldown_exec(), view_scrollup_exec(), view_zoomdrag_apply(), view_zoomdrag_invoke(), and view_zoomstep_apply().
#define V2D_LOCKZOOM_X 0x0100 |
Definition at line 78 of file DNA_view2d_types.h.
Referenced by area_add_header_region(), area_add_window_regions(), console_new(), do_versions(), file_new(), info_new(), outliner_new(), scroller_activate_apply(), scroller_activate_init(), UI_view2d_curRect_validate_resize(), UI_view2d_region_reinit(), UI_view2d_scrollers_draw(), view_borderzoom_exec(), view_zoom_poll(), view_zoomdrag_apply(), view_zoomdrag_init(), view_zoomdrag_modal(), and view_zoomstep_apply().
#define V2D_LOCKZOOM_Y 0x0200 |
Definition at line 80 of file DNA_view2d_types.h.
Referenced by action_new(), area_add_header_region(), area_add_window_regions(), console_new(), do_versions(), file_new(), info_new(), nla_new(), outliner_new(), scroller_activate_apply(), scroller_activate_init(), time_new(), UI_view2d_curRect_validate_resize(), UI_view2d_region_reinit(), UI_view2d_scrollers_draw(), view_borderzoom_exec(), view_zoom_poll(), view_zoomdrag_apply(), view_zoomdrag_init(), view_zoomdrag_modal(), and view_zoomstep_apply().
#define V2D_PIXELOFS_X (1<<2) |
Definition at line 106 of file DNA_view2d_types.h.
Referenced by area_add_header_region(), draw_outliner(), and UI_view2d_view_ortho().
#define V2D_PIXELOFS_Y (1<<3) |
Definition at line 108 of file DNA_view2d_types.h.
Referenced by area_add_header_region(), draw_outliner(), and UI_view2d_view_ortho().
#define V2D_SCROLL_BOTTOM (1<<3) |
Definition at line 119 of file DNA_view2d_types.h.
Referenced by action_new(), area_add_window_regions(), ED_region_panels_init(), file_main_area_draw(), file_new(), graph_new(), init_preview_region(), logic_new(), nla_new(), node_new(), sequencer_new(), time_new(), ui_mouse_inside_region(), UI_view2d_region_reinit(), UI_view2d_scrollers_calc(), and view2d_masks().
#define V2D_SCROLL_BOTTOM_O (1<<4) |
Definition at line 121 of file DNA_view2d_types.h.
Referenced by area_add_window_regions(), outliner_new(), ui_mouse_inside_region(), and view2d_masks().
#define V2D_SCROLL_H_ACTIVE (1<<0) |
Definition at line 135 of file DNA_view2d_types.h.
Referenced by scroller_activate_exit(), scroller_activate_invoke(), and UI_view2d_scrollers_draw().
#define V2D_SCROLL_HORIZONTAL (V2D_SCROLL_TOP|V2D_SCROLL_BOTTOM|V2D_SCROLL_BOTTOM_O) |
Definition at line 122 of file DNA_view2d_types.h.
Referenced by UI_view2d_mouse_in_scrollers(), UI_view2d_scrollers_calc(), UI_view2d_scrollers_draw(), UI_view2d_totRect_set_resize(), view2d_masks(), and view2d_scroll_mapped().
#define V2D_SCROLL_HORIZONTAL_FULLR (1<<10) |
Definition at line 132 of file DNA_view2d_types.h.
Referenced by scroller_activate_invoke(), ui_mouse_inside_region(), and UI_view2d_scrollers_calc().
#define V2D_SCROLL_HORIZONTAL_HIDE (1<<8) |
Definition at line 129 of file DNA_view2d_types.h.
Referenced by ED_region_panels(), ED_region_panels_init(), scroller_activate_invoke(), ui_mouse_inside_region(), UI_view2d_region_reinit(), view2d_masks(), and view2d_scroll_mapped().
#define V2D_SCROLL_LEFT (1<<0) |
Definition at line 114 of file DNA_view2d_types.h.
Referenced by area_add_window_regions(), graph_new(), init_preview_region(), sequencer_new(), ui_mouse_inside_region(), UI_view2d_scrollers_calc(), and view2d_masks().
#define V2D_SCROLL_RIGHT (1<<1) |
Definition at line 115 of file DNA_view2d_types.h.
Referenced by action_new(), area_add_window_regions(), console_new(), do_versions(), ED_region_panels_init(), file_main_area_draw(), file_new(), graph_new(), info_new(), logic_new(), nla_new(), node_new(), outliner_new(), ui_mouse_inside_region(), UI_view2d_region_reinit(), and view2d_masks().
#define V2D_SCROLL_SCALE_HORIZONTAL (1<<6) |
Definition at line 126 of file DNA_view2d_types.h.
Referenced by action_new(), area_add_window_regions(), graph_new(), init_preview_region(), nla_new(), scroller_activate_invoke(), sequencer_new(), time_new(), UI_view2d_scrollers_calc(), UI_view2d_scrollers_draw(), and view2d_masks().
#define V2D_SCROLL_SCALE_VERTICAL (1<<5) |
Definition at line 124 of file DNA_view2d_types.h.
Referenced by area_add_window_regions(), graph_new(), init_preview_region(), scroller_activate_invoke(), sequencer_new(), UI_view2d_scrollers_calc(), UI_view2d_scrollers_draw(), and view2d_masks().
#define V2D_SCROLL_TOP (1<<2) |
Definition at line 118 of file DNA_view2d_types.h.
Referenced by ui_mouse_inside_region(), and view2d_masks().
#define V2D_SCROLL_V_ACTIVE (1<<1) |
Definition at line 136 of file DNA_view2d_types.h.
Referenced by scroller_activate_exit(), scroller_activate_invoke(), and UI_view2d_scrollers_draw().
#define V2D_SCROLL_VERTICAL (V2D_SCROLL_LEFT|V2D_SCROLL_RIGHT) |
Definition at line 116 of file DNA_view2d_types.h.
Referenced by UI_view2d_mouse_in_scrollers(), UI_view2d_scrollers_calc(), UI_view2d_scrollers_draw(), UI_view2d_totRect_set_resize(), view2d_masks(), and view2d_scroll_mapped().
#define V2D_SCROLL_VERTICAL_FULLR (1<<9) |
Definition at line 131 of file DNA_view2d_types.h.
Referenced by scroller_activate_invoke(), ui_mouse_inside_region(), and UI_view2d_scrollers_calc().
#define V2D_SCROLL_VERTICAL_HIDE (1<<7) |
Definition at line 128 of file DNA_view2d_types.h.
Referenced by ED_region_panels(), ED_region_panels_init(), scroller_activate_invoke(), ui_mouse_inside_region(), UI_view2d_region_reinit(), view2d_masks(), and view2d_scroll_mapped().
#define V2D_VIEWSYNC_AREA_VERTICAL (1<<1) |
Definition at line 104 of file DNA_view2d_types.h.
Referenced by action_new(), area_add_window_regions(), nla_new(), and UI_view2d_sync().
#define V2D_VIEWSYNC_SCREEN_TIME (1<<0) |
Definition at line 102 of file DNA_view2d_types.h.
Referenced by UI_view2d_sync().