| 
									
										
										
										
											2016-10-07 16:34:55 +02:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * ***** BEGIN GPL LICENSE BLOCK ***** | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This program is free software; you can redistribute it and/or | 
					
						
							|  |  |  |  * modify it under the terms of the GNU General Public License | 
					
						
							|  |  |  |  * as published by the Free Software Foundation; either version 2 | 
					
						
							|  |  |  |  * of the License, or (at your option) any later version. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This program is distributed in the hope that it will be useful, | 
					
						
							|  |  |  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
					
						
							|  |  |  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
					
						
							|  |  |  |  * GNU General Public License for more details. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * You should have received a copy of the GNU General Public License | 
					
						
							|  |  |  |  * along with this program; if not, write to the Free Software Foundation, | 
					
						
							|  |  |  |  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * The Original Code is Copyright (C) 2016 Blender Foundation. | 
					
						
							|  |  |  |  * All rights reserved. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Contributor(s): none yet. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * ***** END GPL LICENSE BLOCK ***** | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /** \file blender/windowmanager/manipulators/WM_manipulator_api.h
 | 
					
						
							|  |  |  |  *  \ingroup wm | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * \name Manipulator API | 
					
						
							|  |  |  |  * \brief API for external use of wmManipulator types. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Only included in WM_api.h | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef __WM_MANIPULATOR_API_H__
 | 
					
						
							|  |  |  | #define __WM_MANIPULATOR_API_H__
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | struct ARegion; | 
					
						
							| 
									
										
										
										
											2017-06-08 05:27:14 +10:00
										 |  |  | struct GHashIterator; | 
					
						
							| 
									
										
										
										
											2017-06-26 08:19:55 +10:00
										 |  |  | struct IDProperty; | 
					
						
							| 
									
										
										
										
											2016-10-07 16:34:55 +02:00
										 |  |  | struct Main; | 
					
						
							| 
									
										
										
										
											2017-06-22 18:29:45 +10:00
										 |  |  | struct PropertyRNA; | 
					
						
							| 
									
										
										
										
											2016-10-07 16:34:55 +02:00
										 |  |  | struct wmKeyConfig; | 
					
						
							| 
									
										
										
										
											2017-06-06 17:07:26 +10:00
										 |  |  | struct wmManipulator; | 
					
						
							| 
									
										
										
										
											2017-06-10 10:42:35 +10:00
										 |  |  | struct wmManipulatorProperty; | 
					
						
							| 
									
										
										
										
											2017-06-22 18:29:45 +10:00
										 |  |  | struct wmManipulatorPropertyType; | 
					
						
							| 
									
										
										
										
											2017-06-08 05:27:14 +10:00
										 |  |  | struct wmManipulatorType; | 
					
						
							| 
									
										
										
										
											2017-06-06 17:07:26 +10:00
										 |  |  | struct wmManipulatorGroup; | 
					
						
							| 
									
										
										
										
											2016-10-07 16:34:55 +02:00
										 |  |  | struct wmManipulatorGroupType; | 
					
						
							|  |  |  | struct wmManipulatorMap; | 
					
						
							|  |  |  | struct wmManipulatorMapType; | 
					
						
							|  |  |  | struct wmManipulatorMapType_Params; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-06 17:07:26 +10:00
										 |  |  | #include "wm_manipulator_fn.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-10-07 16:34:55 +02:00
										 |  |  | /* -------------------------------------------------------------------- */ | 
					
						
							|  |  |  | /* wmManipulator */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-10 10:42:35 +10:00
										 |  |  | struct wmManipulator *WM_manipulator_new_ptr( | 
					
						
							| 
									
										
										
										
											2017-06-21 13:54:46 +10:00
										 |  |  |         const struct wmManipulatorType *wt, struct wmManipulatorGroup *mgroup, | 
					
						
							|  |  |  |         const char *name, struct PointerRNA *properties); | 
					
						
							| 
									
										
										
										
											2016-10-07 16:34:55 +02:00
										 |  |  | struct wmManipulator *WM_manipulator_new( | 
					
						
							| 
									
										
										
										
											2017-06-21 13:54:46 +10:00
										 |  |  |         const char *idname, struct wmManipulatorGroup *mgroup, | 
					
						
							|  |  |  |         const char *name, struct PointerRNA *properties); | 
					
						
							| 
									
										
										
										
											2017-06-10 10:42:35 +10:00
										 |  |  | void WM_manipulator_free( | 
					
						
							|  |  |  |         ListBase *manipulatorlist, struct wmManipulatorMap *mmap, struct wmManipulator *mpr, | 
					
						
							| 
									
										
										
										
											2016-10-07 16:34:55 +02:00
										 |  |  |         struct bContext *C); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-26 13:16:25 +10:00
										 |  |  | void WM_manipulator_name_set(struct wmManipulatorGroup *mgroup, struct wmManipulator *mpr, const char *name); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-26 08:19:55 +10:00
										 |  |  | struct PointerRNA *WM_manipulator_set_operator( | 
					
						
							|  |  |  |         struct wmManipulator *, struct wmOperatorType *ot, struct IDProperty *properties); | 
					
						
							| 
									
										
										
										
											2017-06-06 17:07:26 +10:00
										 |  |  | 
 | 
					
						
							|  |  |  | /* callbacks */ | 
					
						
							| 
									
										
										
										
											2017-06-10 10:42:35 +10:00
										 |  |  | void WM_manipulator_set_fn_custom_modal(struct wmManipulator *mpr, wmManipulatorFnModal fn); | 
					
						
							| 
									
										
										
										
											2016-10-07 16:34:55 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-18 07:43:45 +10:00
										 |  |  | void WM_manipulator_set_matrix_location( | 
					
						
							|  |  |  |         struct wmManipulator *mpr, const float origin[3]); | 
					
						
							|  |  |  | void WM_manipulator_set_matrix_rotation_from_z_axis( | 
					
						
							|  |  |  |         struct wmManipulator *mpr, const float z_axis[3]); | 
					
						
							|  |  |  | void WM_manipulator_set_matrix_rotation_from_yz_axis( | 
					
						
							|  |  |  |         struct wmManipulator *mpr, const float y_axis[3], const float z_axis[3]); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void WM_manipulator_set_matrix_offset_location( | 
					
						
							|  |  |  |         struct wmManipulator *mpr, const float origin[3]); | 
					
						
							|  |  |  | void WM_manipulator_set_matrix_offset_rotation_from_z_axis( | 
					
						
							|  |  |  |         struct wmManipulator *mpr, const float z_axis[3]); | 
					
						
							|  |  |  | void WM_manipulator_set_matrix_offset_rotation_from_yz_axis( | 
					
						
							|  |  |  |         struct wmManipulator *mpr, const float y_axis[3], const float z_axis[3]); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-10 10:42:35 +10:00
										 |  |  | void WM_manipulator_set_flag(struct wmManipulator *mpr, const int flag, const bool enable); | 
					
						
							|  |  |  | void WM_manipulator_set_scale(struct wmManipulator *mpr, float scale); | 
					
						
							|  |  |  | void WM_manipulator_set_line_width(struct wmManipulator *mpr, const float line_width); | 
					
						
							| 
									
										
										
										
											2016-10-07 16:34:55 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-10 10:42:35 +10:00
										 |  |  | void WM_manipulator_get_color(const struct wmManipulator *mpr, float col[4]); | 
					
						
							|  |  |  | void WM_manipulator_set_color(struct wmManipulator *mpr, const float col[4]); | 
					
						
							|  |  |  | void WM_manipulator_get_color_highlight(const struct wmManipulator *mpr, float col_hi[4]); | 
					
						
							|  |  |  | void WM_manipulator_set_color_highlight(struct wmManipulator *mpr, const float col[4]); | 
					
						
							| 
									
										
										
										
											2017-06-08 05:27:14 +10:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-21 13:54:46 +10:00
										 |  |  | /* properties */ | 
					
						
							|  |  |  | void WM_manipulator_properties_create_ptr(struct PointerRNA *ptr, struct wmManipulatorType *wt); | 
					
						
							|  |  |  | void WM_manipulator_properties_create(struct PointerRNA *ptr, const char *opstring); | 
					
						
							|  |  |  | void WM_manipulator_properties_alloc(struct PointerRNA **ptr, struct IDProperty **properties, const char *wtstring); | 
					
						
							|  |  |  | void WM_manipulator_properties_sanitize(struct PointerRNA *ptr, const bool no_context); | 
					
						
							|  |  |  | bool WM_manipulator_properties_default(struct PointerRNA *ptr, const bool do_update); | 
					
						
							|  |  |  | void WM_manipulator_properties_reset(struct wmManipulator *op); | 
					
						
							|  |  |  | void WM_manipulator_properties_clear(struct PointerRNA *ptr); | 
					
						
							|  |  |  | void WM_manipulator_properties_free(struct PointerRNA *ptr); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  | /* wm_manipulator_type.c */ | 
					
						
							| 
									
										
										
										
											2017-06-08 05:27:14 +10:00
										 |  |  | const struct wmManipulatorType *WM_manipulatortype_find(const char *idname, bool quiet); | 
					
						
							| 
									
										
										
										
											2017-06-10 10:42:35 +10:00
										 |  |  | void WM_manipulatortype_append(void (*wtfunc)(struct wmManipulatorType *)); | 
					
						
							| 
									
										
										
										
											2017-06-08 05:27:14 +10:00
										 |  |  | void WM_manipulatortype_append_ptr(void (*mnpfunc)(struct wmManipulatorType *, void *), void *userdata); | 
					
						
							| 
									
										
										
										
											2017-07-17 14:33:12 +10:00
										 |  |  | bool WM_manipulatortype_remove(struct bContext *C, struct Main *bmain, const char *idname); | 
					
						
							|  |  |  | void WM_manipulatortype_remove_ptr(struct bContext *C, struct Main *bmain, struct wmManipulatorType *wt); | 
					
						
							| 
									
										
										
										
											2017-06-08 05:27:14 +10:00
										 |  |  | void WM_manipulatortype_iter(struct GHashIterator *ghi); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-16 08:52:42 +10:00
										 |  |  | /* wm_manipulator_group_type.c */ | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  | struct wmManipulatorGroupType *WM_manipulatorgrouptype_find(const char *idname, bool quiet); | 
					
						
							|  |  |  | struct wmManipulatorGroupType *WM_manipulatorgrouptype_append(void (*wtfunc)(struct wmManipulatorGroupType *)); | 
					
						
							|  |  |  | struct wmManipulatorGroupType *WM_manipulatorgrouptype_append_ptr(void (*mnpfunc)(struct wmManipulatorGroupType *, void *), void *userdata); | 
					
						
							|  |  |  | bool WM_manipulatorgrouptype_remove(const char *idname); | 
					
						
							|  |  |  | void WM_manipulatorgrouptype_remove_ptr(struct wmManipulatorGroupType *wt); | 
					
						
							|  |  |  | void WM_manipulatorgrouptype_iter(struct GHashIterator *ghi); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | struct wmManipulatorGroupTypeRef *WM_manipulatorgrouptype_append_and_link( | 
					
						
							|  |  |  |         struct wmManipulatorMapType *mmap_type, | 
					
						
							|  |  |  |         void (*wtfunc)(struct wmManipulatorGroupType *)); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-16 08:52:42 +10:00
										 |  |  | /* wm_manipulator_map.c */ | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  | 
 | 
					
						
							|  |  |  | /* Dynamic Updates (for RNA runtime registration) */ | 
					
						
							|  |  |  | void WM_manipulatorconfig_update_tag_init(struct wmManipulatorMapType *mmap_type, struct wmManipulatorGroupType *wgt); | 
					
						
							| 
									
										
										
										
											2017-06-16 08:20:27 +10:00
										 |  |  | void WM_manipulatorconfig_update_tag_remove(struct wmManipulatorMapType *mmap_type, struct wmManipulatorGroupType *wgt); | 
					
						
							|  |  |  | void WM_manipulatorconfig_update(struct Main *bmain); | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-21 17:06:24 +10:00
										 |  |  | /* wm_maniulator_target_props.c */ | 
					
						
							| 
									
										
										
										
											2017-06-22 18:29:45 +10:00
										 |  |  | struct wmManipulatorProperty *WM_manipulator_target_property_array(struct wmManipulator *mpr); | 
					
						
							|  |  |  | struct wmManipulatorProperty *WM_manipulator_target_property_at_index( | 
					
						
							|  |  |  |         struct wmManipulator *mpr, int index); | 
					
						
							| 
									
										
										
										
											2017-06-21 17:06:24 +10:00
										 |  |  | struct wmManipulatorProperty *WM_manipulator_target_property_find( | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  |         struct wmManipulator *mpr, const char *idname); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-22 18:29:45 +10:00
										 |  |  | void WM_manipulator_target_property_def_rna_ptr( | 
					
						
							|  |  |  |         struct wmManipulator *mpr, const struct wmManipulatorPropertyType *mpr_prop_type, | 
					
						
							|  |  |  |         struct PointerRNA *ptr, struct PropertyRNA *prop, int index); | 
					
						
							| 
									
										
										
										
											2017-06-21 17:06:24 +10:00
										 |  |  | void WM_manipulator_target_property_def_rna( | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  |         struct wmManipulator *mpr, const char *idname, | 
					
						
							|  |  |  |         struct PointerRNA *ptr, const char *propname, int index); | 
					
						
							| 
									
										
										
										
											2017-06-22 18:29:45 +10:00
										 |  |  | 
 | 
					
						
							|  |  |  | void WM_manipulator_target_property_def_func_ptr( | 
					
						
							|  |  |  |         struct wmManipulator *mpr, const struct wmManipulatorPropertyType *mpr_prop_type, | 
					
						
							|  |  |  |         const struct wmManipulatorPropertyFnParams *params); | 
					
						
							| 
									
										
										
										
											2017-06-21 17:06:24 +10:00
										 |  |  | void WM_manipulator_target_property_def_func( | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  |         struct wmManipulator *mpr, const char *idname, | 
					
						
							|  |  |  |         const struct wmManipulatorPropertyFnParams *params); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-22 18:29:45 +10:00
										 |  |  | bool WM_manipulator_target_property_is_valid_any(struct wmManipulator *mpr); | 
					
						
							| 
									
										
										
										
											2017-06-21 17:06:24 +10:00
										 |  |  | bool WM_manipulator_target_property_is_valid( | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  |         const struct wmManipulatorProperty *mpr_prop); | 
					
						
							| 
									
										
										
										
											2017-06-21 17:06:24 +10:00
										 |  |  | float WM_manipulator_target_property_value_get( | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  |         const struct wmManipulator *mpr, struct wmManipulatorProperty *mpr_prop); | 
					
						
							| 
									
										
										
										
											2017-06-21 17:06:24 +10:00
										 |  |  | void  WM_manipulator_target_property_value_set( | 
					
						
							| 
									
										
										
										
											2017-06-17 02:31:21 +10:00
										 |  |  |         struct bContext *C, const struct wmManipulator *mpr, struct wmManipulatorProperty *mpr_prop, | 
					
						
							|  |  |  |         const float value); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-21 17:06:24 +10:00
										 |  |  | void WM_manipulator_target_property_value_get_array( | 
					
						
							| 
									
										
										
										
											2017-06-17 02:31:21 +10:00
										 |  |  |         const struct wmManipulator *mpr, struct wmManipulatorProperty *mpr_prop, | 
					
						
							| 
									
										
										
										
											2017-06-22 18:29:45 +10:00
										 |  |  |         float *value); | 
					
						
							| 
									
										
										
										
											2017-06-21 17:06:24 +10:00
										 |  |  | void WM_manipulator_target_property_value_set_array( | 
					
						
							| 
									
										
										
										
											2017-06-17 02:31:21 +10:00
										 |  |  |         struct bContext *C, const struct wmManipulator *mpr, struct wmManipulatorProperty *mpr_prop, | 
					
						
							| 
									
										
										
										
											2017-06-22 18:29:45 +10:00
										 |  |  |         const float *value); | 
					
						
							| 
									
										
										
										
											2017-06-17 02:31:21 +10:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-21 17:06:24 +10:00
										 |  |  | void WM_manipulator_target_property_range_get( | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  |         const struct wmManipulator *mpr, struct wmManipulatorProperty *mpr_prop, | 
					
						
							|  |  |  |         float range[2]); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-22 18:29:45 +10:00
										 |  |  | /* definitions */ | 
					
						
							|  |  |  | const struct wmManipulatorPropertyType *WM_manipulatortype_target_property_find( | 
					
						
							|  |  |  |         const struct wmManipulatorType *wt, const char *idname); | 
					
						
							|  |  |  | void WM_manipulatortype_target_property_def( | 
					
						
							| 
									
										
										
										
											2017-06-26 14:36:37 +10:00
										 |  |  |         struct wmManipulatorType *wt, const char *idname, int data_type, int array_length); | 
					
						
							| 
									
										
										
										
											2017-06-22 18:29:45 +10:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-10-07 16:34:55 +02:00
										 |  |  | /* -------------------------------------------------------------------- */ | 
					
						
							|  |  |  | /* wmManipulatorGroup */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  | /* Callbacks for 'wmManipulatorGroupType.setup_keymap' */ | 
					
						
							| 
									
										
										
										
											2016-10-07 16:34:55 +02:00
										 |  |  | struct wmKeyMap *WM_manipulatorgroup_keymap_common( | 
					
						
							| 
									
										
										
										
											2017-06-10 10:42:35 +10:00
										 |  |  |         const struct wmManipulatorGroupType *wgt, struct wmKeyConfig *config); | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  | struct wmKeyMap *WM_manipulatorgroup_keymap_common_select( | 
					
						
							| 
									
										
										
										
											2017-06-10 10:42:35 +10:00
										 |  |  |         const struct wmManipulatorGroupType *wgt, struct wmKeyConfig *config); | 
					
						
							| 
									
										
										
										
											2016-10-07 16:34:55 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* -------------------------------------------------------------------- */ | 
					
						
							|  |  |  | /* wmManipulatorMap */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | struct wmManipulatorMap *WM_manipulatormap_new_from_type( | 
					
						
							|  |  |  |         const struct wmManipulatorMapType_Params *mmap_params); | 
					
						
							| 
									
										
										
										
											2017-06-21 13:54:46 +10:00
										 |  |  | const struct ListBase *WM_manipulatormap_group_list(struct wmManipulatorMap *mmap); | 
					
						
							| 
									
										
										
										
											2016-10-07 16:34:55 +02:00
										 |  |  | void WM_manipulatormap_tag_refresh(struct wmManipulatorMap *mmap); | 
					
						
							|  |  |  | void WM_manipulatormap_draw(struct wmManipulatorMap *mmap, const struct bContext *C, const int drawstep); | 
					
						
							|  |  |  | void WM_manipulatormap_add_handlers(struct ARegion *ar, struct wmManipulatorMap *mmap); | 
					
						
							|  |  |  | bool WM_manipulatormap_select_all(struct bContext *C, struct wmManipulatorMap *mmap, const int action); | 
					
						
							|  |  |  | bool WM_manipulatormap_cursor_set(const struct wmManipulatorMap *mmap, struct wmWindow *win); | 
					
						
							| 
									
										
										
										
											2017-07-24 03:28:57 +10:00
										 |  |  | bool WM_manipulatormap_is_any_selected(const struct wmManipulatorMap *mmap); | 
					
						
							| 
									
										
										
										
											2017-07-24 15:28:14 +10:00
										 |  |  | bool WM_manipulatormap_minmax( | 
					
						
							|  |  |  |         const struct wmManipulatorMap *mmap, bool use_hidden, bool use_select, | 
					
						
							|  |  |  |         float r_min[3], float r_max[3]); | 
					
						
							| 
									
										
										
										
											2016-10-07 16:34:55 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  | /* -------------------------------------------------------------------- */ | 
					
						
							|  |  |  | /* wmManipulatorMapType */ | 
					
						
							| 
									
										
										
										
											2016-10-07 16:34:55 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  | struct wmManipulatorMapType *WM_manipulatormaptype_find( | 
					
						
							|  |  |  |         const struct wmManipulatorMapType_Params *mmap_params); | 
					
						
							|  |  |  | struct wmManipulatorMapType *WM_manipulatormaptype_ensure( | 
					
						
							|  |  |  |         const struct wmManipulatorMapType_Params *mmap_params); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | struct wmManipulatorGroupTypeRef *WM_manipulatormaptype_group_find( | 
					
						
							|  |  |  |         struct wmManipulatorMapType *mmap_type, | 
					
						
							|  |  |  |         const char *idname); | 
					
						
							|  |  |  | struct wmManipulatorGroupTypeRef *WM_manipulatormaptype_group_find_ptr( | 
					
						
							|  |  |  |         struct wmManipulatorMapType *mmap_type, | 
					
						
							|  |  |  |         const struct wmManipulatorGroupType *wgt); | 
					
						
							|  |  |  | struct wmManipulatorGroupTypeRef *WM_manipulatormaptype_group_link( | 
					
						
							|  |  |  |         struct wmManipulatorMapType *mmap_type, | 
					
						
							|  |  |  |         const char *idname); | 
					
						
							|  |  |  | struct wmManipulatorGroupTypeRef *WM_manipulatormaptype_group_link_ptr( | 
					
						
							|  |  |  |         struct wmManipulatorMapType *mmap_type, | 
					
						
							|  |  |  |         struct wmManipulatorGroupType *wgt); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void WM_manipulatormaptype_group_init_runtime( | 
					
						
							|  |  |  |         const struct Main *bmain, struct wmManipulatorMapType *mmap_type, | 
					
						
							|  |  |  |         struct wmManipulatorGroupType *wgt); | 
					
						
							|  |  |  | void WM_manipulatormaptype_group_unlink( | 
					
						
							|  |  |  |         struct bContext *C, struct Main *bmain, struct wmManipulatorMapType *mmap_type, | 
					
						
							|  |  |  |         const struct wmManipulatorGroupType *wgt); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void WM_manipulatormaptype_group_free(struct wmManipulatorGroupTypeRef *wgt); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* -------------------------------------------------------------------- */ | 
					
						
							| 
									
										
										
										
											2017-07-24 03:28:57 +10:00
										 |  |  | /* ManipulatorGroup */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* Add/Remove (High level API) */ | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  | 
 | 
					
						
							|  |  |  | void WM_manipulator_group_add_ptr_ex( | 
					
						
							|  |  |  |         struct wmManipulatorGroupType *wgt, | 
					
						
							|  |  |  |         struct wmManipulatorMapType *mmap_type); | 
					
						
							|  |  |  | void WM_manipulator_group_add_ptr( | 
					
						
							|  |  |  |         struct wmManipulatorGroupType *wgt); | 
					
						
							|  |  |  | void WM_manipulator_group_add(const char *idname); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void WM_manipulator_group_remove_ptr_ex( | 
					
						
							|  |  |  |         struct Main *bmain, struct wmManipulatorGroupType *wgt, | 
					
						
							|  |  |  |         struct wmManipulatorMapType *mmap_type); | 
					
						
							|  |  |  | void WM_manipulator_group_remove_ptr( | 
					
						
							|  |  |  |         struct Main *bmain, struct wmManipulatorGroupType *wgt); | 
					
						
							|  |  |  | void WM_manipulator_group_remove(struct Main *bmain, const char *idname); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-16 08:20:27 +10:00
										 |  |  | void WM_manipulator_group_remove_ptr_delayed_ex( | 
					
						
							|  |  |  |         struct wmManipulatorGroupType *wgt, | 
					
						
							|  |  |  |         struct wmManipulatorMapType *mmap_type); | 
					
						
							|  |  |  | void WM_manipulator_group_remove_ptr_delayed( | 
					
						
							|  |  |  |         struct wmManipulatorGroupType *wgt); | 
					
						
							|  |  |  | void WM_manipulator_group_remove_delayed(const char *idname); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-24 03:28:57 +10:00
										 |  |  | /* Utilities */ | 
					
						
							|  |  |  | void WM_manipulator_group_is_any_selected(const char *idname); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-15 20:48:24 +10:00
										 |  |  | #endif  /* __WM_MANIPULATOR_API_H__ */
 |