Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_userdef_types.h
| Show First 20 Lines • Show All 595 Lines • ▼ Show 20 Lines | typedef struct UserDef { | ||||
| short pie_animation_timeout; | short pie_animation_timeout; | ||||
| short pie_menu_confirm; | short pie_menu_confirm; | ||||
| short pie_menu_radius; /* pie menu radius */ | short pie_menu_radius; /* pie menu radius */ | ||||
| short pie_menu_threshold; /* pie menu distance from center before a direction is set */ | short pie_menu_threshold; /* pie menu distance from center before a direction is set */ | ||||
| struct WalkNavigation walk_navigation; | struct WalkNavigation walk_navigation; | ||||
| short opensubdiv_compute_type; | short opensubdiv_compute_type; | ||||
| char pad5[6]; | short gpencil_multisamples; /* eMultiSample_Type, amount of samples for Grease Pencil */ | ||||
| char pad5[4]; | |||||
| } UserDef; | } UserDef; | ||||
| extern UserDef U; /* from blenkernel blender.c */ | extern UserDef U; /* from blenkernel blender.c */ | ||||
| /* ***************** USERDEF ****************** */ | /* ***************** USERDEF ****************** */ | ||||
| /* UserDef.userpref (UI active_section) */ | /* UserDef.userpref (UI active_section) */ | ||||
| typedef enum eUserPref_Section { | typedef enum eUserPref_Section { | ||||
| ▲ Show 20 Lines • Show All 284 Lines • ▼ Show 20 Lines | typedef enum eNdof_Flag { | ||||
| NDOF_PANX_INVERT_AXIS = (1 << 12), | NDOF_PANX_INVERT_AXIS = (1 << 12), | ||||
| NDOF_PANY_INVERT_AXIS = (1 << 13), | NDOF_PANY_INVERT_AXIS = (1 << 13), | ||||
| NDOF_PANZ_INVERT_AXIS = (1 << 14), | NDOF_PANZ_INVERT_AXIS = (1 << 14), | ||||
| NDOF_TURNTABLE = (1 << 15), | NDOF_TURNTABLE = (1 << 15), | ||||
| } eNdof_Flag; | } eNdof_Flag; | ||||
| #define NDOF_PIXELS_PER_SECOND 600.0f | #define NDOF_PIXELS_PER_SECOND 600.0f | ||||
| /* UserDef.ogl_multisamples */ | /* UserDef.ogl_multisamples and gpencil_multisamples */ | ||||
| typedef enum eMultiSample_Type { | typedef enum eMultiSample_Type { | ||||
| USER_MULTISAMPLE_NONE = 0, | USER_MULTISAMPLE_NONE = 0, | ||||
| USER_MULTISAMPLE_2 = 2, | USER_MULTISAMPLE_2 = 2, | ||||
| USER_MULTISAMPLE_4 = 4, | USER_MULTISAMPLE_4 = 4, | ||||
| USER_MULTISAMPLE_8 = 8, | USER_MULTISAMPLE_8 = 8, | ||||
| USER_MULTISAMPLE_16 = 16, | USER_MULTISAMPLE_16 = 16, | ||||
| } eMultiSample_Type; | } eMultiSample_Type; | ||||
| Show All 29 Lines | |||||