Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSX Overlay: fix save dialog text #4946

Merged
merged 1 commit into from
Jul 30, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions rpcs3/Emu/RSX/Overlays/overlays.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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<label*>(m_description.get())->auto_resize();
static_cast<label*>(m_time_thingy.get())->auto_resize();
Expand Down Expand Up @@ -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;
Expand Down