Go to the source code of this file.
|
enum | {
V2D_LIMITZOOM = (1 << 0)
, V2D_KEEPASPECT = (1 << 1)
, V2D_KEEPZOOM = (1 << 2)
, V2D_LOCKZOOM_X = (1 << 8)
,
V2D_LOCKZOOM_Y = (1 << 9)
} |
|
enum | { V2D_LOCKOFS_X = (1 << 1)
, V2D_LOCKOFS_Y = (1 << 2)
, V2D_KEEPOFS_X = (1 << 3)
, V2D_KEEPOFS_Y = (1 << 4)
} |
|
enum | { V2D_KEEPTOT_FREE = 0
, V2D_KEEPTOT_BOUNDS = 1
, V2D_KEEPTOT_STRICT = 2
} |
|
enum | {
V2D_VIEWSYNC_SCREEN_TIME = (1 << 0)
, V2D_VIEWSYNC_AREA_VERTICAL = (1 << 1)
, V2D_PIXELOFS_X = (1 << 2)
, V2D_PIXELOFS_Y = (1 << 3)
,
V2D_IS_NAVIGATING = (1 << 9)
, V2D_IS_INIT = (1 << 10)
} |
|
enum | {
V2D_SCROLL_LEFT = (1 << 0)
, V2D_SCROLL_RIGHT = (1 << 1)
, V2D_SCROLL_VERTICAL = (V2D_SCROLL_LEFT | V2D_SCROLL_RIGHT)
, V2D_SCROLL_TOP = (1 << 2)
,
V2D_SCROLL_BOTTOM = (1 << 3)
, V2D_SCROLL_HORIZONTAL = (V2D_SCROLL_TOP | V2D_SCROLL_BOTTOM)
, V2D_SCROLL_VERTICAL_HANDLES = (1 << 5)
, V2D_SCROLL_HORIZONTAL_HANDLES = (1 << 6)
,
V2D_SCROLL_VERTICAL_HIDE = (1 << 7)
, V2D_SCROLL_HORIZONTAL_HIDE = (1 << 8)
, V2D_SCROLL_VERTICAL_FULLR = (1 << 9)
, V2D_SCROLL_HORIZONTAL_FULLR = (1 << 10)
} |
|
enum | { V2D_SCROLL_H_ACTIVE = (1 << 0)
, V2D_SCROLL_V_ACTIVE = (1 << 1)
} |
|
enum | {
V2D_ALIGN_FREE = 0
, V2D_ALIGN_NO_POS_X = (1 << 0)
, V2D_ALIGN_NO_NEG_X = (1 << 1)
, V2D_ALIGN_NO_POS_Y = (1 << 2)
,
V2D_ALIGN_NO_NEG_Y = (1 << 3)
} |
|
◆ View2D
View 2D data - stored per region.
◆ anonymous enum
View zooming restrictions, per axis (View2D.keepzoom)
Enumerator |
---|
V2D_LIMITZOOM | |
V2D_KEEPASPECT | |
V2D_KEEPZOOM | |
V2D_LOCKZOOM_X | |
V2D_LOCKZOOM_Y | |
Definition at line 71 of file DNA_view2d_types.h.
◆ anonymous enum
◆ anonymous enum
View extent restrictions (View2D.keeptot).
Enumerator |
---|
V2D_KEEPTOT_FREE | 'cur' view can be out of extents of 'tot'
|
V2D_KEEPTOT_BOUNDS | 'cur' rect is adjusted so that it satisfies the extents of 'tot', with some compromises
|
V2D_KEEPTOT_STRICT | 'cur' rect is moved so that the 'minimum' bounds of the 'tot' rect are always respected (particularly in x-axis)
|
Definition at line 97 of file DNA_view2d_types.h.
◆ anonymous enum
General refresh settings (View2D.flag).
Enumerator |
---|
V2D_VIEWSYNC_SCREEN_TIME | |
V2D_VIEWSYNC_AREA_VERTICAL | |
V2D_PIXELOFS_X | |
V2D_PIXELOFS_Y | |
V2D_IS_NAVIGATING | |
V2D_IS_INIT | |
Definition at line 108 of file DNA_view2d_types.h.
◆ anonymous enum
Scroller flags for View2D (View2D.scroll).
Enumerator |
---|
V2D_SCROLL_LEFT | |
V2D_SCROLL_RIGHT | |
V2D_SCROLL_VERTICAL | |
V2D_SCROLL_TOP | |
V2D_SCROLL_BOTTOM | |
V2D_SCROLL_HORIZONTAL | |
V2D_SCROLL_VERTICAL_HANDLES | |
V2D_SCROLL_HORIZONTAL_HANDLES | |
V2D_SCROLL_VERTICAL_HIDE | |
V2D_SCROLL_HORIZONTAL_HIDE | |
V2D_SCROLL_VERTICAL_FULLR | |
V2D_SCROLL_HORIZONTAL_FULLR | |
Definition at line 126 of file DNA_view2d_types.h.
◆ anonymous enum
scroll_ui, activate flag for drawing.
Enumerator |
---|
V2D_SCROLL_H_ACTIVE | |
V2D_SCROLL_V_ACTIVE | |
Definition at line 150 of file DNA_view2d_types.h.
◆ anonymous enum
Alignment flags for totrect
, flags use 'shading-out' convention (View2D.align).
Enumerator |
---|
V2D_ALIGN_FREE | |
V2D_ALIGN_NO_POS_X | |
V2D_ALIGN_NO_NEG_X | |
V2D_ALIGN_NO_POS_Y | |
V2D_ALIGN_NO_NEG_Y | |
Definition at line 158 of file DNA_view2d_types.h.