Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_windowmanager_types.h
| Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Lines | typedef struct ReportTimerInfo { | ||||
| float col[3]; | float col[3]; | ||||
| float grayscale; | float grayscale; | ||||
| float widthfac; | float widthfac; | ||||
| } ReportTimerInfo; | } ReportTimerInfo; | ||||
| /* reports need to be before wmWindowManager */ | /* reports need to be before wmWindowManager */ | ||||
| #ifndef WITH_INPUT_HMD | |||||
| # ifdef __GNUC__ | |||||
| # define hmd_view hmd_view __attribute__ ((deprecated)) | |||||
| # endif | |||||
| #endif | |||||
| struct HMDViewInfo { | |||||
| struct wmWindow *hmd_win; /* HMD (virtual reality) window. Stored to avoid lookups. */ | |||||
| char view_shade; /* rna_enum_viewport_shade_items */ | |||||
| char flag; | |||||
| char pad[6]; | |||||
| }; | |||||
| enum { | |||||
| HMD_VIEW_RENDER_OVERRIDE = (1 << 0), /* only render (equivalent to V3D_RENDER_OVERRIDE) */ | |||||
| }; | |||||
| /* windowmanager is saved, tag WMAN */ | /* windowmanager is saved, tag WMAN */ | ||||
| typedef struct wmWindowManager { | typedef struct wmWindowManager { | ||||
| ID id; | ID id; | ||||
| struct wmWindow *windrawable, *winactive; /* separate active from drawable */ | struct wmWindow *windrawable, *winactive; /* separate active from drawable */ | ||||
| ListBase windows; | ListBase windows; | ||||
| int initialized; /* set on file read */ | int initialized; /* set on file read */ | ||||
| Show All 15 Lines | typedef struct wmWindowManager { | ||||
| ListBase keyconfigs; /* known key configurations */ | ListBase keyconfigs; /* known key configurations */ | ||||
| struct wmKeyConfig *defaultconf; /* default configuration */ | struct wmKeyConfig *defaultconf; /* default configuration */ | ||||
| struct wmKeyConfig *addonconf; /* addon configuration */ | struct wmKeyConfig *addonconf; /* addon configuration */ | ||||
| struct wmKeyConfig *userconf; /* user configuration */ | struct wmKeyConfig *userconf; /* user configuration */ | ||||
| ListBase timers; /* active timers */ | ListBase timers; /* active timers */ | ||||
| struct wmTimer *autosavetimer; /* timer for auto save */ | struct wmTimer *autosavetimer; /* timer for auto save */ | ||||
| struct HMDViewInfo hmd_view; | |||||
| char is_interface_locked; /* indicates whether interface is locked for user interaction */ | char is_interface_locked; /* indicates whether interface is locked for user interaction */ | ||||
| char par[7]; | char par[7]; | ||||
| } wmWindowManager; | } wmWindowManager; | ||||
| #ifdef hmd_view | |||||
| # undef hmd_view | |||||
| #endif | |||||
| /* wmWindowManager.initialized */ | /* wmWindowManager.initialized */ | ||||
| enum { | enum { | ||||
| WM_INIT_WINDOW = (1<<0), | WM_INIT_WINDOW = (1<<0), | ||||
| WM_INIT_KEYMAP = (1<<1), | WM_INIT_KEYMAP = (1<<1), | ||||
| }; | }; | ||||
| /* IME is win32 only! */ | /* IME is win32 only! */ | ||||
| #ifndef WIN32 | #ifndef WIN32 | ||||
| ▲ Show 20 Lines • Show All 239 Lines • Show Last 20 Lines | |||||