[Bf-blender-cvs] [9db45a7] temp_widgets_files_refactor: Move wmWidgetMapType_Params struct to WM_widgets_types.h

Julian Eisel noreply at git.blender.org
Mon Feb 8 20:14:15 CET 2016


Commit: 9db45a741a2f950bfbf6f644091df31b26489143
Author: Julian Eisel
Date:   Mon Feb 8 20:13:41 2016 +0100
Branches: temp_widgets_files_refactor
https://developer.blender.org/rB9db45a741a2f950bfbf6f644091df31b26489143

Move wmWidgetMapType_Params struct to WM_widgets_types.h

===================================================================

M	source/blender/windowmanager/widgets/WM_widgets_api.h
M	source/blender/windowmanager/widgets/WM_widgets_types.h

===================================================================

diff --git a/source/blender/windowmanager/widgets/WM_widgets_api.h b/source/blender/windowmanager/widgets/WM_widgets_api.h
index 492f1a7..0039dd8 100644
--- a/source/blender/windowmanager/widgets/WM_widgets_api.h
+++ b/source/blender/windowmanager/widgets/WM_widgets_api.h
@@ -96,13 +96,6 @@ wmKeyMap *WM_widgetgroup_keymap_common(const struct wmWidgetGroupType *wgrouptyp
 /* -------------------------------------------------------------------- */
 /* wmWidgetMap */
 
-struct wmWidgetMapType_Params {
-	const char *idname;
-	const int spaceid;
-	const int regionid;
-	const int flag;
-};
-
 struct wmWidgetMapType *WM_widgetmaptype_find(const struct wmWidgetMapType_Params *wmap_params);
 struct wmWidgetMapType *WM_widgetmaptype_ensure(const struct wmWidgetMapType_Params *wmap_params);
 struct wmWidgetMap *WM_widgetmap_from_type(const struct wmWidgetMapType_Params *wmap_params);
diff --git a/source/blender/windowmanager/widgets/WM_widgets_types.h b/source/blender/windowmanager/widgets/WM_widgets_types.h
index c4161ef..ee9c400 100644
--- a/source/blender/windowmanager/widgets/WM_widgets_types.h
+++ b/source/blender/windowmanager/widgets/WM_widgets_types.h
@@ -106,6 +106,14 @@ typedef struct wmWidgetMap {
 } wmWidgetMap;
 
 
+struct wmWidgetMapType_Params {
+	const char *idname;
+	const int spaceid;
+	const int regionid;
+	const int flag;
+};
+
+
 /* -------------------------------------------------------------------- */
 
 /* wmWidget->flag */




More information about the Bf-blender-cvs mailing list