From 8cb749110f9545b06ea6e47e66a74b93a79c20d2 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sun, 29 Jul 2018 14:54:58 +0200 Subject: [PATCH] RSX Overlay: fix set text --- rpcs3/Emu/RSX/Overlays/overlays.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rpcs3/Emu/RSX/Overlays/overlays.h b/rpcs3/Emu/RSX/Overlays/overlays.h index 704a135a16..ce2c567d35 100644 --- a/rpcs3/Emu/RSX/Overlays/overlays.h +++ b/rpcs3/Emu/RSX/Overlays/overlays.h @@ -508,11 +508,11 @@ namespace rsx padding->set_size(1, 1); header_text->set_size(800, 40); - header_text->text = text1; + header_text->set_text(text1); header_text->set_font("Arial", 16); header_text->set_wrap_text(true); subtext->set_size(800, 40); - subtext->text = text2; + subtext->set_text(text2); subtext->set_font("Arial", 14); subtext->set_wrap_text(true); @@ -557,11 +557,11 @@ namespace rsx m_description->set_font("Arial", 20); m_description->set_pos(20, 37); - m_description->text = "Save Dialog"; + m_description->set_text("Save Dialog"); m_time_thingy->set_font("Arial", 14); m_time_thingy->set_pos(1000, 30); - m_time_thingy->text = date_time::current_time(); + m_time_thingy->set_text(date_time::current_time()); static_cast(m_description.get())->auto_resize(); static_cast(m_time_thingy.get())->auto_resize(); @@ -624,15 +624,15 @@ namespace rsx if (op >= 8) { - m_description->text = "Delete Save"; + m_description->set_text("Delete Save"); } else if (op & 1) { - m_description->text = "Load Save"; + m_description->set_text("Load Save"); } else { - m_description->text = "Save"; + m_description->set_text("Save"); } const bool newpos_head = listSet->newData && listSet->newData->iconPosition == CELL_SAVEDATA_ICONPOS_HEAD;