Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_windowmanager_types.h
| Show First 20 Lines • Show All 158 Lines • ▼ Show 20 Lines | |||||
| } wmWindowManager; | } wmWindowManager; | ||||
| /* 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! */ | #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 savable part, rest of data is local in ghostwinlay */ | /* the savable 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 21 Lines | 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 wmSubWindow *curswin; /* internal for wm_subwindow.c only */ | struct wmSubWindow *curswin; /* internal for wm_subwindow.c only */ | ||||
| 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; | ||||
| int drawmethod, drawfail; /* internal for wm_draw.c only */ | int drawmethod, drawfail; /* internal for wm_draw.c only */ | ||||
| ListBase drawdata; /* internal for wm_draw.c only */ | ListBase drawdata; /* internal for wm_draw.c only */ | ||||
| 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 subwindows; /* opengl stuff for sub windows, see notes in wm_subwindow.c */ | ListBase subwindows; /* opengl stuff for sub windows, see notes in wm_subwindow.c */ | ||||
| ListBase gesture; /* gesture stuff */ | ListBase gesture; /* gesture stuff */ | ||||
| struct Stereo3dFormat *stereo3d_format; /* properties for stereoscopic displays */ | struct Stereo3dFormat *stereo3d_format; /* properties for stereoscopic displays */ | ||||
| } 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 173 Lines • Show Last 20 Lines | |||||