[Bf-blender-cvs] [0f443af] temp_widgets_c++_experiment: Minor Cleanup: Naming

Julian Eisel noreply at git.blender.org
Sun Dec 20 15:43:16 CET 2015


Commit: 0f443af8c9feb602665d27fef9cbdaf3c90295d8
Author: Julian Eisel
Date:   Sun Dec 20 15:42:59 2015 +0100
Branches: temp_widgets_c++_experiment
https://developer.blender.org/rB0f443af8c9feb602665d27fef9cbdaf3c90295d8

Minor Cleanup: Naming

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

M	source/blender/windowmanager/intern/widgets/wm_widgetmap.cc
M	source/blender/windowmanager/intern/widgets/wm_widgetmap.h
M	source/blender/windowmanager/intern/widgets/wm_widgets_c_api.cc

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

diff --git a/source/blender/windowmanager/intern/widgets/wm_widgetmap.cc b/source/blender/windowmanager/intern/widgets/wm_widgetmap.cc
index 299d26c..08b5da8 100644
--- a/source/blender/windowmanager/intern/widgets/wm_widgetmap.cc
+++ b/source/blender/windowmanager/intern/widgets/wm_widgetmap.cc
@@ -57,7 +57,7 @@ wmWidgetMap::wmWidgetMap()
 	
 }
 
-void wmWidgetMap::widgetmap_from_type(
+void wmWidgetMap::find_from_type(
         wmWidgetMap *wmap, const char *idname,
         const int spaceid, const int regionid,
         const bool is_3d)
diff --git a/source/blender/windowmanager/intern/widgets/wm_widgetmap.h b/source/blender/windowmanager/intern/widgets/wm_widgetmap.h
index 7b84b13..685fa06 100644
--- a/source/blender/windowmanager/intern/widgets/wm_widgetmap.h
+++ b/source/blender/windowmanager/intern/widgets/wm_widgetmap.h
@@ -46,7 +46,7 @@ public:
 	wmWidgetMapType *type;
 	ListBase widgetgroups;
 
-	void widgetmap_from_type(
+	void find_from_type(
 	        wmWidgetMap *wmap, const char *idname,
 	        const int spaceid, const int regionid,
 	        const bool is_3d);
diff --git a/source/blender/windowmanager/intern/widgets/wm_widgets_c_api.cc b/source/blender/windowmanager/intern/widgets/wm_widgets_c_api.cc
index 788ac59..60b9f85 100644
--- a/source/blender/windowmanager/intern/widgets/wm_widgets_c_api.cc
+++ b/source/blender/windowmanager/intern/widgets/wm_widgets_c_api.cc
@@ -49,7 +49,7 @@ wmWidgetMap *WM_widgetmap_from_type(
         const bool is_3d)
 {
 	wmWidgetMap *wmap = new wmWidgetMap;
-	wmap->widgetmap_from_type(wmap, idname, spaceid, regionid, is_3d);
+	wmap->find_from_type(wmap, idname, spaceid, regionid, is_3d);
 	return wmap;
 }




More information about the Bf-blender-cvs mailing list