mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Add EditorStringNames singleton
This commit is contained in:
		
							parent
							
								
									fa3428ff25
								
							
						
					
					
						commit
						6de34fde27
					
				
					 176 changed files with 2549 additions and 2325 deletions
				
			
		|  | @ -156,7 +156,7 @@ void EditorPropertyFontMetaOverride::_notification(int p_what) { | |||
| 		case NOTIFICATION_ENTER_TREE: | ||||
| 		case NOTIFICATION_THEME_CHANGED: { | ||||
| 			if (button_add) { | ||||
| 				button_add->set_icon(get_theme_icon(SNAME("Add"), SNAME("EditorIcons"))); | ||||
| 				button_add->set_icon(get_editor_theme_icon(SNAME("Add"))); | ||||
| 			} | ||||
| 		} break; | ||||
| 	} | ||||
|  | @ -302,7 +302,7 @@ void EditorPropertyFontMetaOverride::update_property() { | |||
| 			hbox->add_child(prop); | ||||
| 			prop->set_h_size_flags(SIZE_EXPAND_FILL); | ||||
| 			Button *remove = memnew(Button); | ||||
| 			remove->set_icon(get_theme_icon(SNAME("Remove"), SNAME("EditorIcons"))); | ||||
| 			remove->set_icon(get_editor_theme_icon(SNAME("Remove"))); | ||||
| 			hbox->add_child(remove); | ||||
| 			remove->connect("pressed", callable_mp(this, &EditorPropertyFontMetaOverride::_remove).bind(remove, name)); | ||||
| 
 | ||||
|  | @ -552,7 +552,7 @@ void EditorPropertyOTFeatures::_notification(int p_what) { | |||
| 		case NOTIFICATION_ENTER_TREE: | ||||
| 		case NOTIFICATION_THEME_CHANGED: { | ||||
| 			if (button_add) { | ||||
| 				button_add->set_icon(get_theme_icon(SNAME("Add"), SNAME("EditorIcons"))); | ||||
| 				button_add->set_icon(get_editor_theme_icon(SNAME("Add"))); | ||||
| 			} | ||||
| 		} break; | ||||
| 	} | ||||
|  | @ -789,7 +789,7 @@ void EditorPropertyOTFeatures::update_property() { | |||
| 				hbox->add_child(prop); | ||||
| 				prop->set_h_size_flags(SIZE_EXPAND_FILL); | ||||
| 				Button *remove = memnew(Button); | ||||
| 				remove->set_icon(get_theme_icon(SNAME("Remove"), SNAME("EditorIcons"))); | ||||
| 				remove->set_icon(get_editor_theme_icon(SNAME("Remove"))); | ||||
| 				hbox->add_child(remove); | ||||
| 				remove->connect("pressed", callable_mp(this, &EditorPropertyOTFeatures::_remove).bind(remove, name_tag)); | ||||
| 
 | ||||
|  | @ -798,7 +798,7 @@ void EditorPropertyOTFeatures::update_property() { | |||
| 		} | ||||
| 
 | ||||
| 		button_add = EditorInspector::create_inspector_action_button(TTR("Add Feature")); | ||||
| 		button_add->set_icon(get_theme_icon(SNAME("Add"), SNAME("EditorIcons"))); | ||||
| 		button_add->set_icon(get_editor_theme_icon(SNAME("Add"))); | ||||
| 		button_add->connect("pressed", callable_mp(this, &EditorPropertyOTFeatures::_add_menu)); | ||||
| 		property_vbox->add_child(button_add); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 kobewi
						kobewi