Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/manipulators/WM_manipulator_types.h
| Show First 20 Lines • Show All 335 Lines • ▼ Show 20 Lines | typedef struct wmManipulatorGroupTypeRef { | ||||
| struct wmManipulatorGroupTypeRef *next, *prev; | struct wmManipulatorGroupTypeRef *next, *prev; | ||||
| struct wmManipulatorGroupType *type; | struct wmManipulatorGroupType *type; | ||||
| } wmManipulatorGroupTypeRef; | } wmManipulatorGroupTypeRef; | ||||
| /* factory class for a manipulator-group type, gets called every time a new area is spawned */ | /* factory class for a manipulator-group type, gets called every time a new area is spawned */ | ||||
| typedef struct wmManipulatorGroupType { | typedef struct wmManipulatorGroupType { | ||||
| const char *idname; /* MAX_NAME */ | const char *idname; /* MAX_NAME */ | ||||
| const char *name; /* manipulator-group name - displayed in UI (keymap editor) */ | const char *name; /* manipulator-group name - displayed in UI (keymap editor) */ | ||||
| char ui_tag[64]; /* MAX_NAME */ | |||||
| /* poll if manipulator-map should be visible */ | /* poll if manipulator-map should be visible */ | ||||
| wmManipulatorGroupFnPoll poll; | wmManipulatorGroupFnPoll poll; | ||||
| /* initially create manipulators and set permanent data - stuff you only need to do once */ | /* initially create manipulators and set permanent data - stuff you only need to do once */ | ||||
| wmManipulatorGroupFnInit setup; | wmManipulatorGroupFnInit setup; | ||||
| /* refresh data, only called if recreate flag is set (WM_manipulatormap_tag_refresh) */ | /* refresh data, only called if recreate flag is set (WM_manipulatormap_tag_refresh) */ | ||||
| wmManipulatorGroupFnRefresh refresh; | wmManipulatorGroupFnRefresh refresh; | ||||
| /* refresh data for drawing, called before each redraw */ | /* refresh data for drawing, called before each redraw */ | ||||
| ▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines | |||||