Blender V2.61 - r43446
Classes | Defines | Typedefs

DNA_view2d_types.h File Reference

#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

Detailed Description

Definition in file DNA_view2d_types.h.


Define Documentation

#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)
#define V2D_ALIGN_NO_NEG_Y   (1<<3)
#define V2D_ALIGN_NO_POS_X   (1<<0)
#define V2D_ALIGN_NO_POS_Y   (1<<2)
#define V2D_IS_INITIALISED   (1<<10)
#define V2D_KEEPASPECT   0x0002
#define V2D_KEEPOFS_X   (1<<3)
#define V2D_KEEPOFS_Y   (1<<4)
#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
#define V2D_KEEPZOOM   0x0004
#define V2D_LIMITZOOM   0x0001
#define V2D_LOCKOFS_X   (1<<1)
#define V2D_LOCKOFS_Y   (1<<2)
#define V2D_LOCKZOOM_X   0x0100
#define V2D_LOCKZOOM_Y   0x0200
#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)
#define V2D_SCROLL_BOTTOM_O   (1<<4)
#define V2D_SCROLL_H_ACTIVE   (1<<0)
#define V2D_SCROLL_HORIZONTAL   (V2D_SCROLL_TOP|V2D_SCROLL_BOTTOM|V2D_SCROLL_BOTTOM_O)
#define V2D_SCROLL_HORIZONTAL_FULLR   (1<<10)
#define V2D_SCROLL_HORIZONTAL_HIDE   (1<<8)
#define V2D_SCROLL_LEFT   (1<<0)
#define V2D_SCROLL_RIGHT   (1<<1)
#define V2D_SCROLL_SCALE_HORIZONTAL   (1<<6)
#define V2D_SCROLL_SCALE_VERTICAL   (1<<5)
#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)
#define V2D_SCROLL_VERTICAL   (V2D_SCROLL_LEFT|V2D_SCROLL_RIGHT)
#define V2D_SCROLL_VERTICAL_FULLR   (1<<9)
#define V2D_SCROLL_VERTICAL_HIDE   (1<<7)
#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().


Typedef Documentation

typedef struct View2D View2D