mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	Add EditorStringNames singleton
This commit is contained in:
		
							parent
							
								
									fa3428ff25
								
							
						
					
					
						commit
						6de34fde27
					
				
					 176 changed files with 2549 additions and 2325 deletions
				
			
		|  | @ -43,7 +43,7 @@ void ResourcePreloaderEditor::_notification(int p_what) { | |||
| 	switch (p_what) { | ||||
| 		case NOTIFICATION_ENTER_TREE: | ||||
| 		case NOTIFICATION_THEME_CHANGED: { | ||||
| 			load->set_icon(get_theme_icon(SNAME("Folder"), SNAME("EditorIcons"))); | ||||
| 			load->set_icon(get_editor_theme_icon(SNAME("Folder"))); | ||||
| 		} break; | ||||
| 	} | ||||
| } | ||||
|  | @ -209,11 +209,11 @@ void ResourcePreloaderEditor::_update_library() { | |||
| 		ti->set_selectable(1, false); | ||||
| 
 | ||||
| 		if (type == "PackedScene") { | ||||
| 			ti->add_button(1, get_theme_icon(SNAME("InstanceOptions"), SNAME("EditorIcons")), BUTTON_OPEN_SCENE, false, TTR("Open in Editor")); | ||||
| 			ti->add_button(1, get_editor_theme_icon(SNAME("InstanceOptions")), BUTTON_OPEN_SCENE, false, TTR("Open in Editor")); | ||||
| 		} else { | ||||
| 			ti->add_button(1, get_theme_icon(SNAME("Load"), SNAME("EditorIcons")), BUTTON_EDIT_RESOURCE, false, TTR("Open in Editor")); | ||||
| 			ti->add_button(1, get_editor_theme_icon(SNAME("Load")), BUTTON_EDIT_RESOURCE, false, TTR("Open in Editor")); | ||||
| 		} | ||||
| 		ti->add_button(1, get_theme_icon(SNAME("Remove"), SNAME("EditorIcons")), BUTTON_REMOVE, false, TTR("Remove")); | ||||
| 		ti->add_button(1, get_editor_theme_icon(SNAME("Remove")), BUTTON_REMOVE, false, TTR("Remove")); | ||||
| 	} | ||||
| 
 | ||||
| 	//player->add_resource("default",resource);
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 kobewi
						kobewi