Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_windowmanager_types.h
| Show First 20 Lines • Show All 167 Lines • ▼ Show 20 Lines | |||||
| /* wmWindowManager.initialized */ | /* wmWindowManager.initialized */ | ||||
| enum { | enum { | ||||
| WM_WINDOW_IS_INITIALIZED = (1<<0), | WM_WINDOW_IS_INITIALIZED = (1<<0), | ||||
| WM_KEYCONFIG_IS_INITIALIZED = (1<<1), | WM_KEYCONFIG_IS_INITIALIZED = (1<<1), | ||||
| }; | }; | ||||
| #define WM_KEYCONFIG_STR_DEFAULT "blender" | #define WM_KEYCONFIG_STR_DEFAULT "blender" | ||||
| /* IME is win32 only! */ | #ifndef WITH_IM_ONTHESPOT | ||||
| #ifndef WIN32 | |||||
| # ifdef __GNUC__ | # ifdef __GNUC__ | ||||
| # define ime_data ime_data __attribute__ ((deprecated)) | # define im_data im_data __attribute__ ((deprecated)) | ||||
| # endif | # endif | ||||
| #endif | #endif | ||||
| /* the saveable part, rest of data is local in ghostwinlay */ | /* the saveable part, rest of data is local in ghostwinlay */ | ||||
| typedef struct wmWindow { | typedef struct wmWindow { | ||||
| struct wmWindow *next, *prev; | struct wmWindow *next, *prev; | ||||
| void *ghostwin; /* don't want to include ghost.h stuff */ | void *ghostwin; /* don't want to include ghost.h stuff */ | ||||
| Show All 29 Lines | typedef struct wmWindow { | ||||
| short lock_pie_event; /* internal, lock pie creation from this event until released */ | short lock_pie_event; /* internal, lock pie creation from this event until released */ | ||||
| short last_pie_event; /* exception to the above rule for nested pies, store last pie event for operators | short last_pie_event; /* exception to the above rule for nested pies, store last pie event for operators | ||||
| * that spawn a new pie right after destruction of last pie */ | * that spawn a new pie right after destruction of last pie */ | ||||
| struct wmEvent *eventstate; /* storage for event system */ | struct wmEvent *eventstate; /* storage for event system */ | ||||
| struct wmGesture *tweak; /* internal for wm_operators.c */ | struct wmGesture *tweak; /* internal for wm_operators.c */ | ||||
| /* Input Method Editor data - complex character input (esp. for asian character input) | /* Input Method data - complex character input (esp. for asian character input) | ||||
| * Currently WIN32, runtime-only data */ | * Currently WIN32, runtime-only data */ | ||||
| struct wmIMEData *ime_data; | struct wmIMData *im_data; | ||||
| ListBase queue; /* all events (ghost level events were handled) */ | ListBase queue; /* all events (ghost level events were handled) */ | ||||
| ListBase handlers; /* window+screen handlers, handled last */ | ListBase handlers; /* window+screen handlers, handled last */ | ||||
| ListBase modalhandlers; /* priority handlers, handled first */ | ListBase modalhandlers; /* priority handlers, handled first */ | ||||
| ListBase gesture; /* gesture stuff */ | ListBase gesture; /* gesture stuff */ | ||||
| struct Stereo3dFormat *stereo3d_format; /* properties for stereoscopic displays */ | struct Stereo3dFormat *stereo3d_format; /* properties for stereoscopic displays */ | ||||
| /* custom drawing callbacks */ | /* custom drawing callbacks */ | ||||
| ListBase drawcalls; | ListBase drawcalls; | ||||
| /* Private runtime info to show text in the status bar. */ | /* Private runtime info to show text in the status bar. */ | ||||
| void *cursor_keymap_status; | void *cursor_keymap_status; | ||||
| } wmWindow; | } wmWindow; | ||||
| #ifdef ime_data | #ifdef im_data | ||||
| # undef ime_data | # undef im_data | ||||
| #endif | #endif | ||||
| /* These two Lines with # tell makesdna this struct can be excluded. */ | /* These two Lines with # tell makesdna this struct can be excluded. */ | ||||
| /* should be something like DNA_EXCLUDE | /* should be something like DNA_EXCLUDE | ||||
| * but the preprocessor first removes all comments, spaces etc */ | * but the preprocessor first removes all comments, spaces etc */ | ||||
| # | # | ||||
| # | # | ||||
| typedef struct wmOperatorTypeMacro { | typedef struct wmOperatorTypeMacro { | ||||
| ▲ Show 20 Lines • Show All 195 Lines • Show Last 20 Lines | |||||