Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_view2d_types.h
| Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | typedef struct View2D { | ||||
| short winx, winy; | short winx, winy; | ||||
| /** Storage of previous winx/winy values encountered by UI_view2d_curRect_validate(), | /** Storage of previous winx/winy values encountered by UI_view2d_curRect_validate(), | ||||
| * for keepaspect. */ | * for keepaspect. */ | ||||
| short oldwinx, oldwiny; | short oldwinx, oldwiny; | ||||
| /** Pivot point for transforms (rotate and scale). */ | /** Pivot point for transforms (rotate and scale). */ | ||||
| short around; | short around; | ||||
| /** Different offset per tab, for buttons. */ | |||||
| float *tab_offset; | |||||
| /** Number of tabs stored. */ | |||||
| int tab_num; | |||||
| /** Current tab. */ | |||||
| int tab_cur; | |||||
| /* Usually set externally (as in, not in view2d files). */ | /* Usually set externally (as in, not in view2d files). */ | ||||
| /** Alpha of vertical and horizontal scrollbars (range is [0, 255]). */ | /** Alpha of vertical and horizontal scrollbars (range is [0, 255]). */ | ||||
| char alpha_vert, alpha_hor; | char alpha_vert, alpha_hor; | ||||
| char _pad[6]; | char _pad[6]; | ||||
| /* animated smooth view */ | /* animated smooth view */ | ||||
| struct SmoothView2DStore *sms; | struct SmoothView2DStore *sms; | ||||
| struct wmTimer *smooth_timer; | struct wmTimer *smooth_timer; | ||||
| ▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines | |||||