summaryrefslogtreecommitdiffstats
path: root/tools/editor/asset_library_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-12 18:27:27 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-12 18:28:12 -0300
commitda477b76a98ee7ca4ac16773d3baf1299e053da7 (patch)
tree8cd8611b43081d51df4a293ae0b27f0b8ce50fa2 /tools/editor/asset_library_editor_plugin.cpp
parenta971186c266de2df818a7f3dc063a49b0ad51bd8 (diff)
downloadredot-engine-da477b76a98ee7ca4ac16773d3baf1299e053da7.tar.gz
some class renames
TextureFrame -> TextureRect Patch9Frame -> NinePatchRect ColorFrame -> ColorRect
Diffstat (limited to 'tools/editor/asset_library_editor_plugin.cpp')
-rw-r--r--tools/editor/asset_library_editor_plugin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/editor/asset_library_editor_plugin.cpp b/tools/editor/asset_library_editor_plugin.cpp
index 11d7a2b58b..23e1ba9776 100644
--- a/tools/editor/asset_library_editor_plugin.cpp
+++ b/tools/editor/asset_library_editor_plugin.cpp
@@ -147,7 +147,7 @@ EditorAssetLibraryItem::EditorAssetLibraryItem() {
vb->add_child(rating_hb);
for(int i=0;i<5;i++) {
- stars[i]=memnew(TextureFrame);
+ stars[i]=memnew(TextureRect);
rating_hb->add_child(stars[i]);
}
price = memnew( Label );
@@ -296,7 +296,7 @@ EditorAssetLibraryItemDescription::EditorAssetLibraryItemDescription() {
desc_bg->add_child(description);
desc_bg->add_style_override("panel",get_stylebox("normal","TextEdit"));
- preview = memnew( TextureFrame );
+ preview = memnew( TextureRect );
preview->set_custom_minimum_size(Size2(640,345));
hbox->add_child(preview);
@@ -485,7 +485,7 @@ EditorAssetLibraryItemDownload::EditorAssetLibraryItemDownload() {
HBoxContainer *hb = memnew( HBoxContainer);
add_child(hb);
- icon = memnew( TextureFrame );
+ icon = memnew( TextureRect );
hb->add_child(icon);
VBoxContainer *vb = memnew( VBoxContainer );
@@ -555,7 +555,7 @@ EditorAssetLibraryItemDownload::EditorAssetLibraryItemDownload() {
void EditorAssetLibrary::_notification(int p_what) {
if (p_what==NOTIFICATION_READY) {
- TextureFrame *tf = memnew(TextureFrame);
+ TextureRect *tf = memnew(TextureRect);
tf->set_texture(get_icon("Error","EditorIcons"));
reverse->set_icon(get_icon("Updown","EditorIcons"));